We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
First off, cool stuff.
I create a new Angular project and added Universal. Manage to deploy with a simple firebase deploy --only hosting
firebase deploy --only hosting
The bundle size is very big compare to running npm run build:ssr.
npm run build:ssr
The text was updated successfully, but these errors were encountered:
Do have any custom configuration in your angular.json? Our deploy will attempt to use the production config by default.
Sorry, something went wrong.
It's a default setting. No changes on angular.json.
Created new project default install Angular, Material and Angularfire, Universal.
Run firebase deploy
firebase deploy
✔ Browser application bundle generation complete. ✔ Copying assets complete. ✔ Index html generation complete. Initial Chunk Files | Names | Raw Size | Estimated Transfer Size main.57e194f044981dee.js | main | 1.17 MB | 236.31 kB styles.2be578445a55cedd.css | styles | 112.37 kB | 12.83 kB polyfills.b3c464328a2c98b5.js | polyfills | 66.43 kB | 20.55 kB runtime.745648cfedbfc3f4.js | runtime | 3.08 kB | 1.45 kB | Initial Total | 1.35 MB | 271.14 kB Lazy Chunk Files | Names | Raw Size | Estimated Transfer Size 935.812b9fa6ed3bf203.js | auth-login-login-module | 270.64 kB | 65.48 kB 379.43342581ec4a7ba3.js | page-page-module | 611 bytes | 377 bytes 281.9f1e588530960038.js | home-home-module | 548 bytes | 335 bytes Build at: 2022-05-13T00:28:48.186Z - Hash: b5391ba43e3d1222 - Time: 9995ms Warning: bundle initial exceeded maximum budget. Budget 1.00 MB was not met by 353.29 kB with a total of 1.35 MB.
compare to npm run build:ssr
✔ Browser application bundle generation complete. ✔ Copying assets complete. ✔ Index html generation complete. Initial Chunk Files | Names | Raw Size | Estimated Transfer Size main.09d2e80a075f63a3.js | main | 532.42 kB | 140.84 kB styles.2be578445a55cedd.css | styles | 112.37 kB | 12.83 kB polyfills.3d31d627316a9f43.js | polyfills | 33.01 kB | 10.59 kB runtime.579458e15dcb4e4e.js | runtime | 3.08 kB | 1.44 kB | Initial Total | 680.89 kB | 165.70 kB Lazy Chunk Files | Names | Raw Size | Estimated Transfer Size 935.e8fa079f1f3dc683.js | auth-login-login-module | 251.73 kB | 64.68 kB 379.7a46665a185bae4e.js | page-page-module | 657 bytes | 386 bytes 281.1b25fbab09e154e1.js | home-home-module | 594 bytes | 343 bytes Build at: 2022-05-13T00:30:06.158Z - Hash: 12e52bf5ee491cb4 - Time: 10078ms
No branches or pull requests
First off, cool stuff.
I create a new Angular project and added Universal. Manage to deploy with a simple
firebase deploy --only hosting
The bundle size is very big compare to running
npm run build:ssr
.The text was updated successfully, but these errors were encountered: