Skip to content

Commit 9c8107c

Browse files
author
郑培鑫
committed
fix: export types
1 parent f92c3e8 commit 9c8107c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
"main": "dist/index.cjs",
2626
"module": "dist/index.js",
2727
"types": "dist/types/index.d.ts",
28+
"style": "dist/style.css",
2829
"exports": {
2930
".": {
3031
"import": "./dist/index.js",
31-
"require": "./dist/index.cjs"
32+
"require": "./dist/index.cjs",
33+
"types": "./dist/types/index.d.ts"
3234
},
3335
"./index.css": "./dist/style.css"
3436
},
35-
"style": "dist/style.css",
3637
"scripts": {
3738
"dev": "vite",
3839
"build": "run-p type-check \"build-only {@}\" --",

0 commit comments

Comments
 (0)