diff --git a/compiler/apps/playground/babel.config.js b/compiler/apps/playground/babel.config.js index 9b9b3cdf52558..900b52dd3028c 100644 --- a/compiler/apps/playground/babel.config.js +++ b/compiler/apps/playground/babel.config.js @@ -9,20 +9,13 @@ module.exports = function (api) { api.cache(true); return { presets: ["next/babel"], - overrides: [ - { - test: /^((?!node_modules).)*$/g, - plugins: [ - [ - "babel-plugin-react-compiler", - { - compilationMode: "infer", - panicThreshold: "NONE", - runtimeModule: "react-compiler-runtime", - }, - ], - ], - }, + plugins: [ + [ + "babel-plugin-react-compiler", + { + runtimeModule: "react-compiler-runtime", + }, + ], ], }; };