Closed jeremytenjo closed 4 years ago
fixed by removing appShell: '/'
Re-opened as removing appShell: '/' prevents the app from working offline .
Got it working with Workbox
instead
const { GenerateSW } = require('workbox-webpack-plugin')
module.exports = (mode) => {
const isProd = mode === 'production'
return isProd
? new GenerateSW({
exclude: [/\.map$/, /\.br$/],
// for single page apps
navigateFallback: '/',
// exclude firebase namespace pages
navigateFallbackWhitelist: [/^(?!\/__).*/],
})
: () => null
}```
Is is possible to exclude
__/auth
requests?