From 62124ac024dd5098aa9a57c8cee2a9e6a27377b3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 6 Sep 2021 19:20:47 -0500 Subject: [PATCH] Webpack: don't cache sounds in OfflinePlugin --- webpack/production.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack/production.js b/webpack/production.js index 989ae4225..b92604043 100644 --- a/webpack/production.js +++ b/webpack/production.js @@ -64,6 +64,9 @@ module.exports = merge(sharedConfig, { '**/*.ttf', '**/*-webfont-*.svg', '**/*.woff', + // Sounds return a 206 causing sw.js to crash + // https://stackoverflow.com/a/66335638 + 'sounds/**/*', // Don't cache index.html 'index.html', ],