Bundle Size - includes entire @angular/fire
See original GitHub issueBug Report or Feature Request (mark with an x
)
- [x] bug report -> please search issues before submitting
- [ ] feature request
Versions
Angular CLI: 7.3.1
Node: 8.15.0
OS: darwin x64
Angular: 7.2.15
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.13.9
@angular-devkit/build-angular 0.13.9
@angular-devkit/build-optimizer 0.13.9
@angular-devkit/build-webpack 0.13.9
@angular-devkit/core 7.3.1
@angular-devkit/schematics 7.3.1
@angular/cdk 7.3.7
@angular/cli 7.3.1
@angular/fire 5.1.3
@angular/flex-layout 7.0.0-beta.24
@angular/material 7.3.7
@ngtools/webpack 7.3.9
@schematics/angular 7.3.1
@schematics/update 0.13.1
rxjs 6.5.2
typescript 3.2.4
webpack 4.29.0
Repro steps
Just build app with this library using
ng build --prod --stats-json
- and then
npx webpack-bundle-analyzer <path-to-stats-json-in-dist>
The log given by the failure
Build with this library included (Parsed size: 1.73 MB)
Desired functionality
Build without this library but still using firebase/auth
(Parsed size: 1.11 MB)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Angular huge bundle size due to angular and firebase modules
Smaller Angular framework download size. There's no need to download the Angular compiler if the app is already compiled.
Read more >I dropped 95% of my Firebase bundle size using this one ...
Adding Firestore increased my bundle size nearly 300kbs. Webpack was right. This did impact web performance. I was about to have a bad...
Read more >Optimize Angular bundle size in 4 steps | by Siyang Kern Zhao
This will give you a warning if you build Angular and the bundle size exceeds 2MB and throw an error if the bundle...
Read more >Bundle Size Comparison in Firebase Modular SDK | miyauci.me
Explain how the new Firebase module can reduce the bundle size. It focuses on Cloud Firestore and Authentication bundle sizes, which are two...
Read more >@angular/fire v7.5.0 Bundlephobia
Size of @angular/fire v7.5.0 is 61.4 kB (minified), and 18.3 kB when compressed using GZIP. Bundlephobia helps you find the performance impact of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jeroenouw thanks for sharing! this is really awesome! I will try it now
v4 is now release
https://github.com/AnthonyNahas/ngx-auth-firebaseui/releases/tag/4.0.0 https://www.npmjs.com/package/ngx-auth-firebaseui
this should fix this issue! Please consider reopening this ticket is you are still facing the same issue