Skip to content

Commit 415a5ca

Browse files
Merge pull request #2805 from preactjs/jsx-runtime-with-react-alias
make jsx-runtime work when using an alias
2 parents 080bc19 + 7c87789 commit 415a5ca

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compat/jsx-runtime.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('preact/jsx-runtime');

compat/jsx-runtime.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from 'preact/jsx-runtime';

0 commit comments

Comments
 (0)