Skip to content

Commit

Permalink
feat(next-binding): reexports
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Nov 23, 2022
1 parent dd2bd13 commit 839ca84
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions crates/next-binding/src/lib.rs
@@ -0,0 +1,53 @@
#[cfg(feature = "__swc")]
pub mod swc {
#[cfg(feature = "__swc_core")]
pub mod core {
pub use swc_core::*;
}

#[cfg(feature = "__swc_custom_transform")]
pub mod custom_transform {
#[cfg(feature = "__swc_transform_styled_components")]
pub mod styled_components {
pub use styled_components::*;
}
#[cfg(feature = "__swc_transform_styled_jsx")]
pub mod styled_jsx {
pub use styuled_jsx::*;
}
#[cfg(feature = "__swc_transform_emotion")]
pub mod emotion {
pub use swc_emotion::*;
}
#[cfg(feature = "__swc_transform_modularize_imports")]
pub mod modularize_imports {
pub use modularize_imports::*;
}
}

#[cfg(feature = "testing")]
pub mod testing {
pub use testing::*;
}
}

#[cfg(feature = "__turbo")]
pub mod turbo {
#[cfg(feature = "__feature_next_dev_server")]
pub mod dev_server {
pub use next_dev::*;
}

#[cfg(feature = "__feature_node_file_trace")]
pub mod node_file_trace {
pub use node_file_trace::*;
}
}

#[cfg(feature = "__features")]
pub mod features {
#[cfg(feature = "__feature_mdx_rs")]
pub mod mdx {
pub use mdxjs::*;
}
}

0 comments on commit 839ca84

Please sign in to comment.