@fluixi/babel-plugin-jsx 1.0.0-alpha.75 → 1.0.0-alpha.77
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 +9 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,7 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
## ✨ Overview
|
|
17
17
|
|
|
18
|
-
`@fluixi/babel-plugin-jsx`
|
|
18
|
+
`@fluixi/babel-plugin-jsx` transforms JSX at build time into direct, surgical DOM operations wired to signals — so updates touch only the nodes that actually change, with no diffing and no virtual DOM. It pairs with the runtime in [`@fluixi/jsx`](../jsx).
|
|
19
|
+
|
|
20
|
+
> **You probably want [`@fluixi/vite-plugin`](../vite-plugin) instead.** Fluixi compiles
|
|
21
|
+
> through [`@fluixi/compiler`](../compiler), which has no babel dependency, handles
|
|
22
|
+
> `` html`` `` templates as well as JSX, and is where component resolution, `load:`
|
|
23
|
+
> strategies and the `$` intrinsics live. This plugin exists for a build that has to run
|
|
24
|
+
> through babel — an existing babel pipeline whose own plugins need to see the output, or a
|
|
25
|
+
> toolchain with no Vite in it. It compiles JSX and nothing else.
|
|
19
26
|
|
|
20
27
|
## 📦 Installation
|
|
21
28
|
|
|
@@ -55,7 +62,7 @@ into fine-grained DOM instructions that update only the text node bound to `coun
|
|
|
55
62
|
## 📋 Requirements
|
|
56
63
|
|
|
57
64
|
- **@babel/core** ≥ 7.27
|
|
58
|
-
- Use together with [`@fluixi/jsx`](../jsx
|
|
65
|
+
- Use together with [`@fluixi/jsx`](../jsx) at runtime.
|
|
59
66
|
|
|
60
67
|
## 📄 License
|
|
61
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluixi/babel-plugin-jsx",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.77",
|
|
4
4
|
"description": "Compiles JSX into fine-grained reactive DOM calls for Fluixi — no virtual DOM.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@babel/generator": "^7.29.1",
|
|
32
32
|
"@babel/helper-plugin-utils": "^7.27.1",
|
|
33
33
|
"@babel/preset-typescript": "^7.28.5",
|
|
34
|
-
"@fluixi/compiler": "1.0.0-alpha.
|
|
34
|
+
"@fluixi/compiler": "1.0.0-alpha.77"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@bambiste/mix-builder": "^0.1.0",
|