-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
Does not load in IE 11 due to syntax error #251
Comments
Thank you for this report.
I will look into it. |
Thank you! My use case is that it is just so handy to develop using the "Examples" section of the docs, so it saves time if you can do simple cross-browser testing using the docs themselves.
…On January 8, 2019 11:53:00 AM PST, "Barthélémy Ledoux" ***@***.***> wrote:
Thank you for this report.
I did not think of checking compatibility with IE 11 with the last
releases.
You just made me think of a use case fro it:
- What if we want to use vsg to run compatibility tests of components.
I will look into it.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#251 (comment)
|
Hi @pshendry, The solution I found is a little bit more hands on that I would have liked. The issue you are facing with IE 11 is that babel does not compile any of the files in node_modules. And some modules chose to remain es6 compatible only. In order to fix your build you will have to track down those modules used by vsg and include them to your babel-loader config. You will find houw to do it in this issue Tell me if it works. |
Thanks for the help. I think I may have gotten closer, but still no luck getting it to run in IE. In a Vue CLI project, the transpiling can be done using the
module.exports = {
transpileDependencies: [
"buble",
"regexpu-core",
"unicode-match-property-ecmascript",
"unicode-match-property-value-ecmascript",
], I built up that list of packages one by one by following the error trail, but at this point I get an error like this:
Basically that I'm stumped as to how to get any further. If IE 11 isn't supported by this library feel free to close the issue I guess. |
Hello @pshendry, Evan works on a mac. Therefore all his slashes are normal. yours are backslashes. I fought all day with webpack today about it. There is an issue in their regular expression that assumes your OS to be a Mac therefore all Bart |
* docs(examples): make basic example render on ie 11 * docs(examples): add missing polyfill for ie11 examples closes #251
See minimum repro repository (created using
vue create temp
andvue add styleguidist
).Run
npm run styleguide
, open the style guide in IE 11, and observe that it fails to load with a syntax error:The line described in the console error is this one:
I would guess this some sort of dependency issue, but I'm not sure how to track it down further.
The text was updated successfully, but these errors were encountered: