-
-
Save StephenFluin/fffe2421fc6a8da3d245da84f0e6c20c to your computer and use it in GitHub Desktop.
Measure the bundle size of a new Angular application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ng new my-app | |
cd my-app | |
ng update @angular/core --next | |
ng build --prod | |
mv dist dist-no-ivy | |
# turn on enableIvy in src/tsconfig.json | |
ng build --prod | |
mv dist dist-ivy | |
ls -lah dist*/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment