diff --git a/Cargo.lock b/Cargo.lock index 5a22a4312b59..724dd58dcd93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3983,8 +3983,6 @@ dependencies = [ name = "rspack_swc_visitors" version = "0.1.0" dependencies = [ - "once_cell", - "regex", "rspack_error", "serde", "swc_core", diff --git a/crates/rspack_swc_visitors/Cargo.toml b/crates/rspack_swc_visitors/Cargo.toml index 930c3ef3707b..63fbb9146abc 100644 --- a/crates/rspack_swc_visitors/Cargo.toml +++ b/crates/rspack_swc_visitors/Cargo.toml @@ -8,8 +8,6 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -once_cell = { workspace = true } -regex = { workspace = true } rspack_error = { path = "../rspack_error" } serde = { workspace = true, features = ["derive"] } swc_core = { workspace = true, features = [