Skip to content

Commit

Permalink
disable react compiler in production build to fix weird bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
yusing committed Feb 6, 2025
1 parent fdd5158 commit ca8518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const config = {
experimental: {
optimizePackageImports: ["@chakra-ui/react"],
reactCompiler: true,
reactCompiler: process.env.NODE_ENV === "development",
},
output: "standalone",
async rewrites() {
Expand Down

0 comments on commit ca8518a

Please sign in to comment.