I have problem with running server-side rendering together with angularfire2.
The nodeJS yields:
TypeError: firebase.initializeApp is not a function
While browser build work as expected. Is there any trick which should be done to get a server-side rendering with angularfire2? So far I am initializing app:
import * as firebase from 'firebase/app';
firebase.initializeApp(firebaseConfig);
In the app.module.ts which is imported by server and browser modules.
firebase.jsscript? This one which is included byimport * as firebase from 'firebase/app';?angularfire2, why don't callAngularFireModule#initializeAppinstead?