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

Commit aaae34a

Browse files
committed
chore: use opt level to reduce memory
1 parent 6ad267c commit aaae34a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,10 @@ rome_js_analyze = { path = "./crates/rome_js_analyze" }
7373
schemars = { version = "0.8.10" }
7474

7575

76+
[profile.dev.rome_wasm]
77+
opt-level = 3
78+
debug = true
79+
80+
[profile.release.rome_wasm]
81+
opt-level = 3
82+
debug = false

website/build-netlify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if ! command -v wasm-pack &> /dev/null; then
88
fi
99

1010
if [ "$1" == "preview" ]; then
11-
pnpm build:wasm-dev
11+
pnpm build:wasm
1212
else
1313
pnpm build:wasm
1414
fi

0 commit comments

Comments
 (0)