add workbox configuration

This commit is contained in:
Geoff Doty 2020-09-19 22:26:32 -04:00
parent c97e48c51d
commit 1cbf411d95
1 changed files with 7 additions and 0 deletions

7
workbox-config.js Normal file
View File

@ -0,0 +1,7 @@
module.exports = {
"globDirectory": "public/",
"globPatterns": [
"**/*.{html,css,ico,txt,png,js,json,woff2}"
],
"swDest": "public/sw.js"
};