swc_node_bundler/
lib.rs

1#![cfg_attr(test, feature(test))]
2
3#[cfg(test)]
4extern crate test;
5
6/// Explicit extern crate to use allocator.
7extern crate swc_malloc;
8
9pub mod loaders;
10#[cfg(feature = "swc_v1")]
11pub mod v1;
12#[cfg(feature = "swc_v2")]
13pub mod v2;
14
15#[cfg(all(not(feature = "swc_v1"), not(feature = "swc_v2")))]
16compile_error!("Please enable swc_v1 or swc_v2 feature");