init: pwa
This commit is contained in:
1 parent
db3a885a55
commit
5470401222
20 files changed
+9060
-351
No files matched your search
+8
-2
@@ -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);
|
||||
Reference in new issue
Block a user