From 8b6f65181dcfb89f743e6d7d070f2db4b009ca3c Mon Sep 17 00:00:00 2001 From: ShuiRuTian <158983297@qq.com> Date: Mon, 30 Dec 2019 23:24:27 +0800 Subject: [PATCH] [webpack] Remove properties that has been removed (#40877) * remove Module.preLoaders, Module.postLoaders and Configuration.debug. These properties has been removed by webpack2. --- types/webpack/index.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 91b5297b50..d15a516f97 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -113,8 +113,6 @@ declare namespace webpack { /** Enter watch mode, which rebuilds on file change. */ watch?: boolean; watchOptions?: Options.WatchOptions; - /** Switch loaders to debug mode. */ - debug?: boolean; /** Include polyfills or mocks for various node stuff */ node?: Node | false; /** Set the value of require.amd and define.amd. */ @@ -265,10 +263,6 @@ declare namespace webpack { } interface Module { - /** A array of applied pre loaders. */ - preLoaders?: RuleSetRule[]; - /** A array of applied post loaders. */ - postLoaders?: RuleSetRule[]; /** A RegExp or an array of RegExps. Don’t parse files matching. */ noParse?: RegExp | RegExp[] | ((content: string) => boolean); unknownContextRequest?: string;