Add pwa
This commit is contained in:
parent
36186c2ed9
commit
8184aaf7b5
@ -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
Loading…
Reference in New Issue
Block a user