亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - angular-cli uses ng build --prod and ng build --prod --aot to package files with the same size?
天蓬老師
天蓬老師 2017-07-05 10:39:00
0
2
976
  1. The size of my complete project after compilation using ng build --prod is 1713k, as shown in the picture

  2. After using ng build --prod --aot the size is still 1713k;

  3. --Does aot need other configuration parameters to be effective?

4. In other words, before using the --aot parameter, tree shaking optimization is also required?

天蓬老師
天蓬老師

歡迎選擇我的課程,讓我們一起見證您的進(jìn)步~~

reply all(2)
曾經(jīng)蠟筆沒有小新

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template