Skip to content

Commit

Permalink
Merge 34130e7 into 2bb8c9a
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 26, 2023
2 parents 2bb8c9a + 34130e7 commit c923511
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 1,560 deletions.
101 changes: 51 additions & 50 deletions Cargo.lock

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

14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ async-recursion = "1.0.2"
# Keep consistent with preset_env_base through swc_core
browserslist-rs = { version = "0.12.2" }

mdxjs = "0.1.16"
modularize_imports = { version = "0.45.0" }
styled_components = { version = "0.72.0" }
styled_jsx = { version = "0.49.0" }
swc_core = { version = "0.83.12", features = [
mdxjs = "0.1.17"
modularize_imports = { version = "0.48.0" }
styled_components = { version = "0.75.0" }
styled_jsx = { version = "0.52.0" }
swc_core = { version = "0.83.23", features = [
"ecma_loader_lru",
"ecma_loader_parking_lot",
] }
swc_emotion = { version = "0.48.0" }
swc_relay = { version = "0.20.0" }
swc_emotion = { version = "0.51.0" }
swc_relay = { version = "0.23.0" }
testing = { version = "0.34.1" }

auto-hash-map = { path = "crates/turbo-tasks-auto-hash-map" }
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-ecmascript/src/transform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,9 @@ impl EcmascriptInputTransform {
// TODO(WEB-1213)
use_define_for_class_fields: _use_define_for_class_fields,
} => {
use swc_core::ecma::transforms::typescript::strip_with_config;
use swc_core::ecma::transforms::typescript::typescript;
let config = Default::default();
program.visit_mut_with(&mut strip_with_config(config, top_level_mark));
program.visit_mut_with(&mut typescript(config, unresolved_mark));
}
EcmascriptInputTransform::Decorators {
is_legacy,
Expand Down
Loading

0 comments on commit c923511

Please sign in to comment.