From 8bad6559a680ab65142d22ab5090eabb91d0e50b Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Sat, 27 Apr 2024 15:38:16 -0500 Subject: [PATCH] Remove webpack customization --- next.config.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/next.config.js b/next.config.js index 829197c8..f0ff1b30 100644 --- a/next.config.js +++ b/next.config.js @@ -35,13 +35,6 @@ const nextConfig = { .concat(createRemotePattern(HOSTNAME_AWS_S3)), minimumCacheTTL: 31536000, }, - webpack: (config) => { - config.optimization ??= {}; - if (process.env.NODE_ENV !== 'production') { - config.optimization.minimize = false; - } - return config; - }, }; const withBundleAnalyzer = require('@next/bundle-analyzer')({