You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for opening this but differential loading is only enabled on ng build. The main reason behind this is that differential loading requires 2 builds which during development it will hinder the development experience.
That said, during serve and test, we will only generate the ES2015 bundle as this is now the default script target configuration in the tsconfig.json.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Not to my knowledge.
Description
When running the command:
ng serve --aot
or
ng serve --prod
The served html doesn't output with es2015 / differential loading.
🔬 Minimal Reproduction
I created a bear-bones ng8 project that shows the issue.
https://github.com/hugodes/cli-2015
script includes part of the html are:
should be:
🌍 Your Environment
Anything else relevant?
tsconfig.json:
angular.json:
The text was updated successfully, but these errors were encountered: