angular - ng build --aot with out prod mode is not compiling in AOT -


can use aot mode dev or qa mode passing --aot flags in ng build command "ng build --env=dev --aot". have tried not compiling 'aot'? 1 suggest solution?

yes, can adding flag

ng build --aot=true   

the default value --aot false. (in non prod environments)

you can see more detail build options here https://github.com/angular/angular-cli/blob/master/docs/documentation/build.md


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -