Module swc_common::plugin::metadata

source ·


  • Host side metadata context plugin may need to access. This is a global context - any plugin in single transform will have same values.


  • Indexable key to the metadata context for a transform plugin, avoiding serialization & allocation to the host by using incremental number. TransformPluginMetadataContext does not implement Index trait, instead host does manual matching to corresponding value.