From 9b5a43e4bd4d04a3dc51e55478ab5ccbc13c21a8 Mon Sep 17 00:00:00 2001 From: Dean Sheather Date: Mon, 27 May 2019 23:27:30 -0400 Subject: [PATCH] use local workbox to simplify csp Co-Authored-By: Ian Reinhart Geiser --- scripts/webpack.client.config.js | 1 + 1 file changed, 1 insertion(+) 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,