metalsmith-fingerprint-patch
v1.1.0
Published
Patch html files to update fingerprinted files reference
Downloads
2
Readme
metalsmith-fingerprint-patch
Patch html files after assets fingerprinting.
Usage
Javascript API
const metalsmith = require('metalsmith');
const fingerprint = require('metalsmith-fingerprint');
const fingerprintPatch = require('metalsmith-fingerprint-patch');
metalsmith(__dirname)
.use(fingerprint({
pattern: 'assets/**',
}))
.use(fingerprintPatch())
.build();