Webpack: don't cache sounds in OfflinePlugin
This commit is contained in:
parent
e1be629051
commit
62124ac024
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue