apply-static-cache-manifest

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i apply-static-cache-manifest

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • lancestout