mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
chore: remove OccurenceOrderPlugin
This commit is contained in:
6
webpack/index.d.ts
vendored
6
webpack/index.d.ts
vendored
@@ -598,9 +598,7 @@ declare namespace webpack {
|
||||
* Assign the module and chunk ids by occurrence count. Ids that are used often get lower (shorter) ids.
|
||||
* This make ids predictable, reduces to total file size and is recommended.
|
||||
*/
|
||||
// TODO: This is a typo, and will be removed in Webpack 2.
|
||||
OccurenceOrderPlugin: optimize.OccurenceOrderPluginStatic;
|
||||
OccurrenceOrderPlugin: optimize.OccurenceOrderPluginStatic;
|
||||
OccurrenceOrderPlugin: optimize.OccurrenceOrderPluginStatic;
|
||||
/**
|
||||
* Minimize all JavaScript output of chunks. Loaders are switched into minimizing mode.
|
||||
* You can pass an object containing UglifyJs options.
|
||||
@@ -1027,7 +1025,7 @@ declare namespace webpack {
|
||||
interface MinChunkSizePluginStatic {
|
||||
new (options: any): Plugin;
|
||||
}
|
||||
interface OccurenceOrderPluginStatic {
|
||||
interface OccurrenceOrderPluginStatic {
|
||||
new (preferEntry: boolean): Plugin;
|
||||
}
|
||||
interface UglifyJsPluginStatic {
|
||||
|
||||
@@ -280,7 +280,7 @@ plugin = new webpack.BannerPlugin(banner, options);
|
||||
plugin = new webpack.optimize.DedupePlugin();
|
||||
plugin = new webpack.optimize.LimitChunkCountPlugin(options);
|
||||
plugin = new webpack.optimize.MinChunkSizePlugin(options);
|
||||
plugin = new webpack.optimize.OccurenceOrderPlugin(preferEntry);
|
||||
plugin = new webpack.optimize.OccurrenceOrderPlugin(preferEntry);
|
||||
plugin = new webpack.optimize.OccurrenceOrderPlugin(preferEntry);
|
||||
plugin = new webpack.optimize.UglifyJsPlugin(options);
|
||||
plugin = new webpack.optimize.UglifyJsPlugin();
|
||||
|
||||
Reference in New Issue
Block a user