Private
Public Access
1
0

improve webpack config for prod compile #23

This commit is contained in:
2016-11-30 20:48:17 +01:00
parent 50b3663889
commit f44bc58df2
4 changed files with 79 additions and 6 deletions

View File

@@ -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!!!