Description: avoid not-in-Debian crate swc_sourcemap
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-08-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/crates/swc_common/Cargo.toml
+++ b/crates/swc_common/Cargo.toml
@@ -26,7 +26,6 @@
 plugin-base      = ["__plugin", "rkyv-impl", "diagnostic-serde"]
 plugin-mode      = ["__plugin_mode", "plugin-base"]
 plugin-rt        = ["__plugin_rt", "plugin-base"]
-sourcemap        = ["dep:swc_sourcemap"]
 
 plugin_transform_schema_v1    = []
 plugin_transform_schema_vtest = []
@@ -51,7 +50,6 @@
 rustc-hash            = { workspace = true }
 serde                 = { workspace = true, features = ["derive"] }
 siphasher             = { workspace = true }
-swc_sourcemap         = { workspace = true, optional = true }
 termcolor             = { workspace = true, optional = true }
 tracing               = { workspace = true }
 unicode-width         = { workspace = true }
--- a/crates/swc_html_codegen/Cargo.toml
+++ b/crates/swc_html_codegen/Cargo.toml
@@ -27,9 +27,6 @@
 swc_html_utils          = { version = "14.0.0", path = "../swc_html_utils" }
 
 [dev-dependencies]
-swc_common = { version = "14.0.2", path = "../swc_common", features = [
-  "sourcemap",
-] }
 swc_html_parser = { version = "14.0.0", path = "../swc_html_parser" }
 swc_html_visit = { version = "14.0.0", path = "../swc_html_visit" }
 testing = { version = "15.0.0", path = "../testing" }
