npm next-pwa, manifest.json

This commit is contained in:
Dobromir Popov
2024-04-06 18:02:06 +03:00
parent 0717433acb
commit 16ffe5fe8f
11 changed files with 5403 additions and 260 deletions

View File

@ -1,6 +1,14 @@
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
const withPWA = require("next-pwa");
module.exports = {
module.exports = withPWA({
pwa: {
dest: "public",
// register: true,
// skipwaiting: true,
// disable: process.env.NODE_ENV === "development",
},
typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
@ -42,4 +50,4 @@ module.exports = {
return config;
},
}
});