mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
I had forgotten that our default error reporting threshold was `none` due to the fact that build pipelines should not throw errors. This resets it back to throwing on all errors which mostly is the same as the eslint plugin. Closes #32014.
This commit is contained in:
@@ -78,6 +78,7 @@ function invokeCompiler(
|
||||
logEvent: () => {},
|
||||
},
|
||||
environment,
|
||||
panicThreshold: 'all_errors',
|
||||
});
|
||||
const ast = parseInput(source, language);
|
||||
let result = transformFromAstSync(ast, source, {
|
||||
|
||||
Reference in New Issue
Block a user