Skip to content

Commit ba010ef

Browse files
authored
Fix externals for packages/firebase builds (#3729)
1 parent 1bf0a3c commit ba010ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/firebase/rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ const plugins = [
7070
commonjs()
7171
];
7272

73-
const external = Object.keys(pkg.dependencies || {});
73+
const deps = Object.keys(pkg.dependencies || {});
74+
const external = id => deps.some(dep => id === dep || id.startsWith(`${dep}/`));
7475

7576
/**
7677
* Global UMD Build

0 commit comments

Comments
 (0)