Skip to content

Commit 581e53b

Browse files
authored
fix: update client types path in core package.json (#326)
```bash > tsc && vite build error TS2688: Cannot find type definition file for 'vite/client'. The file is in the program because: Entry point of type library 'vite/client' specified in compilerOptions tsconfig.json:7:15 7 "types": ["vite/client"], ~~~~~~~~~~~~~ File is entry point of type library specified here. Found 1 error. ```
1 parent 39119e3 commit 581e53b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"exports": {
88
".": "./dist/vite/node/index.js",
99
"./client": {
10-
"types": "./client.d.ts"
10+
"types": "./dist/vite/client.d.ts"
1111
},
1212
"./dist/client/*": "./dist/vite/client/*",
1313
"./internal": "./dist/vite/node/internal.js",

0 commit comments

Comments
 (0)