From 793f2651a8c44c43cde8b83d4f98eda6e274676c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donny/=EA=B0=95=EB=8F=99=EC=9C=A4?= Date: Mon, 22 Jan 2024 17:51:26 +0900 Subject: [PATCH] feat(swc_core): Expose `preset_env_base` (#8537) --- crates/swc_core/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/swc_core/src/lib.rs b/crates/swc_core/src/lib.rs index 9a6ca3204f77..2637d9eabda8 100644 --- a/crates/swc_core/src/lib.rs +++ b/crates/swc_core/src/lib.rs @@ -30,6 +30,12 @@ pub extern crate swc_ecma_quote_macros; )] pub mod plugin; +#[cfg(feature = "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 {