Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Only import the individual Firebase SDK components for Production #155

Open
RyanMarten opened this issue Mar 16, 2020 · 1 comment
Open
Labels
wontfix This will not be worked on

Comments

@RyanMarten
Copy link
Contributor

It looks like you're using the development build of the Firebase JS SDK.
When deploying Firebase apps to production, it is advisable to only import
the individual SDK components you intend to use.

For the module builds, these are available in the following manner
(replace <PACKAGE> with the name of a component - i.e. auth, database, etc):

CommonJS Modules:
const firebase = require('firebase/app');
require('firebase/<PACKAGE>');
@RyanMarten RyanMarten added this to the Site Basic Functionality milestone Mar 16, 2020
@RyanMarten RyanMarten self-assigned this Mar 16, 2020
@RyanMarten
Copy link
Contributor Author

not priority right now

@RyanMarten RyanMarten removed this from the Site Basic Functionality milestone Mar 23, 2020
@RyanMarten RyanMarten added wontfix This will not be worked on and removed engineering labels Mar 23, 2020
@RyanMarten RyanMarten removed their assignment Mar 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant