Skip to content

Commit

Permalink
Remove minification causing bugs on production mysqljs/mysql#1655
Browse files Browse the repository at this point in the history
  • Loading branch information
Aran8276 committed Nov 3, 2024
1 parent 8bc3311 commit 0672ce0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ const nextConfig = {
},
],
},
webpack: (config) => {
// Disable minimization
config.optimization.minimize = false;
return config;
},
};

export default nextConfig;

0 comments on commit 0672ce0

Please sign in to comment.