diff --git a/crates/oxc_ast/Cargo.toml b/crates/oxc_ast/Cargo.toml index 2e62e2789..32ee0eb2b 100644 --- a/crates/oxc_ast/Cargo.toml +++ b/crates/oxc_ast/Cargo.toml @@ -42,8 +42,8 @@ serialize = [ "dep:tsify", "dep:wasm-bindgen", "oxc_allocator/serialize", + "oxc_regular_expression/serialize", "oxc_span/serialize", "oxc_syntax/serialize", "oxc_syntax/to_js_string", - "oxc_regular_expression/serialize" ] diff --git a/crates/oxc_regular_expression/Cargo.toml b/crates/oxc_regular_expression/Cargo.toml index f148b0e3b..e4e3997f0 100644 --- a/crates/oxc_regular_expression/Cargo.toml +++ b/crates/oxc_regular_expression/Cargo.toml @@ -30,15 +30,9 @@ rustc-hash = { workspace = true } unicode-id-start = { workspace = true } serde = { workspace = true, features = ["derive"], optional = true } -tsify = { workspace = true, optional = true } -wasm-bindgen = { workspace = true, optional = true } +tsify = { workspace = true, optional = true } +wasm-bindgen = { workspace = true, optional = true } [features] -default = [] -serialize = [ - "dep:serde", - "dep:tsify", - "dep:wasm-bindgen", - "oxc_allocator/serialize", - "oxc_span/serialize", -] +default = [] +serialize = ["dep:serde", "dep:tsify", "dep:wasm-bindgen", "oxc_allocator/serialize", "oxc_span/serialize"]