mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +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,
|
configFile: false,
|
||||||
babelrc: false,
|
babelrc: false,
|
||||||
presets: [
|
presets: [
|
||||||
require.resolve('@babel/preset-env'),
|
'@babel/preset-typescript',
|
||||||
require.resolve('@babel/preset-react'),
|
'@babel/preset-env',
|
||||||
|
'@babel/preset-react',
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user