- 
                Notifications
    You must be signed in to change notification settings 
- Fork 984
Open
Description
[REQUIRED] Describe your environment
- Operating System version: (not related)
- Browser version: (not related)
- Firebase SDK version: 7.1.0
- Firebase Product: Remote Config
[REQUIRED] Describe the problem
Importing 'firebase/remote-config' where the Window object is undefined throws error, thus we have to avoid import 'firebase/remote-config' at server side rendering.
(Specifically, this is quite troublesome for universal web apps built with Nuxt.js. Since this issue
occurs when import files using 'firebase/remote-config', it cannot be used in any Vue components, or must use dynamic import and treat Promise somehow...)
It would be highly appreciated if firebase/remote-config run without caching on server side. At least, make it possible to import without the Window object.
Steps to reproduce:
- import 'firebase/remote-config'in any javascript code.
- run that code wherever the Window object is undefined.
Relevant Code:
jukbot, MarioBoehmer, Asherlc, D-Hartley, uwelo and 67 more