Skip to content

Commit

Permalink
Ignore preinstall if does not exist locally
Browse files Browse the repository at this point in the history
  • Loading branch information
abtestingalpha committed Oct 10, 2024
1 parent d89c524 commit 77c2848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/synapse-constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lint:check": "eslint . --max-warnings=0 --config .eslintrc.cjs",
"prepare": "rollup -c --bundleConfigAsCjs",
"build": "rollup -c --bundleConfigAsCjs",
"preinstall": "yarn build",
"preinstall": "command -v rollup >/dev/null 2>&1 && rollup -c --buildConfigAsCjs || echo 'rollup not found'",
"prepublish": "yarn build",
"maps:generate": "node ./src/scripts/generateMaps.cjs && node ./src/scripts/findMissing.cjs && yarn build"
},
Expand Down

0 comments on commit 77c2848

Please sign in to comment.