Skip to content

Commit 588010c

Browse files
committed
Fix externals for packages/firebase builds (#3729)
1 parent ea6b6f1 commit 588010c

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)