Skip to content

Commit 261e96c

Browse files
committed
Alias react/jsx-runtime to preact
1 parent 0239b9b commit 261e96c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugin/transformer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports.transform = async (args) => {
2525
alias: {
2626
react: "preact/compat",
2727
"react-dom": "preact/compat",
28+
"react/jsx-runtime": "preact/jsx-runtime",
2829
},
2930
},
3031
],

0 commit comments

Comments
 (0)