-
Notifications
You must be signed in to change notification settings - Fork 21
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
Error in IE: SCRIPT1006: Expected ')' #15
Comments
You need to add this plugin to your Babel config : |
I'm fairly new to Vue and created a new project with the latest vue CLI and the babel.config.js file appears as below. How do I add that plugin to it? Also, is the transpile piece required, I've never used Nuxt before nor do we use it for our apps. Will just adding that plugin to the config alone not just work?
|
The problem likely comes from a plugin which isn't transpiled for old browsers. Babel skips node_modules dependencies. Firstly you need to find which. Secondly, I can't test with Vue.js but you probably need to add a loader to transpile your plugin, as explained here : https://medium.com/thetiltblog/how-to-transpile-es6-vue-plugins-with-webpack-c5d4286a7737 |
This was probably fixed in the last release. I've updated the build pipeline. |
I hate to even note this, but we unfortunately have a requirement to use IE 10+ in our app and we're really fond of this package, but it doesn't seem to work in IE 10+. We get the following error in the Console: SCRIPT1006: Expected ')'. Is IE 10+ not supported? The CodePen example on the Code page fails as well.
The text was updated successfully, but these errors were encountered: