Assets Pack
Create an asset map file for use with hashed file names.
Overview
Setup
Assets Pack
is included in the complete
and default
editions.
Current Release
npm install --save-dev @packmule/assets-pack
Nightly Build
npm install --save-dev @packmule/assets-pack@nightly
API
AssetsPack()
Usage
The AssetsPack
is best used in combination with the packmule hash
option.
Example
import Packmule from '@packmule/core';
import AssetsPack from '@packmule/assets-pack';
const packmule = new Packmule();
packmule.add(new AssetsPack());
return packmule.generate();