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

babel 编译警告 #5

Closed
sunchenguang opened this issue Dec 11, 2016 · 2 comments
Closed

babel 编译警告 #5

sunchenguang opened this issue Dec 11, 2016 · 2 comments

Comments

@sunchenguang
Copy link

[BABEL] Note: The code generator has deoptimised the styling of "F:/React/react-cnode-master/node_modules/.4.17.2@lodash/lodash.js" as it exceeds the max of "500KB".

完全按你的README 文件走的,编译会报这个警告。应该是webpack文件没有配置好,麻烦查看。

@lzxb
Copy link
Owner

lzxb commented Dec 11, 2016

我没测试,你再试试,修改了 loader: 'babel?presets=es2015&compact=false',

可以参考这里的说明:https://babeljs.io/docs/usage/api/

@sunchenguang
Copy link
Author

没有警告了

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