Skip to content

Commit

Permalink
Fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 18, 2022
1 parent ba7b83e commit 653570a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/next-swc/Cargo.toml
Expand Up @@ -6,5 +6,9 @@ members = [
"crates/wasm"
]

[profile.dev]
# This is to avoid 50K local var error
opt-level = 1

[profile.release]
lto = true

0 comments on commit 653570a

Please sign in to comment.