I'm having a hard time trying to update my project to Angular 10 from Angular 8. Everything is working fine, but Firebase Analytics from @angular/fire. It always returns: "loading chunk firebase-analytics failed.".
I'm not sure if it related to the given package or some other configuration that is incorrect.
There were some errors at the terminal about ES modules, which I added to allowedCommonJsDependencies
at Angular.json
, to skip compiling them, yet with no changes.
One thing that I find weird yet I'm not sure if is normal is that the analytics is not bundled together on the vendor chunk.
Would really appreciate any insights, thanks!
The errors that happens:
The bundles from the build:
Angular.json:
Package versions: