init: pwa

This commit is contained in:
ner committed 2024-10-23 13:32:08 +03:00
1 parent db3a885a55
commit 5470401222
20 files changed
+9060 -351

No files matched your search

+8 -2
View File
@@ -1,6 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: { optimizeCss: true },
experimental: {
optimizeCss: true
},
images: {
remotePatterns: [
{
@@ -11,4 +13,8 @@ const nextConfig = {
}
};
module.exports = nextConfig;
const withPWA = require('next-pwa')({
dest: 'public'
});
module.exports = withPWA(nextConfig);