Skip to content

Commit

Permalink
chore: 🤖 update more submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Nov 30, 2022
1 parent 0548db1 commit 743a200
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions crates/swc_core/Cargo.toml
Expand Up @@ -99,11 +99,13 @@ ecma_utils = ["__utils", "__common"]

# Enable swc_ecma_transforms base features
ecma_transforms = ["__ecma_transforms"]
ecma_transforms_compat = ["__ecma_transforms", "swc_ecma_transforms_compat"]
ecma_transforms_module = ["__ecma_transforms", "swc_ecma_transforms_module"]
ecma_transforms_optimization = [
"__ecma_transforms",
"swc_ecma_transforms_optimization",
]
ecma_transforms_proposal = ["__ecma_transforms", "swc_ecma_transforms_proposal"]
ecma_transforms_react = ["__ecma_transforms", "swc_ecma_transforms_react"]
ecma_transforms_typescript = [
"__ecma_transforms",
Expand Down Expand Up @@ -340,6 +342,7 @@ swc_ecma_parser = { optional = true, version = "0.122.32", path
swc_ecma_preset_env = { optional = true, version = "0.174.65", path = "../swc_ecma_preset_env" }
swc_ecma_quote_macros = { optional = true, version = "0.33.33", path = "../swc_ecma_quote_macros" }
swc_ecma_transforms_base = { optional = true, version = "0.111.59", path = "../swc_ecma_transforms_base" }
swc_ecma_transforms_compat = { optional = true, version = "0.136.52", path = "../swc_ecma_transforms_compat" }
swc_ecma_transforms_module = { optional = true, version = "0.153.56", path = "../swc_ecma_transforms_module" }
swc_ecma_transforms_optimization = { optional = true, version = "0.167.64", path = "../swc_ecma_transforms_optimization" }
swc_ecma_transforms_proposal = { optional = true, version = "0.144.52", path = "../swc_ecma_transforms_proposal" }
Expand Down
10 changes: 10 additions & 0 deletions crates/swc_core/src/lib.rs
Expand Up @@ -61,6 +61,16 @@ pub mod ecma {
pub mod module {
pub use swc_ecma_transforms_module::*;
}
#[cfg(feature = "ecma_transforms_proposal")]
#[cfg_attr(docsrs, doc(cfg(feature = "transforms_proposal")))]
pub mod proposal {
pub use swc_ecma_transforms_proposal::*;
}
#[cfg(feature = "ecma_transforms_compat")]
#[cfg_attr(docsrs, doc(cfg(feature = "transforms_compat")))]
pub mod compat {
pub use swc_ecma_transforms_compat::*;
}
#[cfg(feature = "__testing_transform")]
#[cfg_attr(docsrs, doc(cfg(feature = "__testing_transform")))]
pub mod testing {
Expand Down

0 comments on commit 743a200

Please sign in to comment.