apply-static-cache-manifest
v1.0.1
Published
Basic find and replace of file names to their cached versions.
Downloads
4
Readme
apply-static-cache-manifest
Extremely basic find and replace to update file references with their cached equivalents.
Intended for use with the output of copy-with-content-hash
.
installation
npm install apply-static-cache-manifest
usage
copy-with-content-hash path/to/foo.js -o builddir > cache-manifest.json
apply-static-cache-manifest -m cache-manifest.json -o builddir index.html
The above will ensure that the built index.html
references the cached version of foo.js
.