Skip to content

only 1 type declaration in the bundle when I save a file during watch mode #16

@ln613

Description

@ln613

when I watch in dev mode with webpack, when I change a source file and save, typescript-declaration-webpack-plugin only generates the type declaration for the file I changed, I tried to set removeMergedDeclarations = false and webpack config output.clean = false, doesn't help. I guess it's because ts-loader re-emits the type declaration for that file only. How do I set it up in order to regenerate the whole type declaration bundle when I save a single file in watch mode?

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