Skip to content

Commit

Permalink
fix: temporarily disable react compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 2, 2025
1 parent 0810340 commit 5cbaefa
Show file tree
Hide file tree
Showing 3 changed files with 369 additions and 746 deletions.
3 changes: 2 additions & 1 deletion packages/visual-editing/package.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default defineConfig({
manualPureFunctions: ['createElement', 'forwardRef', 'memo', 'styled'],
},
},
babel: {reactCompiler: true},
// @TODO re-enable once Next.js issues with React.useMemoCache has been resolved
babel: {reactCompiler: false},
reactCompilerOptions: {target: '18'},
})
1 change: 0 additions & 1 deletion packages/visual-editing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@
"@sanity/preview-url-secret": "workspace:*",
"@vercel/stega": "0.1.2",
"get-random-values-esm": "^1.0.2",
"react-compiler-runtime": "19.0.0-beta-201e55d-20241215",
"rxjs": "^7.8.1",
"scroll-into-view-if-needed": "^3.1.0",
"use-effect-event": "^1.0.2",
Expand Down
Loading

0 comments on commit 5cbaefa

Please sign in to comment.