add workbox configuration
This commit is contained in:
parent
c97e48c51d
commit
1cbf411d95
|
@ -0,0 +1,7 @@
|
||||||
|
module.exports = {
|
||||||
|
"globDirectory": "public/",
|
||||||
|
"globPatterns": [
|
||||||
|
"**/*.{html,css,ico,txt,png,js,json,woff2}"
|
||||||
|
],
|
||||||
|
"swDest": "public/sw.js"
|
||||||
|
};
|
Loading…
Reference in New Issue