CodeAssetBuildOutputBuilderAdd extension type

Supports emitting code assets for build hooks.

on

Methods

add(CodeAsset asset, {AssetRouting routing = const ToAppBundle()}) → void
Adds the given asset to the hook output with routing.
addAll(Iterable<CodeAsset> assets, {AssetRouting routing = const ToAppBundle()}) → void
Adds the given assets to the hook output with routing.