-
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
showcase: DEV build not working in Internet Explorer due to "Syntax error" in polyfills.bundle.js #900
Comments
The issue is caused by this transitive dependencies on
|
Apparently, |
Digging a bit more, the issue seems to be caused by transitive dependencies in |
…EV to prevent breaking support for IE 11 ISSUES CLOSED: #900
To solve this issue, we will use the babel-loader for Webpack to transpile to ES5 only certain libs and ONLY in DEV. This is not necessary on PROD at all since the conflicting libs are from Webpack on DEV. On top of that, we use Typescript compiler targeting ES5 Javascript and also UglifyJS to minify ES5 code (throws an exception in case of ES6 code). |
I'm submitting a...
Current behavior
The Showcase app fails to start in Internet Explorer.
Expected behavior
The Showcase should run in any ever-green browser as well as in Internet Explorer.
Minimal reproduction of the problem with instructions
npm run showcase
Going to the line of code from the polyfills bundle, the code causing the error is this line from the ansi-regex library:
What is the motivation / use case for changing the behavior?
Cross browser compatibility of Stark Showcase.
Environment
The text was updated successfully, but these errors were encountered: