frontend/workbox-config.js
Philipp Dormann bc66ebbf0a
All checks were successful
continuous-integration/drone/push Build is passing
PWA optimizations
this supports asset caching + proper handling of the /env.js file (might have lead to config errors in previous versions)
2021-01-07 18:16:36 +01:00

7 lines
182 B
JavaScript

module.exports = {
globDirectory: 'public',
globPatterns: [ '**/*.{js,ico,png,svg,html,webmanifest,txt}' ],
globIgnores: [ 'env.js', 'env.sample.js' ],
swDest: 'public/sw.js'
};