mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
- Adds experimental.rustReactCompiler config option to the next.js config to opt in. It should be used alongside `config.reactCompiler` and errors if not set. - Only runs the compiler on client code (and SSR), not RSC - When enabled, runs the compiler directly on Turbopack's swc AST with no gen+reparse. This required passing through the original source text into source transforms.
4 lines
89 B
JavaScript
4 lines
89 B
JavaScript
export function c() {
|
|
return 'purposefully empty stub for react/compiler-runtime.js'
|
|
}
|