@llui/vite-plugin 0.0.2 → 0.0.4

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.
Files changed (2) hide show
  1. package/README.md +12 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,24 +30,20 @@ llui({
30
30
 
31
31
  The compiler runs 3 passes over every `.ts`/`.tsx` file using the TypeScript Compiler API:
32
32
 
33
- | Pass | Name | Description |
34
- | ---- | --------------- | ------------------------------------------------------------------------ |
35
- | 1 | Prop split | Rewrites element helpers to `elSplit()`/`elTemplate()` for template cloning. Separates static props (set once at mount) from dynamic props (updated on state change). |
36
- | 2 | Mask injection | Analyzes state dependencies, assigns bitmask bits to state paths, injects `__dirty(oldState, newState)` per component. Rewrites `text()` and binding callbacks with mask guards. |
37
- | 3 | Import cleanup | Removes unused imports introduced or made redundant by earlier passes. |
33
+ | Pass | Name | Description |
34
+ | ---- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35
+ | 1 | Prop split | Rewrites element helpers to `elSplit()`/`elTemplate()` for template cloning. Separates static props (set once at mount) from dynamic props (updated on state change). |
36
+ | 2 | Mask injection | Analyzes state dependencies, assigns bitmask bits to state paths, injects `__dirty(oldState, newState)` per component. Rewrites `text()` and binding callbacks with mask guards. |
37
+ | 3 | Import cleanup | Removes unused imports introduced or made redundant by earlier passes. |
38
38
 
39
39
  ## Diagnostics
40
40
 
41
41
  The compiler emits warnings for common issues:
42
42
 
43
- | Diagnostic | Description |
44
- | ------------------------- | ------------------------------------------------ |
45
- | Missing alt attribute | Accessibility: `img` without `alt` |
46
- | Non-exhaustive update | `update()` switch missing msg type cases |
47
- | Empty props | Element helper called with empty props object |
48
- | Namespace imports | `import * as` prevents tree-shaking |
49
- | Spread children | Spread in children array defeats static analysis |
50
-
51
- ## License
52
-
53
- MIT
43
+ | Diagnostic | Description |
44
+ | --------------------- | ------------------------------------------------ |
45
+ | Missing alt attribute | Accessibility: `img` without `alt` |
46
+ | Non-exhaustive update | `update()` switch missing msg type cases |
47
+ | Empty props | Element helper called with empty props object |
48
+ | Namespace imports | `import * as` prevents tree-shaking |
49
+ | Spread children | Spread in children array defeats static analysis |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llui/vite-plugin",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {