Skip to content

Commit bef7bb2

Browse files
committed
fix: microbundle isn't exporting .cjs
1 parent 3c97807 commit bef7bb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
"types": "./typings/index.d.ts",
2626
"source": "./src/index.ts",
2727
"import": "./dist/index.mjs",
28-
"require": "./dist/index.cjs",
28+
"require": "./dist/index.js",
2929
"default": "./dist/index.mjs"
3030
},
3131
"./package.json": "./package.json"
3232
},
33-
"main": "dist/index.cjs",
33+
"main": "dist/index.js",
3434
"umd:main": "umd/compute-scroll-into-view.min.js",
3535
"module": "dist/index.mjs",
3636
"source": "src/index.ts",

0 commit comments

Comments
 (0)