swc_ecma_compat_es2020/
export_namespace_from.rs1use swc_ecma_ast::Pass;
2use swc_ecma_compiler::{Compiler, Features};
3
4pub fn export_namespace_from() -> impl Pass {
5 Compiler::new(swc_ecma_compiler::Config {
6 includes: Features::EXPORT_NAMESPACE_FROM,
7 ..Default::default()
8 })
9}