Skip to content

Commit 08aa4b1

Browse files
authored
Fix remote-config-exp installations import (#4194)
1 parent b95734c commit 08aa4b1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages-exp/remote-config-exp/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import '@firebase/installations-exp';
1918
import { registerRemoteConfig } from './register';
2019

2120
// Facilitates debugging by enabling settings changes without rebuilding asset.

packages-exp/remote-config-exp/src/register.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ import { ErrorCode, ERROR_FACTORY } from './errors';
3636
import { RemoteConfig as RemoteConfigImpl } from './remote_config';
3737
import { Storage } from './storage/storage';
3838
import { StorageCache } from './storage/storage_cache';
39+
// This needs to be in the same file that calls `getProvider()` on the component
40+
// or it will get tree-shaken out.
41+
import '@firebase/installations-exp';
3942

4043
export function registerRemoteConfig(): void {
4144
_registerComponent(

0 commit comments

Comments
 (0)