Skip to content

Commit 99a6339

Browse files
authored
fix(swc_core): Fix typo in swc_core feature (#9979)
- Fix typo in the `ecma_ast_serde` feature - Add a `ecma_visit_serde` feature
1 parent eebb0ea commit 99a6339

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.changeset/shy-apes-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
swc_core: patch
3+
---
4+
5+
fix: Fix typo in swc_core feature

crates/swc_core/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@ common_concurrent = ["__common", "swc_common/concurrent"]
8888
common_tty = ["__common", "swc_common/tty-emitter"]
8989

9090
# Enable swc_ecma_visit
91-
ecma_visit = ["__visit"]
92-
ecma_visit_path = ["__visit", "swc_ecma_visit/path"]
91+
ecma_visit = ["__visit"]
92+
ecma_visit_path = ["__visit", "swc_ecma_visit/path"]
93+
ecma_visit_serde = ["__visit", "swc_ecma_visit/serde-impl"]
9394

9495
# Enable `quote!` macro support.
9596
ecma_quote = [
@@ -135,7 +136,7 @@ testing_transform = ["__ecma", "__testing_transform"]
135136
# Enable swc_ecma_ast / swc_atoms support.
136137
# TODO: currently both are enabled at once, we may want to separate them.
137138
ecma_ast = ["__ecma", "swc_ecma_ast", "swc_atoms"]
138-
ecma_ast_serde = ["ecma_ast", "swc_ecma_ast/serde-impl", "swc_ecma_visit/serde"]
139+
ecma_ast_serde = ["ecma_ast", "swc_ecma_ast/serde-impl"]
139140

140141
# Enable swc_ecma_parser support.
141142
ecma_parser = ["__parser"]

0 commit comments

Comments
 (0)