diff --git a/oca-bundle/bindings/js/example/yarn.lock b/oca-bundle/bindings/js/example/yarn.lock index e949aab..99be57f 100644 --- a/oca-bundle/bindings/js/example/yarn.lock +++ b/oca-bundle/bindings/js/example/yarn.lock @@ -2585,7 +2585,7 @@ object.pick@^1.3.0: isobject "^3.0.1" "oca.js@file:../wasm/pkg": - version "0.3.0-rc.8" + version "0.3.4" once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" diff --git a/oca-bundle/bindings/js/wasm/Cargo.lock b/oca-bundle/bindings/js/wasm/Cargo.lock index 908b410..01cf825 100644 --- a/oca-bundle/bindings/js/wasm/Cargo.lock +++ b/oca-bundle/bindings/js/wasm/Cargo.lock @@ -667,7 +667,7 @@ dependencies = [ [[package]] name = "oca-ast" -version = "0.3.3" +version = "0.3.4" dependencies = [ "env_logger", "indexmap 1.9.3", @@ -682,7 +682,7 @@ dependencies = [ [[package]] name = "oca-bundle" -version = "0.3.3" +version = "0.3.4" dependencies = [ "cascade", "convert_case", @@ -709,11 +709,9 @@ dependencies = [ [[package]] name = "oca-js" -version = "0.3.3" +version = "0.3.4" dependencies = [ "isolang", - "js-sys", - "oca-ast", "oca-bundle", "serde", "serde-wasm-bindgen", diff --git a/oca-bundle/bindings/js/wasm/Cargo.toml b/oca-bundle/bindings/js/wasm/Cargo.toml index a734086..efbeaed 100644 --- a/oca-bundle/bindings/js/wasm/Cargo.toml +++ b/oca-bundle/bindings/js/wasm/Cargo.toml @@ -17,10 +17,14 @@ include = ["src/**/*", "README.md"] [lib] crate-type = ["cdylib"] +[profile.release] +codegen-units = 1 +lto = true +opt-level = "z" +strip = "debuginfo" + [dependencies] isolang = { version = "2.3.0", features = ["serde"] } -js-sys = "0.3.54" -oca-ast = { path = "../../../../oca-ast" } oca-bundle = { path = "../../../../oca-bundle", features = ["format_overlay"] } serde = "1.0.130" serde-wasm-bindgen = "0.5.0"