mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 06:36:08 +03:00
feat(swc_core): Expose plugin proxy to the host env (#7391)
This commit is contained in:
parent
8e6fea8519
commit
05b4c11497
@ -33,8 +33,18 @@ pub mod metadata {
|
||||
}
|
||||
|
||||
/// Proxy to the host's data not attached to the AST, like sourcemap / comments.
|
||||
#[cfg(any(docsrs, feature = "__common_plugin_transform"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "__common_plugin_transform")))]
|
||||
#[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::*;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user