Skip to content

Commit 80eec49

Browse files
committed
only run vite build on git installs
1 parent ebded08 commit 80eec49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"test:ts": "tsc --noEmit",
2424
"build:client": "openapi-typescript ./api-spec/platform/api.yml --output ./src/generated/types.ts",
2525
"build:lib": "npm run build:client && vite build",
26-
"prepare": "npm run build:lib",
26+
"prepare": "npm run vite build",
2727
"prepublishOnly": "npm run build:lib"
2828
},
2929
"repository": {

0 commit comments

Comments
 (0)