This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
site/workbox-config.js

11 lines
210 B
JavaScript
Raw Normal View History

module.exports = {
globDirectory: 'dist/',
globPatterns: [
'**/*.{png,css,ico,svg,ttf,woff,woff2,js,json}',
'index.html'
],
swSrc: 'src/js/sw.js',
swDest: 'dist/sw.js',
mode: 'production'
}