Skip to content

Commit

Permalink
feat(swc_core): Expose preset_env_base (#8537)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 authored Jan 22, 2024
1 parent 6842e64 commit 793f265
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/swc_core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 793f265

Please sign in to comment.