diff --git a/scripts/webpack.client.config.js b/scripts/webpack.client.config.js index 31ab2a7e..b3b88570 100644 --- a/scripts/webpack.client.config.js +++ b/scripts/webpack.client.config.js @@ -68,6 +68,7 @@ module.exports = (options = {}) => merge( }) ].concat(prod ? [ new GenerateSW({ + importWorkboxFrom: "local", include: [cachePattern], runtimeCaching: [{ urlPattern: cachePattern,