We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
swc-project
Learn more about funding links in repositories.
Report abuse
1 parent 260f806 commit aa7f791Copy full SHA for aa7f791
bindings/Cargo.toml
@@ -16,12 +16,11 @@ resolver = "2"
16
# lto = "fat"
17
18
# debug = true
19
-opt-level = 'z'
+# opt-level = 'z'
20
21
# Strip debug symbols
22
strip = "symbols"
23
24
-codegen-units = 1
25
26
[profile.dev.package."*"]
27
debug-assertions = false
bindings/binding_typescript_wasm/scripts/build.sh
@@ -2,8 +2,8 @@
2
set -eux
3
4
export CARGO_PROFILE_RELEASE_LTO="fat"
5
-# export CARGO_PROFILE_RELEASE_OPT_LEVEL="z"
+export CARGO_PROFILE_RELEASE_OPT_LEVEL="z"
6
wasm-pack build --out-name wasm --release --scope=swc --target nodejs
7
ls -al ./pkg
8
9
-node ./scripts/patch.mjs
+node ./scripts/patch.mjs
0 commit comments