API Reference / @gtkx/config / @gtkx/config / ReactCompilerOptions
Type Alias: ReactCompilerOptions
ReactCompilerOptions =
object
Defined in: packages/config/src/config.ts:11
Object form of the reactCompiler config key, forwarded to babel-plugin-react-compiler.
Properties
compilationMode?
optionalcompilationMode?:"all"|"annotation"|"infer"|"syntax"
Defined in: packages/config/src/config.ts:17
Which functions the React Compiler processes.
Default Value
"infer", the React Compiler's own default
panicThreshold?
optionalpanicThreshold?:"all_errors"|"critical_errors"|"none"
Defined in: packages/config/src/config.ts:23
Which React Compiler diagnostics fail the build.
Default Value
"none", the React Compiler's own default