Skip to content

Commit 3958b10

Browse files
committed
Emit a module package file into esm2017 auth webextension bundle
The Firebase Auth webextension bundle was previously being shipped as a CommonJS package rather than a ES module, because it did not have a module package file indicating that it was an ES module. Fixes #8115
1 parent 71ab2f5 commit 3958b10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/auth/rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ const browserWebExtensionBuilds = [
125125
},
126126
plugins: [
127127
...es2017BuildPlugins,
128-
replace(generateBuildTargetReplaceConfig('esm', 2017))
128+
replace(generateBuildTargetReplaceConfig('esm', 2017)),
129+
emitModulePackageFile()
129130
],
130131
external: id => deps.some(dep => id === dep || id.startsWith(`${dep}/`))
131132
},

0 commit comments

Comments
 (0)