Skip to content

Commit 7d46deb

Browse files
Fix types build
1 parent 608334d commit 7d46deb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"scripts": {
2323
"test": "vitest run",
2424
"build:code": "vite build",
25-
"build:types": "tsc src/index.ts --declaration --emitDeclarationOnly --outDir dist --skipLibCheck",
25+
"build:types": "tsc",
2626
"build": "pnpm build:code && pnpm build:types"
2727
},
2828
"devDependencies": {

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"jsx": "react-jsx",
1818
"baseUrl": "src",
1919
},
20+
"include": ["src/**/*"],
2021
"exclude": ["node_modules"]
2122
}

0 commit comments

Comments
 (0)