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
Yes, the previous version in which this bug was not present was: @angular-devkit/build-angular: 0.802.2
Description
I have updated Angular packages versions 8.2.2 to 8.2.7 and @angular-devkit/build-angular 0.802.2 to 0.803.5. Then I built the project with production configuration. My bundle size increased ~700kb. I recorded a video..
I have Angular NPM libraries. I load these modules lazily via a wrapper module.
My lazy load technique shown below:
This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: @angular-devkit/build-angular: 0.802.2
Description
I have updated Angular packages versions 8.2.2 to 8.2.7 and
@angular-devkit/build-angular
0.802.2 to 0.803.5. Then I built the project with production configuration. My bundle size increased ~700kb. I recorded a video..I have Angular NPM libraries. I load these modules lazily via a wrapper module.
My lazy load technique shown below:
app-routing.module.ts
:account-wrapper.module.ts
:🔬 Minimal Reproduction
ng new repro-app --routing --style=scss
Chunk sizes:
And then change the
@angular-devkit/build-angular
as shown below:package.json:
Run the
yarn
command.After the installation, rebuild the project.
yarn build --prod
Check the chunk sizes:
First build: (main) 367 kB
Second build: (main) 245 kB
🌍 My Environment
The text was updated successfully, but these errors were encountered: