question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IE11 compatibility

See original GitHub issue

It seems the IE11 compatibility is broken with 5.0.10-beta .

I use webpack to bundle my app and, looking at your rollup config, I think it’s probably because webpack use the lib package.json module field when possible.

https://github.com/krisk/Fuse/blob/aa636e62ac2572c879d1fdf4e1d3e50cfc450da7/package.json#L9

If I understand correctly your rollup config, it outputs ES6 (both ES6 modules and other ES6 features) for the esm bundle. https://github.com/krisk/Fuse/blob/aa636e62ac2572c879d1fdf4e1d3e50cfc450da7/scripts/configs.js#L61-L66

Should not the esm bundle be ES5 with ES6 module import/export for tree shaking like explained for example here?

Something like this for the tsconfig.json

{
  "compilerOptions": {
    "module": "es6",
    "target": "es5",
...

Let me know if I can help with a PR 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
guillaumewuipcommented, Apr 3, 2020

#381 should fix this

0reactions
slorbercommented, Dec 4, 2020

agree, this is still a problem to me and not sure which version > 5.x I can use with a fix for IE11 / Edge 18.

Afaik the only solution is to ask webpack’s babel loader to transpile this lib

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix site display issues with Compatibility View in Internet ...
When a site is incompatible with Internet Explorer 11 for Windows 7, you'll see the Compatibility View button Compatibility View button in the...
Read more >
Using Compatibility View in Internet Explorer 11 - Pitt IT
Using Compatibility View in Internet Explorer 11 · 1. Click the Settings Icon on the address bar in your web browser. · 2....
Read more >
How to enable compatibility view in Internet Explorer 11 (IE11)
Click on the Settings icon in the top right corner of IE11: · Select the Compatibility View Settings item in the drop-down menu....
Read more >
Internet Explorer 11 compatibility with Network Manager GUIs
Complete the following steps to ensure compatibility with Network Manager GUIs. In your Internet Explorer 11 browser, click Tools > Compatibility View settings...
Read more >
How to turn off compatibility View / Mode in Microsoft IE10 and ...
Resolution · Open up Internet Explorer (IE 11) · Press the Alt key on your keyboard, this will make a menu bar appear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found