sforkowany z mirror/soapbox
Webpack: fix some warnings from OfflinePlugin
rodzic
ec474ba4c2
commit
1c39e1b086
|
@ -33,10 +33,7 @@ module.exports = merge(sharedConfig, {
|
||||||
'**/*.woff2', // the user may have system-fonts enabled
|
'**/*.woff2', // the user may have system-fonts enabled
|
||||||
// images can be cached on-demand
|
// images can be cached on-demand
|
||||||
'**/*.png',
|
'**/*.png',
|
||||||
'**/*.jpg',
|
|
||||||
'**/*.jpeg',
|
|
||||||
'**/*.svg',
|
'**/*.svg',
|
||||||
'**/*.mp3',
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
externals: [
|
externals: [
|
||||||
|
@ -77,6 +74,7 @@ module.exports = merge(sharedConfig, {
|
||||||
// cacheName: 'soapbox',
|
// cacheName: 'soapbox',
|
||||||
// minify: true,
|
// minify: true,
|
||||||
// },
|
// },
|
||||||
|
safeToUseOptionalCaches: true,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue