mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
fix(building-utils): dont precache legacy files
This commit is contained in:
committed by
Lars den Bakker
parent
b524ada7f3
commit
20ece8df0d
@@ -5,6 +5,7 @@ const path = require('path');
|
||||
module.exports = function getWorkboxConfig(outputDir) {
|
||||
const workboxConfigPath = path.join(process.cwd(), 'workbox-config.js');
|
||||
const defaultWorboxConfig = {
|
||||
globIgnores: ['/legacy/*.js'],
|
||||
navigateFallback: '/index.html',
|
||||
// where to output the generated sw
|
||||
swDest: path.join(process.cwd(), outputDir, 'sw.js'),
|
||||
|
||||
Reference in New Issue
Block a user