Merge branch 'oopsie-auth-again' into 'develop'

Webpack: don't cache sounds in OfflinePlugin

See merge request soapbox-pub/soapbox-fe!727
public-report
Alex Gleason 2021-09-07 00:33:28 +00:00
commit 3dd8d8a886
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -64,6 +64,9 @@ module.exports = merge(sharedConfig, {
'**/*.ttf', '**/*.ttf',
'**/*-webfont-*.svg', '**/*-webfont-*.svg',
'**/*.woff', '**/*.woff',
// Sounds return a 206 causing sw.js to crash
// https://stackoverflow.com/a/66335638
'sounds/**/*',
// Don't cache index.html // Don't cache index.html
'index.html', 'index.html',
], ],