diff --git a/types/webpack-chain/index.d.ts b/types/webpack-chain/index.d.ts index dd7b0b0d63..fc9e2e158c 100644 --- a/types/webpack-chain/index.d.ts +++ b/types/webpack-chain/index.d.ts @@ -83,6 +83,7 @@ declare namespace Config { class Module extends ChainedMap { rules: TypedChainedMap; rule(name: string): Rule; + noParse: TypedChainedSet; } class Output extends ChainedMap { diff --git a/types/webpack-chain/webpack-chain-tests.ts b/types/webpack-chain/webpack-chain-tests.ts index f955decd38..ac40e70624 100644 --- a/types/webpack-chain/webpack-chain-tests.ts +++ b/types/webpack-chain/webpack-chain-tests.ts @@ -83,6 +83,7 @@ config .end() .module + .noParse.add(/.min.js$/).end() .rule('compile') .test(/.js$/) .include