mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
chore: remove LabeledModulesPlugin
BREAKING CHANGE: remove webpack.Dependencies interface
This commit is contained in:
12
webpack/index.d.ts
vendored
12
webpack/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user