Skip to content

Commit ba257a7

Browse files
committed
chore(build): update build scripts to ensure proper package building
1 parent 6d8428c commit ba257a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
"packages/observables/package.json"
2525
],
2626
"scripts": {
27-
"postinstall": "npm run build",
28-
"build": "npm run build --workspaces",
27+
"postinstall": "npm run build:packages",
28+
"build": "npm run build:packages",
29+
"build:packages": "npm run build --workspaces --if-present",
2930
"lint": "npm run lint:es",
3031
"lint:es": "eslint --flag unstable_native_nodejs_ts_config .",
3132
"prepare": "husky",

0 commit comments

Comments
 (0)