Skip to content

Commit

Permalink
disable inner graph optimizations #46
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Oct 14, 2024
1 parent d25cb51 commit dbb105c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ const config = {
experimental: {
serverComponentsExternalPackages: ["pino", "pino-pretty"],
},
webpack: (config, { isServer }) => {
if (!isServer) {
config.optimization.innerGraph = false;
}
return config;
},
};

export default config;

0 comments on commit dbb105c

Please sign in to comment.