We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974cfc6 commit efdb5b3Copy full SHA for efdb5b3
package.json
@@ -15,9 +15,10 @@
15
"require": "./dist/petite-vue.umd.js"
16
}
17
},
18
+ "types": "./dist/types/index.d.ts",
19
"scripts": {
20
"dev": "vite",
- "build": "vite build",
21
+ "build": "vite build && tsc --emitDeclarationOnly && mv dist/src dist/types",
22
"prepublishOnly": "tsc --noEmit && yarn build"
23
24
"repository": {
tsconfig.json
@@ -2,6 +2,7 @@
2
"compilerOptions": {
3
"baseUrl": ".",
4
"outDir": "dist",
5
+ "declaration": true,
6
"sourceMap": false,
7
"target": "esnext",
8
"module": "esnext",
0 commit comments