Replies: 2 comments
-
Thanks for the repro. This was fixed in 6e2e0a4. I will do a release tomorrow |
Beta Was this translation helpful? Give feedback.
0 replies
-
Released as v4.0.4! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I set the configuration related to the babel preset in the config file(babel.config.json) and build it, the polyfill code is inserted well
However, when I write directly a configuration related to the babel and build it without using the configFile, it doesn't insert the polyfill code
However, polyfill is applied to dev-server well
Why can't the polyfill code be inserted when I build?
Here is Sample code
https://stackblitz.com/edit/vitejs-vite-fth3nu?file=babel.config.json,vite.config.js
Try testing by changing the comment & yarn build
and
Comparison of build results
https://www.diffchecker.com/QqcVUFhQ/
Beta Was this translation helpful? Give feedback.
All reactions