#[cfg(any(
docsrs,
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
))]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "__common_plugin_transform",
feature = "__css_plugin_transform"
)))
)]
pub use swc_plugin_macro::css_plugin_transform;
#[cfg(any(
docsrs,
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
))]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
)))
)]
pub use swc_plugin_macro::plugin_transform;
#[cfg(all(feature = "__common_plugin_transform", target_arch = "wasm32"))]
pub mod memory {
pub use swc_plugin::allocation::*;
}
#[cfg(any(
docsrs,
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
))]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
)))
)]
pub mod errors {
pub use swc_common::errors::HANDLER;
}
#[cfg(any(
docsrs,
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
))]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "__common_plugin_transform",
feature = "__css_plugin_transform",
feature = "__ecma_plugin_transform"
)))
)]
pub mod metadata {
pub use swc_common::plugin::metadata::TransformPluginMetadataContextKind;
pub use swc_plugin_proxy::TransformPluginProgramMetadata;
}
#[cfg(any(
docsrs,
feature = "__common_plugin_transform",
feature = "__plugin_transform_host"
))]
#[cfg_attr(
docsrs,
doc(cfg(any(
feature = "__common_plugin_transform",
feature = "__plugin_transform_host"
)))
)]
pub mod proxies {
pub use swc_plugin_proxy::*;
}