Adding firebase to your cli project

hey guys any idea on what the ideal solution would be to add firebase to your setup with webpack and cli?

Solved it:

npm install --save firebase

to add firebase to the project
than simply use:

import firebase from "firebase/app";
import 'firebase/firestore';;
import 'firebase/analytics';

in app.js

1 Like