From fe741861ddfcff48258dc3cb37785d2aa4702739 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Fri, 20 Sep 2024 11:48:48 +0100 Subject: [PATCH] remove no longer required `serverMinification: false` options --- examples/api/next.config.mjs | 5 ----- examples/create-next-app/next.config.mjs | 5 +---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/examples/api/next.config.mjs b/examples/api/next.config.mjs index f9a6d1d..8c8bab6 100644 --- a/examples/api/next.config.mjs +++ b/examples/api/next.config.mjs @@ -1,11 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: "standalone", - experimental: { - // IMPORTANT: this option is necessary for the chunks hack since that relies on the webpack-runtime.js file not being minified - // (since we regex-replace relying on specific variable names) - serverMinification: false, - }, }; export default nextConfig; diff --git a/examples/create-next-app/next.config.mjs b/examples/create-next-app/next.config.mjs index 52316df..68dea63 100644 --- a/examples/create-next-app/next.config.mjs +++ b/examples/create-next-app/next.config.mjs @@ -1,9 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - output: "standalone", - experimental: { - serverMinification: false, - }, + output: "standalone" }; export default nextConfig;