angular2-aot-webpack
angular2-aot-webpack copied to clipboard
Prod webpack config
Whole project is nice example :)
That will be great option to add prod webpack config, without sourcemaps etc, only clear js and css.
Are you planning that kind of change in the project?
The build script is in production mode with the -p flag for webpack.
Haven't planned it before. Why would you skip sourcemaps?
Usually for production mode I skip sourcemaps or change sourcemap server on vpn. Code is not simple to view. I know there is code and any obfuscator can handle this but, in my opinion I feel a little safer. And deploy package is lighter.