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
.output/public/_nuxt/entry-legacy.c81f3a42.js will include code that does not run in IE 9:
varappConfig=window?.__NUXT__?.config.app||{}
Describe the bug
nuxi build generates ES5-incompatible javascript even if @vitejs/plugin-legacy is configured with IE 9 target. The plugin itself works fine, the problem is apparently that Nuxt-injected code is not processed with that plugin.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v16.13.0
2.16.0-27358576.777a4b7f
[email protected]
vite
bridge
,hooks
,buildModules
-
@nuxt/[email protected]
Reproduction
Create empty project with this
nuxt.config.js
:Then run
nuxi build
..output/public/_nuxt/entry-legacy.c81f3a42.js
will include code that does not run in IE 9:Describe the bug
nuxi build
generates ES5-incompatible javascript even if@vitejs/plugin-legacy
is configured with IE 9 target. The plugin itself works fine, the problem is apparently that Nuxt-injected code is not processed with that plugin.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: