diff --git a/webpack/index.d.ts b/webpack/index.d.ts index 5def0965ff..c077ef232a 100644 --- a/webpack/index.d.ts +++ b/webpack/index.d.ts @@ -492,7 +492,7 @@ declare namespace webpack { /** * dependencies namespace */ - dependencies: Dependencies; + dependencies: {}; /** * Replace resources that matches resourceRegExp with newResource. * If newResource is relative, it is resolve relative to the previous resource. @@ -613,13 +613,6 @@ declare namespace webpack { AggressiveMergingPlugin: optimize.AggressiveMergingPluginStatic; } - interface Dependencies { - /** - * Support Labeled Modules. - */ - LabeledModulesPlugin: dependencies.LabeledModulesPluginStatic; - } - interface DirectoryDescriptionFilePluginStatic { new (file: string, files: string[]): Plugin; } @@ -1041,9 +1034,6 @@ declare namespace webpack { } namespace dependencies { - interface LabeledModulesPluginStatic { - new (): Plugin; - } } namespace compiler { diff --git a/webpack/webpack-tests.ts b/webpack/webpack-tests.ts index a536a2713f..9515f6045b 100644 --- a/webpack/webpack-tests.ts +++ b/webpack/webpack-tests.ts @@ -345,7 +345,6 @@ plugin = new CommonsChunkPlugin({ // (3 children must share the module before it's separated) }); plugin = new webpack.optimize.AggressiveMergingPlugin(options); -plugin = new webpack.dependencies.LabeledModulesPlugin(); plugin = new webpack.DefinePlugin(definitions); plugin = new webpack.DefinePlugin({ VERSION: JSON.stringify("5fa3b9"),