Home > @rushstack/module-minifier-plugin > rehydrateAsset

rehydrateAsset() function

Rehydrates an asset with minified modules.

Signature:

export declare function rehydrateAsset(asset: IAssetInfo, moduleMap: IModuleMap, banner: string): Source;

Parameters

Parameter Type Description
asset IAssetInfo The asset
moduleMap IModuleMap The minified modules
banner string A banner to inject for license information

Returns:

Source