From ba499c497800aa6efb06191d56b10c6659ef3b1c Mon Sep 17 00:00:00 2001 From: zramsay Date: Wed, 5 Feb 2025 17:05:41 -0500 Subject: [PATCH] use recommended next.config.js --- next.config.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/next.config.js b/next.config.js index 2a66511..f77fde0 100644 --- a/next.config.js +++ b/next.config.js @@ -1,10 +1,8 @@ -const withPlugins = require('next-compose-plugins') -const withBundleAnalyzer = require('@next/bundle-analyzer') +// next.config.js +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: false, + swcMinify: true +} -module.exports = withPlugins( - [withBundleAnalyzer({ enabled: process.env.ANALYZE === 'true' })], - { - reactStrictMode: false, - swcMinify: true - } -) +module.exports = nextConfig