Exclude manifest.json precaching
This commit is contained in:
parent
bcba1dd35a
commit
641aa62da0
|
@ -29,7 +29,7 @@ module.exports = withWorkbox(withBundleAnalyzer({
|
|||
},
|
||||
workbox: {
|
||||
swSrc: 'src/serviceWorker.js',
|
||||
exclude: ['/manifest.json'],
|
||||
exclude: [/manifest.json$/i],
|
||||
},
|
||||
webpack: (config, { isServer, webpack }) => {
|
||||
if (!isServer) {
|
||||
|
|
Loading…
Reference in a new issue