The size of my complete project after compilation using ng build --prod is 1713k, as shown in the picture
After using ng build --prod --aot the size is still 1713k;
--Does aot need other configuration parameters to be effective?
4. In other words, before using the --aot parameter, tree shaking optimization is also required?
曾经蜡笔没有小新2017-07-05 10:41:00
--prod turns on AOT, you don't need to pass both options. See this section of the docs: https://github.com/angular/an...
This is the answer on github, no Know if it is useful.
世界只因有你2017-07-05 10:41:00
--prod turns on --aot by default, so using --prod and --prod --aot are the same