Skip to content

Commit 479f04a

Browse files
authored
fix: format (#11)
1 parent fec110b commit 479f04a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/yellow-islands-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@node-real/web3-plugin-bundle": minor
3+
---
4+
5+
fix output format

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async () => {
2020
input: './src/index.ts',
2121
output: {
2222
dir: './dist/esm',
23-
format: 'esm',
23+
format: 'commonjs',
2424
sourcemap: true,
2525
},
2626
external: resolveExternal(),

0 commit comments

Comments
 (0)