You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When declaration is set to true in tsconfig.json d.ts files should be generated, either as files in the dist-folder, in a tmp folder or via DeclarationBundlerPlugin.
Actual Behaviour
No d.ts files are generated. When debugging the DeclarationBundlerPlugin no d.ts file are emitted. compilation.assets doesn't include any d.ts files.
When running "npm run tsc" files are generated.
No error messages appear.
Steps to Reproduce the Problem
npm run webpack -- --config config/webpack.prod.js --progress --profile --bail --display-entrypoints
Location of a Minimal Repository that Demonstrates the Issue.
Private repo which can't be shared. Please see config files instead:
If you're using happypack then you're running in transpileOnly mode. Declaration files aren't generated by the Typescript compiler in this mode - I think there are workarounds which have been discussed on one of the issues here. Have a little explore and you should find it.
Expected Behaviour
When declaration is set to true in tsconfig.json d.ts files should be generated, either as files in the dist-folder, in a tmp folder or via DeclarationBundlerPlugin.
Actual Behaviour
No d.ts files are generated. When debugging the DeclarationBundlerPlugin no d.ts file are emitted. compilation.assets doesn't include any d.ts files.
When running "npm run tsc" files are generated.
No error messages appear.
Steps to Reproduce the Problem
npm run webpack -- --config config/webpack.prod.js --progress --profile --bail --display-entrypoints
Location of a Minimal Repository that Demonstrates the Issue.
Private repo which can't be shared. Please see config files instead:
tsconfig.json
config/webpack.base.js
config/webpack.prod.js
The text was updated successfully, but these errors were encountered: