Skip to content

Commit d1dd706

Browse files
committed
Export CommonJS
1 parent c7df076 commit d1dd706

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@
1717
"vite-plugin"
1818
],
1919
"type": "module",
20+
"main": "./dist/index.cjs",
2021
"module": "./dist/index.js",
2122
"types": "./dist/index.d.ts",
2223
"exports": {
2324
".": {
25+
"require": "./dist/index.cjs",
2426
"import": "./dist/index.js",
2527
"types": "./dist/index.d.ts"
2628
}

0 commit comments

Comments
 (0)