1.0.1 • Published 9 years ago

apply-static-cache-manifest v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

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.

License: MIT

1.0.1

9 years ago

1.0.0

9 years ago