Hi JSS,
Thank you for adding AOT compilation, it's a handy feature to have 馃憤
Unfortunately we are dependant on 3rd-party Angular modules that do not support AOT yet.
Is there a way of temporarily disabling the AOT compilation for the publishing of the template?
Thanks 馃惐
Yes. In webpack.config.js:
.ts so it never uses '@ngtools/webpack', i.e., remove the conditional expression and always use the isDevBuild part of the expression.AotPlugin from the array of plugins used in production builds (this appears in both client and server bundle configs)Worked, thank you!
Most helpful comment
Yes. In
webpack.config.js:.tsso it never uses'@ngtools/webpack', i.e., remove the conditional expression and always use theisDevBuildpart of the expression.AotPluginfrom the array of plugins used in production builds (this appears in both client and server bundle configs)