Skip to content

Commit d975579

Browse files
committed
fix: opt our rollup CJS build into TS's module interop behavior
https://rollupjs.org/configuration-options/#output-interop
1 parent 18d11d1 commit d975579

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rollup.config.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export default {
2222
preserveModulesRoot: 'src',
2323
sourcemap: true,
2424
entryFileNames: '[name].cjs',
25+
interop: 'auto',
2526
},
2627
],
2728
/**

0 commit comments

Comments
 (0)