-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Build does not work in IE11, .js files don't get transpiled #1990
Comments
Hi @kouts Did you check if there was already an existing issue that could solves your problem? Please check these issues that might solve your problem. |
Thank you @kefranabg, I have already searched for a workaround but haven't managed to find a solution yet. In my opinion, VuePress should work OOB with IE11 without any workaround as also stated by @yyx990803 here. |
Ran into this as well. Seeing arrow functions not getting transpiled in the app bundle |
Digging a little more into this it seems that the regex defined here doesn't match anything and this results in files not getting transpiled.
transpiles the files but polyfills required by IE11 seem that are not present. |
#2064 can partially fix this issue. But I found Related: |
Bug report
Vuepress site does not work on IE11, console throws syntax and invalid character errors.
By examining the generated .js files it seems that they don't get transpiled for IE11, e.g there are
still arrow functions present etc.
Steps to reproduce
You can reproduce it with a default Vuepress installation
and you can also view it here
Check for example files generated inside the js dir
What is expected?
Vuepress to be compatible with IE11
What is actually happening?
Vuepress is not compatible with IE11, js files don't get transpiled.
Other relevant information
npx vuepress info
in my VuePress project:System:
OS: Linux 3.16 Debian GNU/Linux 8 (jessie) 8 (jessie)
CPU: (2) x64 Intel(R) Core(TM) i7-4712MQ CPU @ 2.30GHz
Binaries:
Node: 9.11.2 - ~/.nvm/versions/node/v9.11.2/bin/node
Yarn: Not Found
npm: 5.6.0 - ~/.nvm/versions/node/v9.11.2/bin/npm
Browsers:
Chrome: Not Found
Firefox: Not Found
npmPackages:
@vuepress/core: 1.2.0
@vuepress/theme-default: 1.2.0
vuepress: ^1.2.0 => 1.2.0
npmGlobalPackages:
vuepress: Not Found
The text was updated successfully, but these errors were encountered: