Skip to content

Commit

Permalink
fix(rax-compat): fix createElement (#6814)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbudu599 authored Mar 11, 2024
1 parent 1989fc1 commit 886c4de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-roses-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'rax-compat': patch
---

fix createElement runtime import
3 changes: 2 additions & 1 deletion packages/rax-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"./find-dom-node": "./esm/find-dom-node.js",
"./is-valid-element": "./esm/is-valid-element.js",
"./unmount-component-at-node": "./esm/unmount-component-at-node.js",
"./runtime": "./esm/runtime/index.js",
"./runtime/jsx-dev-runtime": "./esm/runtime/jsx-dev-runtime.js",
"./runtime/jsx-runtime": "./esm/runtime/jsx-runtime.js",
"./es2017": "./es2017/index.js"
Expand Down Expand Up @@ -76,4 +77,4 @@
"author": "ice-admin@alibaba-inc.com",
"license": "MIT",
"homepage": "https://github.com/alibaba/ice#readme"
}
}
1 change: 1 addition & 0 deletions packages/rax-compat/src/runtime/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { createElement } from '../create-element.js';

0 comments on commit 886c4de

Please sign in to comment.