Webpack: don't cache sounds in OfflinePlugin

This commit is contained in:
Alex Gleason 2021-09-06 19:20:47 -05:00
parent e1be629051
commit 62124ac024
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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',
],