mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 00:20:04 +01:00
[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
This commit is contained in:
parent
e5f0315efa
commit
12b094d2f6
|
|
@ -6,8 +6,9 @@ export async function measurePerformance(code: string) {
|
|||
configFile: false,
|
||||
babelrc: false,
|
||||
presets: [
|
||||
require.resolve('@babel/preset-env'),
|
||||
require.resolve('@babel/preset-react'),
|
||||
'@babel/preset-typescript',
|
||||
'@babel/preset-env',
|
||||
'@babel/preset-react',
|
||||
],
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user