Skip to content

Commit 7e03c95

Browse files
committed
[C] Use new JSX transform
Enables us to use react without 'import React'
1 parent a12a0c0 commit 7e03c95

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

client/babel.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
const presets = [
2-
"@babel/preset-react",
2+
[
3+
"@babel/preset-react",
4+
{
5+
runtime: "automatic"
6+
}
7+
],
38
[
49
"@babel/preset-env",
510
{

0 commit comments

Comments
 (0)