Skip to content

Commit

Permalink
fix: cjs rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgraeme committed Feb 3, 2025
1 parent 6c087c6 commit faf7ef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ export default [
...baseConfig,
output: {
file: 'dist/index.js',
format: 'esm',
format: 'cjs',
sourcemap: true,
exports: 'named',
},
plugins: [
resolve({ extensions }),
Expand Down

0 comments on commit faf7ef7

Please sign in to comment.