Skip to content

Commit fdb911f

Browse files
committed
Add prepublishOnly script to package.json for build process
1 parent 8733412 commit fdb911f

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
@@ -30,7 +30,8 @@
3030
"test:client": "vitest",
3131
"test:ssr": "pnpm run test:client --mode ssr",
3232
"test": "concurrently pnpm:test:*",
33-
"format": "prettier -w **/*.{js,ts,json,css,tsx,jsx} --ignore-path .gitignore"
33+
"format": "prettier -w **/*.{js,ts,json,css,tsx,jsx} --ignore-path .gitignore",
34+
"prepublishOnly": "pnpm build"
3435
},
3536
"devDependencies": {
3637
"@astrojs/solid-js": "^2.2.0",

0 commit comments

Comments
 (0)