Skip to content

webpack hangs when declaration:true without creating d.ts files #185

@yaroslavya

Description

@yaroslavya

I cloned this repo: https://github.com/adrianhall/example-typescript-webpack
then npm install and if I make npm run prepublish it generates the js files normally, but if I change the declaration to declaration:true in tsconfig.json then npm run prepublish just hangs, right after it generates the .js files. For now whatever I try the ts-loader doesn't generate the d.ts file for my bundle and always hangs after it generated the js files.

I saw the similar issues were fixed some time ago, like with this pull request: https://github.com/TypeStrong/ts-loader/pull/175, but in spite the version was 0.8.2 it doesn't work for me at all

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