Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase warning #112

Closed
RichardZandi opened this issue Aug 7, 2018 · 1 comment
Closed

Firebase warning #112

RichardZandi opened this issue Aug 7, 2018 · 1 comment
Labels

Comments

@RichardZandi
Copy link

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

macOS High Sierra

Versions

Angular CLI: 6.0.3
Node: 10.1.0
OS: darwin x64
Angular: 6.0.2

Repro steps

  1. include: NgxAuthFirebaseUIModule.forRoot(environment.firebaseTitleIXConfig) in app.module.ts imports section.
  2. ng serve

The log given by the failure

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 with the name of a component - i.e. auth, database, etc):

CommonJS Modules:
const firebase = require('firebase/app');
require('firebase/');

ES Modules:
import firebase from 'firebase/app';
import 'firebase/';

Desired functionality

no warning.

Mention any other details that might be useful

@AnthonyNahas
Copy link
Owner

Thanks for reporting! I've just released v1.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants