it can't run in production mode.
jol5 opened this issue · 7 comments
jol5 commented
LeoLetourneur commented
Can you try
ng serve --prod --optimization=false
With ng build --prod, I had to use --build-optimizer=false
Optimization breaks a link somewhere...
jol5 commented
lmeijdam commented
you did solve it by not changing any code or?
original code;
return this.compiler.compileModuleAndAllComponentsAsync(module[
${moduleInfo.moduleName}]).then(compiled => {
jol5 commented
you did solve it by not changing any code or?
original code;
return this.compiler.compileModuleAndAllComponentsAsync(module[
${moduleInfo.moduleName}]).then(compiled => {
yes!
lmeijdam commented
any chance of sharing what you changed? ;)
jol5 commented
any chance of sharing what you changed? ;)
nothing change;
lmeijdam commented
Okay I will close this issue! 👍