Skip to content
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

请问为什么dist里的js还有ES6代码呢 #11

Open
shady-xia opened this issue Mar 13, 2019 · 2 comments
Open

请问为什么dist里的js还有ES6代码呢 #11

shady-xia opened this issue Mar 13, 2019 · 2 comments

Comments

@shady-xia
Copy link

是没有做babel吗?

@stalkercn
Copy link

你说的是SSR的部分吗 服务端支持所有的语法 不需要babel

@shady-xia
Copy link
Author

vue-context-menu.js里面有用到const。当时用ParallelUglifyPlugin的"uglifyJS"打包的时候遇到es6的代码会报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants