diff --git a/.changeset/rare-brooms-serve.md b/.changeset/rare-brooms-serve.md new file mode 100644 index 000000000000..f466f39ee716 --- /dev/null +++ b/.changeset/rare-brooms-serve.md @@ -0,0 +1,5 @@ +--- +swc_core: patch +--- + +fix: remove unused preset env usage diff --git a/crates/swc_core/src/lib.rs b/crates/swc_core/src/lib.rs index 305c429d55d8..89b7165fb3f6 100644 --- a/crates/swc_core/src/lib.rs +++ b/crates/swc_core/src/lib.rs @@ -32,12 +32,6 @@ pub extern crate swc_ecma_quote_macros; )] pub mod plugin; -#[cfg(feature = "ecma_preset_env")] -#[cfg_attr(docsrs, doc(cfg(feature = "preset_env")))] -pub mod preset_env { - pub use preset_env_base::*; -} - #[cfg(feature = "__ecma")] #[cfg_attr(docsrs, doc(cfg(feature = "__ecma")))] pub mod ecma {