Skip to content

Commit c38cc76

Browse files
committed
fix: add oldschool main and module exports
1 parent fb50f15 commit c38cc76

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737
},
3838
"./package.json": "./package.json"
3939
},
40-
"files": [
41-
"dist"
42-
],
40+
"main": "./dist/index.cjs",
41+
"module": "./dist/index.js",
42+
"types": "./dist/index.d.ts",
43+
"files": ["./dist"],
4344
"scripts": {
4445
"dev": "vite",
4546
"build": "tsup",

0 commit comments

Comments
 (0)