This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 689
support webpack config for minification #186
Comments
hongbo-miao
changed the title
add webpack config for minification
support webpack config for minification
Oct 2, 2016
you can try to run
It reduces index.js size to about 1MB Welcome for better recommendations... |
@mekya Any idea on how to reduce even more the bundle size? 1MB is super heavy especially on mobile. |
@TomerCohavi use code splitting (lazy-routes) and AOT |
@TomerCohavi |
@kuldeepkeshwar Thanks! |
there is a prod build now |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please add webpack config options for minification, thanks!
Right now the browser loads a 3.4MB index.js file:
The text was updated successfully, but these errors were encountered: