angular / angular2-seed

MIT License
1.01k stars 640 forks source link

Reducing the size of the generated file for Prod deployments #162

Open ghost opened 7 years ago

ghost commented 7 years ago

When I build the project to have an idea of the size when deployed to production, it generates a "main.bundle.js" file of about 3MB.

I'm using "npm build" which in turn runs "webpack --progress".

Do you know how could I reduce the size of the file? Could I remove some dependencies not needed in Prod?

Thank you for the great work!

tsifuentes commented 7 years ago

+1