Skip to content

Commit fa086f9

Browse files
authored
chore: build error
chore: build error
2 parents fb46b90 + fe74559 commit fa086f9

File tree

5 files changed

+6
-13
lines changed

5 files changed

+6
-13
lines changed

packages/hooks/package.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-hooks-plus",
3-
"version": "1.6.0-alpha.7",
3+
"version": "1.6.0-alpha.8",
44
"description": "Vue hooks library",
55
"files": [
66
"dist",
@@ -11,14 +11,6 @@
1111
"package.json",
1212
"README.md"
1313
],
14-
"exports": {
15-
".": {
16-
"types": "./lib/index.d.ts",
17-
"require": "./lib/index.js",
18-
"import": "./es/index.js"
19-
},
20-
"./*": "./*"
21-
},
2214
"main": "./lib/index.js",
2315
"module": "./es/index.js",
2416
"types": "./lib/index.d.ts",
File renamed without changes.

packages/types/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@vue-hooks-plus/types",
3-
"version": "1.6.0-alpha.3",
3+
"version": "1.6.0-alpha.8",
44
"description": "",
55
"files": [
6-
"types",
6+
"index.d.ts",
7+
"types.d.ts",
78
"package.json",
89
"README.md"
910
],
10-
"types": "./types/index.d.ts",
11+
"types": "./index.d.ts",
1112
"scripts": {
1213
"build": "vite build"
1314
},
File renamed without changes.

packages/types/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
plugins: [
77
dts({
88
include: ['../hooks/src/**/*.ts'],
9-
outputDir: path.resolve(__dirname, 'types'),
9+
outputDir: path.resolve(__dirname),
1010
rollupTypes: true,
1111
}),
1212
],

0 commit comments

Comments
 (0)