最近在写基于angular4的项目的时候,在build --prod的时候,突然措手不及的蹦出个报错,大致错误如下: 70% building modules 1345/1345 modules 0 active <--- Last few GCs ---> 317945 ms: Mark-sweep 703.9 (837.9) -> 701.4 (811.9) MB, 331.3 / 0 ms [allocation failure] [GC in old space requeste
When we develop the Angular app inside Docker container, we can simulate Production envioment by build Angualr App instead of using 'ng serve': ng build --watch --delete-output-path false '--delete-output-path false': tells it do not delete the dist