Skip to content

Commit 3b9b0bd

Browse files
committed
fix: add 'prepublishOnly' in package.json
1 parent c6a2a24 commit 3b9b0bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"yarn.lock"
2121
],
2222
"scripts": {
23-
"build": "run tsc && run vite build"
23+
"build": "run tsc && run vite build",
24+
"prepublishOnly": "npm run build"
2425
},
2526
"dependencies": {
2627
"events": "^3.3.0",

0 commit comments

Comments
 (0)