Skip to content

Commit 27b4386

Browse files
authored
fix: find dts correctly (#121)
modify packign.js to make vscode load dts correctly
1 parent c6980c0 commit 27b4386

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"exports": {
1111
"import": "./dist/plugin.mjs",
12-
"require": "./dist/plugin.cjs"
12+
"require": "./dist/plugin.cjs",
13+
"types": "./dist/plugin.d.ts"
1314
},
1415
"main": "./dist/plugin.cjs",
1516
"module": "./dist/plugin.mjs",

0 commit comments

Comments
 (0)