this supports asset caching + proper handling of the /env.js file (might have lead to config errors in previous versions)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
module.exports = {
|
||||
"globDirectory": "public/",
|
||||
"globPatterns": [
|
||||
"**/*.{js,ico,png,svg,html,txt}"
|
||||
],
|
||||
"swDest": "public/sw.js"
|
||||
};
|
||||
globDirectory: 'public',
|
||||
globPatterns: [ '**/*.{js,ico,png,svg,html,webmanifest,txt}' ],
|
||||
globIgnores: [ 'env.js', 'env.sample.js' ],
|
||||
swDest: 'public/sw.js'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user