You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oliviertassinari
changed the title
[pigment-css][vite] missing common babel plugin(s) & extremely slow
[pigment-css][vite] missing common babel plugin(s)
Apr 14, 2024
Steps to reproduce
import * as something from "example.ts"
namespaces
Current behavior
Currently, you must pass to the vite plugin:
Expected behavior
The babel plugin
@babel/plugin-transform-export-namespace-from
should be added by default.In:
https://github.com/mui/material-ui/blob/f3cb496c999acbc8f19533e38df20be12e56d059/packages/pigment-css-vite-plugin/src/vite-plugin.ts#L194
Context
Related issues:
babel
toswc
Anber/wyw-in-js#69Your environment
npx @mui/envinfo
Search keywords: pigment barrel
The text was updated successfully, but these errors were encountered: