-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.1 is not compatible with IE11 #28
4.0.1 is not compatible with IE11 #28
Comments
Hi. Thanks for notice but yes progressively dropping IE11 is happening in different tools to get prepared for nuxt3. You can add export default {
build: {
transpile: ['defu']
}
} |
That is indeed the fix I came up with, but given that nuxt 2 DOES support IE11, I would not expect to have to transpile dependencies of nuxt/nuxt plugins/modules etc. - I would expect them to work without that. |
Hi @simonbrent. I've checked nuxt core. Default app is not depending on defu but axios module is and it was an unwanted breaking change for breaking IE11 support. Updating |
@pi0 Thanks a lot, that fixed it. |
On my side, I had to put axios back to "5.13.1" on I'm no expert on webpack nor defu, so if someone relates to what I'm explaining, this is the way I managed to fix a Nuxt deployment where the following error happened:
Couldn't understand what was happening as since many major versions that defu doesn't use module.exports anymore, but transpile might be the reason that brings this bug back |
I'm not sure whether this bug report belongs here, or in the Nuxt repo, or in the @nuxtjs/axios repo...
With the latest version of Nuxt (2.15.5) and @nuxtjs/axios (5.13.1), an error is thrown when visiting a page in IE11, because defu is included in _nuxt/vendors/app.js, with the following code present (from node_modules/defu/dist/defu.mjs):
To reproduce:
yarn add install @nuxtjs/axios
'@nuxtjs/axios'
tomodules
in nuxt.config.jsyarn dev
oryarn build && yarn start
The text was updated successfully, but these errors were encountered: