Skip to content

Commit 6dd73a4

Browse files
authored
Update build command in package.json
some d.ts files will generate after build. type-check fails when those files aren't generated. That is why we should build first
1 parent f152224 commit 6dd73a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/config/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"scripts": {
3-
"build": "run-p type-check \"build-only {@}\" --",
3+
"build": "run-p build-only \"type-check {@}\" --",
44
"build-only": "vite build",
55
"type-check": "vue-tsc --build"
66
},

0 commit comments

Comments
 (0)