Skip to content

Commit

Permalink
Use console error panic hook only in nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
redoC-A2k committed Jun 14, 2024
1 parent 1a4f417 commit eae2633
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions JS/jsonnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ wasm-bindgen-file-reader = "1"
regex = "1.10.3"
js-sys = "0.3.69"
console_error_panic_hook = "0.1.7"
urlencoding = "2.1.3"

[dev-dependencies]
wasm-bindgen-test = "0.3.34"

[features]
nodejs = []
default = ["nodejs"]

2 changes: 1 addition & 1 deletion JS/wasm/crates/arakoo-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ bytes = { version = "1.6.0", features = ["serde"] }
fastrand = "2.1.0"
log = {version = "*"}
env_logger = {version = "*"}
arakoo-jsonnet ={ path = "../../../jsonnet"}
arakoo-jsonnet ={ path = "../../../jsonnet", default-features = false}
jrsonnet-gcmodule = { version = "0.3.6" }
jrsonnet-evaluator = { version = "0.5.0-pre95" }

0 comments on commit eae2633

Please sign in to comment.