Storybook: Version 6.1.0-alpha.0 doesn鈥檛 work in IE11 because of highlight dependence

Created on 7 Sep 2020  路  7Comments  路  Source: storybookjs/storybook

Describe the bug

Stroybook 6.1.0-alpha.0 depends on react-syntax-highlighter 13.2.1 which depends on highlight ^10.1.1 and lowlight ^1.14.0 dependencies but according to the changelog of highlight IE11 will no longer be supported

"We're now using ES2015 features in the codebase. Internet Explorer 11 is no longer supported."

Screenshots
image
image (1)

bug compatibility with other tools core ie11

Most helpful comment

@tooppaaa and @ndelangen worked on recompiling some storybook dependencies for IE compatibility. Hopefully they can lend a hand here.

All 7 comments

would it be possible to understand if a polyfill is needed for ie11 or something?
Could you post the errors in english as well please?

BTW the upgrade was necessary because of a security issue.

Its syntax error because IE 11 cant interpret classes

might need to pass the library by the babel config, maybe there's a place we can add that in storybook babel config

@shilman any hint where that could be?

@tooppaaa and @ndelangen worked on recompiling some storybook dependencies for IE compatibility. Hopefully they can lend a hand here.

If someone has a chance to look at it before me, probably a dependency needs to be added to this regexp:
https://github.com/storybookjs/storybook/blob/next/lib/core/src/server/common/es6Transpiler.js

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dnlsandiego picture dnlsandiego  路  3Comments

MrOrz picture MrOrz  路  3Comments

ZigGreen picture ZigGreen  路  3Comments

purplecones picture purplecones  路  3Comments

levithomason picture levithomason  路  3Comments