mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
Revert "enable optimize for size by default in release"
chromebooks suck
This reverts commit 4497455a01
.
This commit is contained in:
parent
1efcf85373
commit
66549e50fe
2 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
"build": "rspack build --mode production",
|
||||
"rewriter:build": "cd rewriter/wasm/ && bash build.sh && cd ../../",
|
||||
"dev": "node server.js",
|
||||
"prepack": "OPTIMIZE_FOR_SIZE=1 RELEASE=1 npm run rewriter:build && npm run build",
|
||||
"prepack": "RELEASE=1 npm run rewriter:build && npm run build",
|
||||
"pub": "npm publish --no-git-checks --access public",
|
||||
"format": "prettier --config .prettierrc.js --write .",
|
||||
"lint": "eslint ./src/",
|
||||
|
|
|
@ -14,8 +14,6 @@ if ! [[ "$(wasm-bindgen -V)" =~ ^"$WBG" ]]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "FLAGS: RELEASE=${RELEASE:-0} OPTIMIZE_FOR_SIZE=${OPTIMIZE_FOR_SIZE:-0}"
|
||||
|
||||
if ! [ "${RELEASE:-0}" = "1" ]; then
|
||||
: "${WASMOPTFLAGS:=-g}"
|
||||
: "${FEATURES:=debug}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue