Skip to content

Commit bc4ba15

Browse files
authored
fix: disable esModule in CJS build (#171)
Now that we have an ESM facade, it breaks default imports for bundlers.
1 parent d71e23f commit bc4ba15

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
@@ -6,6 +6,7 @@ export default [
66
{
77
input: 'src/index.js',
88
output: {
9+
esModule: false,
910
file: 'matrix.js',
1011
format: 'cjs',
1112
exports: 'named',

0 commit comments

Comments
 (0)