Update to v6.1.0 has caused IE11 to no longer work.
See original GitHub issueWhen something isn’t working, include:
- Your style guide config (
styleguide.config.js
).
const path = require('path');
module.exports = {
title: 'MFL React Components',
components: 'src/components/**/*.tsx',
skipComponentsWithoutExample: true,
ignore: [],
require: [
path.resolve(__dirname, './styleguide/setup.js'),
path.join(__dirname, './node_modules/enhanced-theme/enhanced/mfl.scss'),
path.join(__dirname, './src/main.scss')
],
styleguideComponents: {
Wrapper: path.join(__dirname, './styleguide/Wrapper')
},
assetsDir: 'Content'
};
- Webpack version.
webpack@3.10.0
- Operating system, browser and version if it’s a layout bug.
Windows 10 64 bit, IE11 only. (chrome, firefox, edge are ok).
The totally unmodified styleguidist example https://github.com/styleguidist/example produces same problem in IE11 locally.
There error recieved in IE11 is.
SCRIPT1002: Syntax Error
main.bundle.js (50619,39)
A screen capture of what is at the location in main.bundle.js follows.
Reverting to styleguidist 6.0.33 allows the example to work.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:21 (10 by maintainers)
Top Results From Across the Web
Problems after installing Internet Explorer 11 - Microsoft Learn
Possible solutions to the problems you might encounter after installing IE11, such as crashing or seeming slow, getting into an unusable ...
Read more >Room Alert 3E Firmware Release Notes - AVTECH
Resolved an issue that caused SNMP Queries and Trap to not work for Temperature and Analog Sensors. v1.3.1. September 5, 2014. AVTECH Device...
Read more >CHANGELOG | Hydejack
The blog layout now works without pagination, simply showing all posts on a single page when the jekyll-pagination plugin is not found. The...
Read more >Atlantic release notes - Pixel Union
We have updated the currency selector to use country names in addition to ... The home page slideshow will no longer cause the...
Read more >drupal 10.0.0-beta1
Internet Explorer 11 is not supported in Drupal 10 since CKEditor 5 ... Core developers must update to at least Composer 2.3.6 to...
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 Free
Top 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
I’m unable to view styleguidist in IE11. Any pointers? The workaround here doesn’t work for me either: https://github.com/styleguidist/react-styleguidist/issues/764#issuecomment-357543200
Possibly related? https://github.com/Rich-Harris/buble/pull/154
UPDATE:
Styleguidist itself was not the problem, rather it was my own components which were not transpiled appropriately for IE11. Solution, make sure to use @babel/present-env along with a browserslist that includes IE11:
webpack config:
package.json (example):
I think it should be fixed now after the Buble update. Feel free to reopen if you still have this issue.