From 4277fa7afaec845ecf0351831f3379cc0e020f17 Mon Sep 17 00:00:00 2001 From: Nicolas Brugneaux Date: Thu, 6 Jul 2023 10:23:15 +0200 Subject: [PATCH] fix: reenable minification without swc (#141) --- next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 277e45d7..00153a24 100755 --- a/next.config.js +++ b/next.config.js @@ -3,7 +3,7 @@ const webpack = require('webpack'); const nextConfig = { reactStrictMode: false, - swcMinify: true, + swcMinify: false, webpack: (config) => { config.resolve.fallback = { fs: false, net: false, tls: false }; config.plugins.push( @@ -11,7 +11,7 @@ const nextConfig = { banner: 'For third party licenses check /THIRD_PARTY_LICENSES.txt', }) ); - config.optimization.minimizer = []; + // config.optimization.minimizer = []; return config; }, async headers() {