Skip to content

Support @babel/preset-env's bugfixes option #5301

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
Djaler opened this issue Mar 23, 2020 · 1 comment · Fixed by #5322
Closed

Support @babel/preset-env's bugfixes option #5301

Djaler opened this issue Mar 23, 2020 · 1 comment · Fixed by #5322
Labels
intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome.

Comments

@Djaler
Copy link

Djaler commented Mar 23, 2020

What problem does this feature solve?

@vue/cli-plugin-babel/preset should allow to control bugfixes option of @babel/preset-env, cause it may reduce bundle size.

What does the proposed API look like?

Just add the same flag to vue-cli babel plugin

@haoqunjiang haoqunjiang added the intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. label Mar 23, 2020
haoqunjiang added a commit to haoqunjiang/vue-cli that referenced this issue Mar 26, 2020
Per the discussion at babel/babel#11083,
it should not be considered a breaking change

Closes vuejs#5301
Closes vuejs#4848
haoqunjiang added a commit that referenced this issue Mar 31, 2020
Per the discussion at babel/babel#11083,
it should not be considered a breaking change

Closes #5301
Closes #4848
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants