Skip to content

Commit 50b2eac

Browse files
authored
fix(es): Use default-features = false for swc crate usages (#10776)
1 parent 5fe4629 commit 50b2eac

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.changeset/blue-beers-raise.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
swc_core: patch
3+
swc_estree_compat: patch
4+
---
5+
6+
fix: make default_features empty by default

.changeset/quiet-dolphins-brush.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
swc_core: major
3+
swc_estree_compat: major
4+
---
5+
6+
fix(es): Use `default-features = false` for `swc` crate usages

crates/swc_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ par-core = { workspace = true, optional = true }
347347

348348
# swc_* dependencies
349349
binding_macros = { optional = true, version = "29.0.0", path = "../binding_macros" }
350-
swc = { optional = true, version = "29.1.1", path = "../swc" }
350+
swc = { optional = true, version = "29.1.1", path = "../swc", default-features = false }
351351
swc_allocator = { version = "4.0.1", path = "../swc_allocator", default-features = false }
352352
swc_atoms = { optional = true, version = "6.0.1", path = "../swc_atoms" }
353353
swc_bundler = { optional = true, version = "23.0.1", path = "../swc_bundler" }

crates/swc_estree_compat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ swc_node_comments = { version = "13.0.0", path = "../swc_node_comments/" }
3939
codspeed-criterion-compat = { workspace = true }
4040
pretty_assertions = { workspace = true }
4141

42-
swc = { version = "29.1.1", path = "../swc" }
42+
swc = { version = "29.1.1", path = "../swc", default-features = false }
4343
swc_ecma_ast = { version = "13.0.1", path = "../swc_ecma_ast" }
4444
swc_ecma_parser = { version = "18.0.2", path = "../swc_ecma_parser" }
4545
swc_ecma_transforms = { version = "23.0.1", path = "../swc_ecma_transforms/" }

0 commit comments

Comments
 (0)