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?
--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.
--prod turns on --aot by default, so using --prod and --prod --aot are the same