@ktjs/vite-plugin-ktjsx 0.2.4 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,8 @@ light, manual‑control web framework that creates real DOM elements with built
|
|
|
11
11
|
It reuses the shared `@ktjs/transformer` core (also used by `@ktjs/babel-plugin-ktjsx`), so behavior is the same:
|
|
12
12
|
|
|
13
13
|
- mark SVG / MathML subtrees with KT.js namespace flags
|
|
14
|
-
-
|
|
14
|
+
- compile adjacent `k-if` + `k-else` siblings into `KTConditional(...)`
|
|
15
|
+
- warn and leave `k-else-if` unchanged (currently unsupported)
|
|
15
16
|
|
|
16
17
|
Basic usage:
|
|
17
18
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ktjs/vite-plugin-ktjsx",
|
|
3
3
|
"description": "Vite plugin that applies KT.js JSX transforms.",
|
|
4
4
|
"description_zh": "用于应用 KT.js JSX 转换的 Vite 插件。",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.mjs",
|
|
8
8
|
"module": "dist/index.mjs",
|