metalsmith-service-worker
v2.0.0
Published
A Metalsmith plugin to generate a service worker cache.
Downloads
3
Readme
metalsmith-service-worker
A Metalsmith plugin to generate a service worker cache.
Install
$ npm install metalsmith-service-worker --save
Usage
const serviceWorker = require('metalsmith-service-worker');
metalsmith.use(serviceWorker(options));
Options
| Name | Default |
|-------------|-----------------------------|
| cacheName
| metalsmith-service-worker
|
| fileName
| service-worker.js
|