swc/ecmascript/src/lib.rs
강동윤 4cdb45ff2e
feat(swc): Improve swc as a crate (#2026)
]swc_ecmascript:
 - Expose `swc_ecma_preset_env`.

swc:
 - Expose `swc_atoms`.
 - Expose `swc_common`.
 - Expose `swc_ecmascript`.
2021-08-07 02:41:50 +09:00

16 lines
493 B
Rust

pub use swc_ecma_ast as ast;
#[cfg(feature = "codegen")]
pub use swc_ecma_codegen as codegen;
#[cfg(feature = "dep_graph")]
pub use swc_ecma_dep_graph as dep_graph;
#[cfg(feature = "parser")]
pub use swc_ecma_parser as parser;
#[cfg(feature = "preset_env")]
pub use swc_ecma_preset_env as preset_env;
#[cfg(feature = "transforms")]
pub use swc_ecma_transforms as transforms;
#[cfg(feature = "utils")]
pub use swc_ecma_utils as utils;
#[cfg(feature = "visit")]
pub use swc_ecma_visit as visit;