Skip to content

Error on pageload when optimization is on and AngularFireAuth is used #3037

Open
@ghost

Description

Version info

Angular: 12.2.11

Firebase: 9.1.3

AngularFire: 7.1.1

Node: 14.16.1

How to reproduce these conditions

AngularFireTryOut.zip

Steps to set up and reproduce

When building the attached sample with optimization=true the resulting application fails to run.
Without the usage of AngularFireAuth or with optimization=false this failure does not appear.

Debug output

grafik

Expected behavior

The application should start whether the optimization is used or not.
The optimization is necessary to keep file sizes low.

Actual behavior

The application crashes on load because of a bad minification of firebase-auth

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions