Skip to content

Commit 5454a89

Browse files
committed
removed deprecated options
1 parent c92491f commit 5454a89

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

‎lib/WebpackOptionsApply.js‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ var RequireJsStuffPlugin = require("./RequireJsStuffPlugin");
2020
var NodeStuffPlugin = require("./NodeStuffPlugin");
2121
var CompatibilityPlugin = require("./CompatibilityPlugin");
2222

23-
var MovedToPluginWarningPlugin = require("./MovedToPluginWarningPlugin");
2423
var TemplatedPathPlugin = require("./TemplatedPathPlugin");
2524
var WarnCaseSensitiveModulesPlugin = require("./WarnCaseSensitiveModulesPlugin");
2625

@@ -161,12 +160,6 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
161160
compiler.apply(new ExternalsPlugin(options.output.libraryTarget, options.externals));
162161
}
163162

164-
if(options.hot) {
165-
compiler.apply(new MovedToPluginWarningPlugin("hot", "HotModuleReplacementPlugin"));
166-
var HotModuleReplacementPlugin = require("./HotModuleReplacementPlugin");
167-
compiler.apply(new HotModuleReplacementPlugin(options.output));
168-
}
169-
170163
if(options.devtool === "eval")
171164
compiler.apply(new EvalDevToolModulePlugin(null, options.output.devtoolModuleFilenameTemplate));
172165
else if(options.devtool === "@eval")
@@ -212,13 +205,6 @@ WebpackOptionsApply.prototype.process = function(options, compiler) {
212205
});
213206
}
214207

215-
if(options.prefetch) {
216-
compiler.apply(new MovedToPluginWarningPlugin("prefetch", "PrefetchPlugin"));
217-
var PrefetchPlugin = require("./PrefetchPlugin");
218-
options.prefetch.map(function(request) {
219-
compiler.apply(new PrefetchPlugin(options.context, request));
220-
});
221-
}
222208
compiler.apply(
223209
new CompatibilityPlugin(),
224210
new LoaderPlugin(),

0 commit comments

Comments
 (0)