Skip to content

Commit 06e1585

Browse files
committed
Configure React automatic runtime in JSC transform
1 parent d45dd74 commit 06e1585

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/preset.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ export const webpackFinal = async (config: Configuration, options: Options) => {
1717
bugfixes: true,
1818
},
1919
jsc: {
20+
transform: {
21+
react: {
22+
runtime: "automatic",
23+
},
24+
},
2025
parser: {
2126
syntax: "typescript",
2227
tsx: true,

0 commit comments

Comments
 (0)