Skip to content

Separate tsconfig.json for src and test/unit folders #5858

Open
@Mikilll94

Description

@Mikilll94

What problem does this feature solve?

When scaffolding a new project using vue-cli it would be nice to have a separate tsconfig.json file for "src" and "test/unit" folders.

Because right now there is one tsconfig.json file which shares the TypeScript configuration both for unit tests and application code.

Thanks to that feature, we wouldn't need to i.e. import Jest type in the application tsconfig.json.

What does the proposed API look like?

When scaffolding a new project there should a separate tsconfig.json for app code and unit tests.

As an example, Vuetify uses multiple tsconfig.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    intend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions