Skip to content

Commit

Permalink
Fix Node ESM bundle to build from Node entry point. (#6345)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsubox76 committed Jun 8, 2022
1 parent cec9946 commit d6338f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/mean-seals-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@firebase/storage': patch
---

Fixed Node ESM bundle to build from Node entry point. (It was incorrectly using the browser entry point.)
2 changes: 1 addition & 1 deletion packages/storage/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const nodeBuilds = [
}
},
{
input: './src/index.ts',
input: './src/index.node.ts',
output: {
file: pkg.exports['.'].node.import,
format: 'esm',
Expand Down

0 comments on commit d6338f0

Please sign in to comment.