@jxsuite/compiler 2.0.8 → 3.0.0

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 CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Overview
6
6
 
7
- The compiler transforms Jx `.json` documents into optimized production artifacts. It erases all Jx abstractions at build time — the output is plain HTML/CSS/JS with no JSON and no Jx-specific code shipped to browsers.
7
+ The compiler transforms Jx `.json` documents into optimized production artifacts. It erases all Jx abstractions at build time. The output is plain HTML/CSS/JS with no JSON and no Jx-specific code shipped to browsers.
8
8
 
9
9
  ## Installation
10
10
 
@@ -34,13 +34,13 @@ const { html, files } = await compile("./counter.json", {
34
34
 
35
35
  The compiler auto-detects the appropriate output target:
36
36
 
37
- | Route | Condition | Output |
38
- | ------------------ | -------------------------------- | --------------------------------- |
39
- | 0 — Class | Input is `.class.json` | ES class module |
40
- | 1 — Static | No dynamic bindings | Plain HTML/CSS, zero JS |
41
- | 2 — Custom element | Root `tagName` contains a hyphen | `HTMLElement` subclass + lit-html |
42
- | 3 — Dynamic page | Dynamic, standard `tagName` | Pre-rendered HTML + reactive JS |
43
- | 4 — Server | Has `timing: "server"` entries | Hono server handler |
37
+ | Route | Condition | Output |
38
+ | ----------------- | -------------------------------- | --------------------------------- |
39
+ | 0: Class | Input is `.class.json` | ES class module |
40
+ | 1: Static | No dynamic bindings | Plain HTML/CSS, zero JS |
41
+ | 2: Custom element | Root `tagName` contains a hyphen | `HTMLElement` subclass + lit-html |
42
+ | 3: Dynamic page | Dynamic, standard `tagName` | Pre-rendered HTML + reactive JS |
43
+ | 4: Server | Has `timing: "server"` entries | Hono server handler |
44
44
 
45
45
  ## Site builder
46
46