Skip to main content

collect_plugin_assets

Function collect_plugin_assets 

Source
pub fn collect_plugin_assets(plugin_types: &[String]) -> CollectedAssets
Expand description

Collect and deduplicate assets from a list of plugin type names.

Given the set of plugin types used on a page, looks up each plugin in the global registry and aggregates their CSS assets, JS assets, and init scripts. Assets are deduplicated by URL.