Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 4, 2022
1 parent 166295a commit f0a1a4a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
@@ -1,7 +1,7 @@
use swc_core::{
common::errors::HANDLER,
ecma::ast::ExportAll,
ecma::transforms::pass::Optional,
ecma::transforms::base::pass::Optional,
ecma::visit::{noop_fold_type, Fold},
};

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/core/src/lib.rs
Expand Up @@ -42,7 +42,7 @@ use swc_core::{
common::{chain, comments::Comments, pass::Optional, FileName, SourceFile, SourceMap},
ecma::ast::EsVersion,
ecma::parser::parse_file_as_module,
ecma::transforms::pass::noop,
ecma::transforms::base::pass::noop,
ecma::visit::Fold,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/core/tests/full.rs
Expand Up @@ -4,7 +4,7 @@ use std::path::{Path, PathBuf};
use swc_core::{
base::Compiler,
ecma::parser::{Syntax, TsConfig},
ecma::transforms::pass::noop,
ecma::transforms::base::pass::noop,
};
use testing::{NormalizedOutput, Tester};

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/core/tests/telemetry.rs
Expand Up @@ -9,7 +9,7 @@ use once_cell::sync::Lazy;
use swc_core::{
base::{try_with_handler, Compiler},
common::{FileName, FilePathMapping, SourceMap},
ecma::transforms::pass::noop,
ecma::transforms::base::pass::noop,
};

static COMPILER: Lazy<Arc<Compiler>> = Lazy::new(|| {
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/napi/src/transform.rs
Expand Up @@ -45,7 +45,7 @@ use std::{
use swc_core::{
base::{try_with_handler, Compiler, TransformOutput},
common::{errors::ColorConfig, FileName},
ecma::transforms::pass::noop,
ecma::transforms::base::pass::noop,
};

/// Input to transform
Expand Down
Expand Up @@ -5,7 +5,7 @@ use styled_components::{styled_components, Config};
use swc_core::{
common::{chain, Mark},
ecma::parser::{EsConfig, Syntax},
ecma::transforms::resolver,
ecma::transforms::base::resolver,
ecma::transforms::testing::test_fixture,
};

Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/styled_jsx/tests/fixture.rs
Expand Up @@ -4,7 +4,7 @@ use styled_jsx::styled_jsx;
use swc_core::{
common::{chain, FileName, Mark, Span, DUMMY_SP},
ecma::parser::{EsConfig, Syntax},
ecma::transforms::resolver,
ecma::transforms::base::resolver,
ecma::transforms::testing::{test_fixture, test_fixture_allowing_error},
};
use testing::fixture;
Expand Down
2 changes: 1 addition & 1 deletion packages/next-swc/crates/wasm/src/lib.rs
Expand Up @@ -9,7 +9,7 @@ use wasm_bindgen_futures::future_to_promise;
use swc_core::{
base::{config::JsMinifyOptions, config::ParseOptions, try_with_handler, Compiler},
common::{comments::Comments, errors::ColorConfig, FileName, FilePathMapping, SourceMap},
ecma::transforms::pass::noop,
ecma::transforms::base::pass::noop,
};

fn convert_err(err: Error) -> JsValue {
Expand Down

0 comments on commit f0a1a4a

Please sign in to comment.