Skip to content

Commit c1366a2

Browse files
committed
Fix Node ESM bundle to build from Node entry point.
1 parent 8340f84 commit c1366a2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/mean-seals-poke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/storage': patch
3+
---
4+
5+
Fixed Node ESM bundle to build from Node entry point. (It was incorrectly using the browser entry point.)

packages/storage/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ const nodeBuilds = [
143143
}
144144
},
145145
{
146-
input: './src/index.ts',
146+
input: './src/index.node.ts',
147147
output: {
148148
file: pkg.exports['.'].node.import,
149149
format: 'esm',

0 commit comments

Comments
 (0)