Angular-CLI v8 implemented differential loading. But I don\'t need files built by es5. I want to decrease deploy quantity.
I tried below. But CLI has generated es5 f
Fastest solution: Switch back to es5
as compilation target in your tsconfig.json
.
"compilerOptions": {
...
"target": "es5"
...
}
As mentioned on Angular official documentation (https://angular.io/guide/deployment#differential-loading):
To explicitly disable differential loading:
- Enable the dead or IE browsers in the browserslist config file by removing the not keyword in front of them.
- Set the target in the compilerOptions to es5.