We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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的时候,是在用webpack打包的时候使用的,比如这样子。
后来因为要编译Object.assgin(这里还踩过一次坑,见 #3 ),把所有babel参数提出来放在.babelrc文件中,比如像这样就可以了。
.babelrl 文件 { "presets":["react","es2015","stage-0"], "plugins": ["transform-object-assign"] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
刚刚开始接触babel的时候,是在用webpack打包的时候使用的,比如这样子。
后来因为要编译Object.assgin(这里还踩过一次坑,见 #3 ),把所有babel参数提出来放在.babelrc文件中,比如像这样就可以了。
The text was updated successfully, but these errors were encountered: