Skip to content

Instantly share code, notes, and snippets.

@StephenFluin
Created June 7, 2019 20:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StephenFluin/fffe2421fc6a8da3d245da84f0e6c20c to your computer and use it in GitHub Desktop.
Save StephenFluin/fffe2421fc6a8da3d245da84f0e6c20c to your computer and use it in GitHub Desktop.
Measure the bundle size of a new Angular application
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