Closed jol5 closed 5 years ago
I haven't made any changes. just running in ng serve --prod .
Can you try
ng serve --prod --optimization=false
With ng build --prod, I had to use --build-optimizer=false
Optimization breaks a link somewhere...
thanks!!! this.compiler.compileModuleAndAllComponentsAsync( >>>this code will load all component of my dependence over the --prod 。so, it will be slow at first time .
you did solve it by not changing any code or?
original code;
return this.compiler.compileModuleAndAllComponentsAsync(module[
${moduleInfo.moduleName}]).then(compiled => {
you did solve it by not changing any code or? original code;
return this.compiler.compileModuleAndAllComponentsAsync(module[
${moduleInfo.moduleName}]).then(compiled => {
yes!
any chance of sharing what you changed? ;)
any chance of sharing what you changed? ;) nothing change;
Okay I will close this issue! 👍