26 lines
435 B
JavaScript
26 lines
435 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
experimental: {
|
|
optimizeCss: true,
|
|
staleTimes: {
|
|
dynamic: 3600,
|
|
static: 3600
|
|
}
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
const withPWA = require('next-pwa')({
|
|
dest: 'public',
|
|
disable: process.env.NODE_ENV === 'development'
|
|
});
|
|
|
|
module.exports = withPWA(nextConfig);
|