[mcp] Update plugins (#33082)
Adds typescript support. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33082). * #33085 * #33084 * #33083 * __->__ #33082 * #33101
lauren committed
May 2, 2025 at 13:56 UTC
12b094d2f66b48c0b34cdfdf997fefac373d47a8
1 file changed
+3
-2
compiler/packages/react-mcp-server/src/utils/runtimePerf.ts
+3
-2
@@ -6,8 +6,9 @@ export async function measurePerformance(code: string) {
6
configFile: false,
7
babelrc: false,
8
presets: [
9
- require.resolve('@babel/preset-env'),
10
- require.resolve('@babel/preset-react'),
9
+ '@babel/preset-typescript',
10
+ '@babel/preset-env',
11
+ '@babel/preset-react',
12
],
13
};
14