Skip to content

Commit

Permalink
Alias react/jsx-runtime to preact
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed May 15, 2022
1 parent 0239b9b commit 261e96c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugin/transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports.transform = async (args) => {
alias: {
react: "preact/compat",
"react-dom": "preact/compat",
"react/jsx-runtime": "preact/jsx-runtime",
},
},
],
Expand Down

0 comments on commit 261e96c

Please sign in to comment.