Add pwa
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2021-11-15 14:23:40 +01:00
parent 36186c2ed9
commit 8184aaf7b5
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
3 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,9 @@ module.exports = (phase, { defaultConfig }) => {
return withPWA({ return withPWA({
reactStrictMode: true, reactStrictMode: true,
pwa: { pwa: {
dest: "src/public", dest: "public",
register: true,
skipWaiting: true,
runtimeCaching, runtimeCaching,
}, },
}); });

File diff suppressed because one or more lines are too long