-
Notifications
You must be signed in to change notification settings - Fork 162
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
报错了,不知道为啥... #21
Comments
使用了还有es5-shime的标准用法 new webpack.optimize.UglifyJsPlugin({ |
可以看到报错内容吗? 另外可以加上 sourceMap,这样可以看到压缩前的代码(不过好像 IE8 还不支持),详见:https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin |
看上去是 default 的问题。 default 是 es3 的关键字,不能直接作为 object 的 key,否则会在 IE8 里面报错。 可能需要 es3ify-loader 相关 issue:#1 |
Thank you! |
You are welcome! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: