Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: use opt level to reduce memory
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jun 13, 2023
1 parent 6ad267c commit aaae34a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,10 @@ rome_js_analyze = { path = "./crates/rome_js_analyze" }
schemars = { version = "0.8.10" }


[profile.dev.rome_wasm]
opt-level = 3
debug = true

[profile.release.rome_wasm]
opt-level = 3
debug = false
2 changes: 1 addition & 1 deletion website/build-netlify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if ! command -v wasm-pack &> /dev/null; then
fi

if [ "$1" == "preview" ]; then
pnpm build:wasm-dev
pnpm build:wasm
else
pnpm build:wasm
fi
Expand Down

0 comments on commit aaae34a

Please sign in to comment.