-
Notifications
You must be signed in to change notification settings - Fork 12k
Optimize dist/vendor in prod #1208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize dist/vendor in prod #1208
Comments
I think there is other work coming to replace es6-shim and reflect-metadata with core-js. That will reduce the file count by one... of course more is also needed eventually. I wrote about some of this a while back in #987. |
Closed as issue was made obsolete by #1455. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
ng build -prod
creates bundlemain.js
containing minified angular 2 files.Vendor files are stored unminified in
dist/vendor
directory :Instead of those multiple unminified files, another bundle (eg
vendors.js
) may be used with minified versions of :This should simplify and optimise the -prod distribution.
Of course,
index.html
should be also simplified to reflect this change.The text was updated successfully, but these errors were encountered: