preassembled-worker-boxes
v0.4.0
Published
Allows auto-detecting and baking in one's resource files for caching into a service worker
Downloads
2
Readme
preassembled-worker-boxes
This project is in its early stages and may not work robustly or at all.
This project is meant to help assist you auto-detect your resource files
(those which an entry file imports or relevant fetch
or such statements
found within those files)
We currently have very limited support for syntactic structures
where the resource files can be found. See find-es-resources
.
We use workbox-build to build a service-worker which caches the files that your application fetches, etc.
Install
npm i preassembled-worker-boxes
CLI Usage
See also
Changelog
The changelog can be found on CHANGES.md.
Authors and license
Brett Zamir and contributors.
MIT License, see the included LICENSE-MIT.tx file.
To-dos
- Add binary tests (and get to full coverage).
- Use find-resources to bundle files found during the parsing of HTML and CSS files