Skip to content

Commit ce7eed2

Browse files
committed
chore(jsxDev): add jsx dev runtime
1 parent bdcd6ef commit ce7eed2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"exports": {
2222
".": "./src/index.ts",
2323
"./jsx-runtime": "./src/jsx-runtime.ts",
24+
"./jsx-dev-runtime": "./src/jsx-runtime.ts",
2425
"./babel-plugin-transform-jsx": "./src/babel-plugin-transform-jsx.cjs"
2526
},
2627
"homepage": "https://github.com/plusnew/webcomponent#readme",
@@ -43,4 +44,4 @@
4344
"prettier": "^3.3.3",
4445
"typescript": "^5.7.0"
4546
}
46-
}
47+
}

src/jsx-runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ShadowHostElement } from "./types";
22
import { PLUSNEW_ELEMENT_TYPE } from "./types";
33

44
export { Fragment } from "./types";
5-
export type { JSX } from "./types"
5+
export type { JSX } from "./types";
66

77
export function jsx(
88
type: string,

0 commit comments

Comments
 (0)