Skip to content

Commit

Permalink
Merge pull request #2805 from preactjs/jsx-runtime-with-react-alias
Browse files Browse the repository at this point in the history
make jsx-runtime work when using an alias
  • Loading branch information
marvinhagemeister authored Oct 22, 2020
2 parents 080bc19 + 7c87789 commit 415a5ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions compat/jsx-runtime.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('preact/jsx-runtime');
1 change: 1 addition & 0 deletions compat/jsx-runtime.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from 'preact/jsx-runtime';

0 comments on commit 415a5ca

Please sign in to comment.