Skip to content

can we import firebase conditionally? #5

@brandonmp

Description

@brandonmp

I am using this lib in a Chrome extension, where I've so far been unable to figure out how to make firebase globally available (i.e., there's no index.html <script> method)

Is it possible to build this library such that it will run import firebase from 'firebase' if it can't find the firebase object?

I know it's not as simple as an if/then, but I suspect there has to be a reasonable way short of forking the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions