A minimalistic repo that mimics my current project to reproduce errors in IE11 that seem to be related to namespaced store.
When a module folder in store is included in the dev build, it leads to the current error in IE 11.
These errors expand to followings.
script 1002
script 5007
However, when the modules folder is deleted, the error disappears. The weirdest part is that I do not even load the modules folder in store/index.js
.
I use babel-polyfill
and event-source-polyfill
in the nuxt.config.js
, however that did not solve the issue.
- Install dependencies and open
http://localhost:3000/cs
in IE 11 npm run dev
- The errors should pop-up in the console
- Remove modules folder from store
- Stop the dev build and run it again. Open a new window in the browser to assure nothing is cached
- The errors should not appear this time