Skip to content

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

Closed
@academici

Description

@academici

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
        }]
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions