Skip to content

Commit f503238

Browse files
authored
Build package in prepack instead of prepublish (#4493)
1 parent c9204ee commit f503238

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
@@ -53,7 +53,8 @@
5353
"test:watch": "vitest",
5454
"test:cov": "vitest --coverage",
5555
"build": "rollup -c",
56-
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build",
56+
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test",
57+
"prepack": "yarn build",
5758
"examples:lint": "eslint --ext js,ts examples",
5859
"examples:test": "cross-env CI=true babel-node examples/testAll.js",
5960
"tsc": "tsc"

0 commit comments

Comments
 (0)