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

Add experimental preset "@babel/preset-modules" for modern build #4848

Closed
academici opened this issue Nov 15, 2019 · 1 comment · Fixed by #5322
Closed

Add experimental preset "@babel/preset-modules" for modern build #4848

academici opened this issue Nov 15, 2019 · 1 comment · Fixed by #5322
Labels
contribution welcome feature request intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: babel scope: cli-service build

Comments

@academici
Copy link

What problem does this feature solve?

The result is improved bundle size and performance, while supporting the same browsers.

Babel preset link

What does the proposed API look like?

{
    "presets": [
        ["@vue/babel-preset-app", {
           "presetModules": true
        }]
    ]
}
@Djaler
Copy link

Djaler commented Jan 23, 2020

Hey, so what about it?

@haoqunjiang haoqunjiang added contribution welcome intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. labels Feb 25, 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
contribution welcome feature request intend to implement The team has the intention to implement this feature at some point. Contribution is also welcome. scope: babel scope: cli-service build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants