Closed fmalcher closed 4 years ago
The new Angular CLI 10 does not put the es2015 suffix in file names as differential loading is not enabled by default. Thus, the bundle filter for the analyzecommand does not work anymore.
es2015
analyze
https://github.com/ngx-builders/source-map-analyzer/blob/master/analyze/index.ts#L33
Example of a dist folder after build:
dist
ng version output:
ng version
Angular CLI: 10.0.0 Node: 13.12.0 OS: darwin x64 Angular: 10.0.0 ... animations, cli, common, compiler, compiler-cli, core, forms ... language-service, localize, platform-browser ... platform-browser-dynamic, router Ivy Workspace: Yes Package Version ----------------------------------------------------------- @angular-devkit/architect 0.1000.0 @angular-devkit/build-angular 0.1000.0 @angular-devkit/build-optimizer 0.1000.0 @angular-devkit/build-webpack 0.1000.0 @angular-devkit/core 10.0.0 @angular-devkit/schematics 10.0.0 @ngtools/webpack 10.0.0 @schematics/angular 10.0.0 @schematics/update 0.1000.0 rxjs 6.5.5 typescript 3.9.5 webpack 4.43.0
Thanks @fmalcher will fix in next release.
The new Angular CLI 10 does not put the
es2015
suffix in file names as differential loading is not enabled by default. Thus, the bundle filter for theanalyze
command does not work anymore.https://github.com/ngx-builders/source-map-analyzer/blob/master/analyze/index.ts#L33
Example of a
dist
folder after build:ng version
output: