improve webpack config for prod compile #23
This commit is contained in:
@@ -19,7 +19,13 @@ This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
|
||||
|
||||
2.) React JS WebPack watch generator w/ babel presets: es2015, react
|
||||
|
||||
$ webpack -p --config=webpack-prod.config.js
|
||||
|
||||
PROD
|
||||
|
||||
$ webpack --progress --colors --watch -d
|
||||
|
||||
DEV
|
||||
|
||||
-d --> Debugger; If you write this line somewhere: debugger;
|
||||
The browser will stop the code here!!!
|
||||
|
||||
Reference in New Issue
Block a user