Skip to content

Commit 6efbc08

Browse files
authored
[playground] Use default compiler config (facebook#32009)
The playground's compilation mode is currently set to 'all' along with reporting all errors. This tends to be misleading since people usually expect a 1:1 match between how the playground works with what the compiler does in their codebase, eg reactwg/react-compiler#51.
1 parent 7b40208 commit 6efbc08

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/apps/playground/components/Editor/EditorImpl.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ function invokeCompiler(
7878
logEvent: () => {},
7979
},
8080
environment,
81-
compilationMode: 'all',
82-
panicThreshold: 'all_errors',
8381
});
8482
const ast = parseInput(source, language);
8583
let result = transformFromAstSync(ast, source, {

0 commit comments

Comments
 (0)