Doesn't work in IE11 (even when using core-js)
See original GitHub issuethe error is:
Syntax error
I have
import 'core-js';
at the top of my file
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Angular polyfills core-js not working as expected on IE11
All your polyfills should go before any imports in polyfills.ts file: * * This file is divided into 2 sections: * 1. Browser...
Read more >Support older Microsoft browsers and Office versions
Internet Explorer 11 doesn't support JavaScript versions later than ES5. If you want to use the syntax and features of ECMAScript 2015 or...
Read more >Is your Vue app not working in IE 11? Here's how to fix it.
The main reason why your Vue app is breaking in IE11 is because the browser does not support modern JavaScript syntax.
Read more >How To Fix Your Angular App When It's Not Working in IE11
IE11 needs polyfills since it does not support ES2015 and later features. The polyfills.ts file, which is present in every Angular project, is...
Read more >IE11 and the Missing Polyfills - DEV Community
However it would not work for IE11, that's a sad but obvious fact. ... use @babel/polyfill or underlaying core-js to make your application ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Jossnaz, I had the same issue and I found out that I could solve that by using, along with corejs, a different import source for my stores:
import { create } from 'zustand/index.cjs'
Could you please try that and tell us if it solves?
I added, apart from the polyfills, this:
and it seems to work.
thanks a lot, would be nice to have it as well in the readme