Skip to content

Commit 08a5947

Browse files
docs: update link to DeclarationBundlerPlugin in Declarations (.d.ts) section in the README (#1549)
The existing link points to a plugin that is many years old and does not work with modern versions of webpack. This updated fork works with webpack 5.
1 parent 31c3a5e commit 08a5947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ To output declaration files (.d.ts), you can set "declaration": true in your tsc
230230

231231
If you use ts-loader with "transpileOnly": true along with [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin), you will need to configure fork-ts-checker-webpack-plugin to output definition files, you can learn more on the plugin's documentation page: https://github.com/TypeStrong/fork-ts-checker-webpack-plugin#typescript-options
232232

233-
To output a built .d.ts file, you can use the [DeclarationBundlerPlugin](https://www.npmjs.com/package/declaration-bundler-webpack-plugin) in your webpack config.
233+
To output a built .d.ts file, you can use the [DeclarationBundlerPlugin](https://www.npmjs.com/package/types-webpack-bundler) in your webpack config.
234234

235235
### Failing the build on TypeScript compilation error
236236

0 commit comments

Comments
 (0)