@samitouri / QOS-React-2 / commits / 0f58454803

[compiler:playground] Update babel.config.js

Use new defaults ghstack-source-id: d2da1df69db9f1b01578af6d52ea4a2613769f9b Pull Request resolved: https://github.com/facebook/react/pull/29205

Lauren Tan committed May 21, 2024 at 17:51 UTC 0f584548038335d3aa36d2dbc379cde664158eb3
1 file changed +7 -14
compiler/apps/playground/babel.config.js
+7 -14
@@ -9,20 +9,13 @@ module.exports = function (api) {
9 api.cache(true);
10 return {
11 presets: ["next/babel"],
12 - overrides: [
13 - {
14 - test: /^((?!node_modules).)*$/g,
15 - plugins: [
16 - [
17 - "babel-plugin-react-compiler",
18 - {
19 - compilationMode: "infer",
20 - panicThreshold: "NONE",
21 - runtimeModule: "react-compiler-runtime",
22 - },
23 - ],
24 - ],
25 - },
12 + plugins: [
13 + [
14 + "babel-plugin-react-compiler",
15 + {
16 + runtimeModule: "react-compiler-runtime",
17 + },
18 + ],
19 ],
20 };
21 };