Skip to content

babel-preset-app 问题 #946

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

Closed
zhfish opened this issue Mar 6, 2018 · 1 comment
Closed

babel-preset-app 问题 #946

zhfish opened this issue Mar 6, 2018 · 1 comment

Comments

@zhfish
Copy link

zhfish commented Mar 6, 2018

What problem does this feature solve?

babel-preset-app很方便,常用的设置都不用管了, 能否出一个官方的babel-preset-app-es6?
因为对公的开发,我们会强制要求用chrome 61.0以上,所以之前是对babel的配置做了改造,让他可以支持原声es6
我觉得应该也有别的同学有这种需求

What does the proposed API look like?

{
"plugins": [
"transform-runtime",
"transform-object-rest-spread",
"syntax-dynamic-import",
"transform-decorators-legacy",
"transform-class-properties"
],
"env": {
"production": {
"presets": ["minify"]
}
}
}

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