Skip to content

why not move babel.config.js to package.json when Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In package.json #2985

Open
@lovetingyuan

Description

@lovetingyuan

What problem does this feature solve?

As now, when I choose in package.json for question: Where do you prefer placing config for Babel, PostCSS, ESLint, etc., the babel config is not in package.json but output as babel.config.js .
I am not clear is it a bug or just be on purpose. Could you please tell me the reason if it is set up on purpose. thanks a lot!

Vue CLI v3.1.3

What does the proposed API look like?

add "babel" field in package.json to place babel config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions