Skip to content

How to avoid including types in dist that are not part of src/lib #619

Description

@MartinMalinda

Repo: https://github.com/MartinMalinda/vue-concurrency

In my dist, besides the actual bundles, I also have a src folder with type files (index.d.ts, Task.d.ts and so on). That seems correct and much needed.

But besides that there's also typing being created for the whole __tests__ and test-utils folders and also there's jest.config.d.ts. These things probably shouldn't be included as part of the main bundle.

Is there a way to avoid it? Maybe it's some silly mistake on my side.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions