Skip to main content

write_assets

Function write_assets 

Source
pub fn write_assets(root: &Path, assets: &CompiledAssets) -> Result<(), String>
Expand description

Write compiled asset content under root, as <root>/<component-id>/<authored path>.

Nothing is created when no component declares an asset, so a project without assets emits exactly what it emitted before this existed.