Webpack: fix some warnings from OfflinePlugin

This commit is contained in:
Alex Gleason 2021-09-10 19:39:39 -05:00
parent ec474ba4c2
commit 1c39e1b086
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 3 deletions

View File

@ -33,10 +33,7 @@ module.exports = merge(sharedConfig, {
'**/*.woff2', // the user may have system-fonts enabled
// images can be cached on-demand
'**/*.png',
'**/*.jpg',
'**/*.jpeg',
'**/*.svg',
'**/*.mp3',
],
},
externals: [
@ -77,6 +74,7 @@ module.exports = merge(sharedConfig, {
// cacheName: 'soapbox',
// minify: true,
// },
safeToUseOptionalCaches: true,
}),
],
});