@canac/parcel-plugin-workbox
v1.0.1
Published
Workbox plugin for Parcel
Downloads
2
Readme
parcel-plugin-workbox
Workbox plugin for Parcel. Inspired by parcel-plugin-workbox by @dahnielson.
Install
Install using npm
npm install @canac/parcel-plugin-workbox --save-dev
Usage
Configure the options passed to Workbox's generateSW in the workbox
property of your project's package.json
file. For example:
{
"dependencies": { ... },
"workbox": {
"importScripts": ["./worker.js"],
"sourcemap": false
}
}