angular2-aot-webpack icon indicating copy to clipboard operation
angular2-aot-webpack copied to clipboard

Prod webpack config

Open day01 opened this issue 8 years ago • 2 comments

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?

day01 avatar Feb 25 '17 21:02 day01

The build script is in production mode with the -p flag for webpack.

Haven't planned it before. Why would you skip sourcemaps?

sonicoder86 avatar Feb 25 '17 21:02 sonicoder86

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.

day01 avatar Feb 26 '17 06:02 day01