File tree Expand file tree Collapse file tree 3 files changed +0
-19
lines changed
Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,6 @@ class AdvancedGroup extends GroupHelper {
4646 const HotModuleReplacementPlugin = require ( 'webpack' ) . HotModuleReplacementPlugin ;
4747 this . opts . options . plugins = [ new HotModuleReplacementPlugin ( ) ] ;
4848 }
49- if ( args . debug ) {
50- const LoaderOptionsPlugin = require ( 'webpack' ) . LoaderOptionsPlugin ;
51- const loaderPluginVal = new LoaderOptionsPlugin ( {
52- debug : true ,
53- } ) ;
54-
55- if ( this . opts . options && this . opts . options . plugins ) {
56- this . opts . options . plugins . unshift ( loaderPluginVal ) ;
57- } else {
58- this . opts . options . plugins = [ loaderPluginVal ] ;
59- }
60- }
6149 if ( args . prefetch ) {
6250 const { PrefetchPlugin } = require ( 'webpack' ) ;
6351 const prefetchVal = new PrefetchPlugin ( null , args . prefetch ) ;
Original file line number Diff line number Diff line change @@ -135,12 +135,6 @@ module.exports = {
135135 group : ADVANCED_GROUP ,
136136 description : 'Enables Hot Module Replacement' ,
137137 } ,
138- {
139- name : 'debug' ,
140- type : Boolean ,
141- group : ADVANCED_GROUP ,
142- description : 'Switch loaders to debug mode' ,
143- } ,
144138 {
145139 name : 'sourcemap' ,
146140 type : String ,
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ Options
3838 -t, --target string Sets the build target
3939 -w, --watch Watch for files changes
4040 -h, --hot Enables Hot Module Replacement
41- --debug Switch loaders to debug mode
4241 -s, --sourcemap string Determine source maps to use
4342 --prefetch string Prefetch this request
4443 -j, --json Prints result as JSON
You can’t perform that action at this time.
0 commit comments