Is there a way to skip the uglify js plugin from webpack 2 when starting in mode --production?
--production
Found: https://github.com/webpack/webpack/blob/9734d00d8bf0d306654f40e9b34b60db9c7fdda1/bin/config-optimist.js#L47
optimist .boolean("p") .describe( "p", "shortcut for --optimize-minimize --define process.env.NODE_ENV=\"production\"" )
Temp workaround will run webpack --define process.env.NODE_ENV=\"production\"insteadwebpack -p
webpack --define process.env.NODE_ENV=\"production\"
webpack -p
Source: https://habr.com/ru/post/1666780/More articles:How to read UTF-8 text file in C? - cCan I hide the Xamarin.Auth navigation bar? - authenticationThe text layer works in ggplot, but removed with ggplotly - rDict.merge is deprecated, what is the easiest way to combine a list of keywords with a map? - elixirHow to create a client using websocket-sharp? - websocketHow to remove duplicated consecutive characters and reserve the first one using regular expression? - pythonReinstalling numpy on OS X using pip - "cannot be changed or removed because it is required from OS X" - pythonHow to implement parallel takeWhile support for Stream API in Java 8? - javaKotlin will mark a hexadecimal string long - long-integerReact Native onpress not working - react-nativeAll Articles