irrationnelle / consearch

Simple Application to search concerts you wanna see
MIT License
1 stars 0 forks source link

파이어베이스 배포환경에 따른 sdk 구분 #19

Open irrationnelle opened 3 years ago

irrationnelle commented 3 years ago
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>');

ES Modules:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';

Typescript:
import firebase from 'firebase/app';
import 'firebase/<PACKAGE>';