@nuvio/vite-plugin 0.1.0 → 0.5.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 +15 -0
- package/dist/chunk-KTNIIC2D.js +15074 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +63 -207
- package/dist/nuvio-dev-session.d.ts +20 -0
- package/dist/nuvio-dev-session.js +462 -0
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -5,3 +5,18 @@ Vite plugin: dev WebSocket channel, **dev-time source index**, secure file write
|
|
|
5
5
|
**Peer:** `vite` ^5.4 or ^6.
|
|
6
6
|
|
|
7
7
|
See the [Nuvio README](../../README.md) and [CHANGELOG](../../CHANGELOG.md).
|
|
8
|
+
|
|
9
|
+
## Options
|
|
10
|
+
|
|
11
|
+
```ts
|
|
12
|
+
nuvio({
|
|
13
|
+
enabled: true, // default unless NUVIO=0
|
|
14
|
+
classNameMode: "literal-only", // default
|
|
15
|
+
// classNameMode: "cn-basic", // allow simple cn/clsx string-list forms
|
|
16
|
+
});
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`cn-basic` supports only calls like `cn("p-4", "rounded-xl")` / `clsx("p-4", "rounded-xl")`.
|
|
20
|
+
Conditional/object/array/variable patterns remain non-patchable and fail closed.
|
|
21
|
+
|
|
22
|
+
Set `NUVIO=0` to disable the plugin globally in CI/dev runs.
|