ngx-builders / source-map-analyzer

typescript, builder
https://www.npmjs.com/package/@ngx-builders/analyze
MIT License
89 stars 12 forks source link

Angular CLI 10: no es2015 suffix in file names #42

Closed fmalcher closed 4 years ago

fmalcher commented 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.

https://github.com/ngx-builders/source-map-analyzer/blob/master/analyze/index.ts#L33

Example of a dist folder after build: Screen Shot 2020-06-29 at 13 10 10

ng version output:

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
santoshyadavdev commented 4 years ago

Thanks @fmalcher will fix in next release.