Skip to content

Commit 11b153c

Browse files
committed
🎉 feat: fragment
1 parent 466443b commit 11b153c

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.6.4 - 8 Sep 2023
2+
Bug fix:
3+
- Fix createElement not rendering
4+
15
# 0.6.3 - 8 Sep 2023
26
Improvement:
37
- Switch to Kita

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"license": "MIT",
3030
"scripts": {
3131
"dev": "bun run --watch example/index.tsx",
32-
"test": "bun wiptest && npm run test:node",
32+
"test": "bun test && npm run test:node",
3333
"test:node": "npm install --prefix ./test/node/cjs/ && npm install --prefix ./test/node/esm/ && node ./test/node/cjs/index.js && node ./test/node/esm/index.js",
3434
"build": "rimraf dist && tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
3535
"release": "npm run build && npm run test && npm publish --access public"

src/declaration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// @ts-ignore
2-
const { compile, Fragment } = require('@kitajs/html')
2+
const { createElement, Fragment } = require('@kitajs/html')
33

44
// @ts-ignore
5-
globalThis.ElysiaJSX = compile
5+
globalThis.ElysiaJSX = createElement
66
// @ts-ignore
77
globalThis.ElysiaJSX.Fragment = Fragment
88

0 commit comments

Comments
 (0)