@@ -20,7 +20,6 @@ var RequireJsStuffPlugin = require("./RequireJsStuffPlugin");
2020var NodeStuffPlugin = require ( "./NodeStuffPlugin" ) ;
2121var CompatibilityPlugin = require ( "./CompatibilityPlugin" ) ;
2222
23- var MovedToPluginWarningPlugin = require ( "./MovedToPluginWarningPlugin" ) ;
2423var TemplatedPathPlugin = require ( "./TemplatedPathPlugin" ) ;
2524var 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