Skip to content

Commit

Permalink
remove no longer required serverMinification: false options
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Sep 20, 2024
1 parent ecff3e2 commit fe74186
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions examples/api/next.config.mjs
Original file line number Diff line number Diff line change
@@ -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;
5 changes: 1 addition & 4 deletions examples/create-next-app/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "standalone",
experimental: {
serverMinification: false,
},
output: "standalone"
};

export default nextConfig;

0 comments on commit fe74186

Please sign in to comment.