pwa app is now working

This commit is contained in:
Dobromir Popov
2024-04-07 01:10:26 +03:00
parent e4e3f9581a
commit 807bb35973
5 changed files with 102 additions and 10 deletions

View File

@ -1,6 +1,10 @@
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
module.exports = {
const withPWA = require('next-pwa')({
dest: 'public'
})
module.exports = withPWA({
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
@ -42,4 +46,4 @@ module.exports = {
return config;
},
}
})