Archived
1
0

Merge pull request #834 from cdr/fix-sw-path

Fix service worker path
This commit is contained in:
Dean Sheather
2019-07-08 22:36:27 +00:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@ -68,6 +68,7 @@ module.exports = (options = {}) => merge(
})
].concat(prod ? [
new GenerateSW({
importWorkboxFrom: "local",
include: [cachePattern],
runtimeCaching: [{
urlPattern: cachePattern,