File: 2001_swc_sourcemap.patch

package info (click to toggle)
rust-swc-core 35.0.0~ds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (36 lines) | stat: -rw-r--r-- 1,468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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" }