/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, poweredByHeader: false, compress: true, images: { formats: ["image/avif", "image/webp"], }, webpack: (config, { dev }) => { if (dev) { config.watchOptions = { ...config.watchOptions, poll: 1000, aggregateTimeout: 300, ignored: /node_modules/, }; } return config; }, }; export default nextConfig;