Skip to content

Commit 454c030

Browse files
committed
build compat script that works with exp packages
1 parent 1daebee commit 454c030

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages-exp/auth-compat-exp/demo/rollup.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ const umdBuilds = [
5959
extend: true,
6060
name: 'firebase',
6161
globals: {
62-
'@firebase/app-compat': 'firebase'
62+
'@firebase/app-compat': 'firebase',
63+
'@firebase/app-exp': 'firebase.INTERNAL.modularAPIs'
6364
},
6465
/**
6566
* use iife to avoid below error in the old Safari browser
@@ -81,7 +82,7 @@ const umdBuilds = [
8182
}`
8283
},
8384
plugins: [...plugins],
84-
external: ['@firebase/app-compat']
85+
external: ['@firebase/app-compat', '@firebase/app-exp']
8586
}
8687
];
8788

0 commit comments

Comments
 (0)