isotone 1.0.10 → 1.1.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/dist/serve.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  UPDATE_ENDPOINT,
13
13
  startUpdateCheck
14
- } from "./chunk-IKTHHG7T.js";
14
+ } from "./chunk-B3JNZITE.js";
15
15
  import {
16
16
  NOTES_ENDPOINT,
17
17
  ensureFileIgnored,
package/dist/server.js CHANGED
@@ -10,10 +10,10 @@ import {
10
10
  readActive,
11
11
  variantsResponse,
12
12
  writeActive
13
- } from "./chunk-UT2NLGBM.js";
13
+ } from "./chunk-TGAU3WTF.js";
14
14
  import {
15
15
  VARIANTS_ENDPOINT
16
- } from "./chunk-OSETWKGE.js";
16
+ } from "./chunk-PUXQGUMQ.js";
17
17
  import {
18
18
  NOTES_ENDPOINT,
19
19
  PAYLOAD_MAX,
@@ -42,6 +42,14 @@ interface IterationViteOptions {
42
42
  * default: the files are the reviewable artefact and commit with
43
43
  * the change they propose. */
44
44
  ignored?: boolean;
45
+ /**
46
+ * Switch variants in the browser instead of recompiling files. Every
47
+ * version of an overridden script is loaded once, components switch
48
+ * by re-rendering, and the selection is kept in the tab's `?v=`.
49
+ * On by default in a React project on Vite 6 or later; `false` swaps
50
+ * whole files over HMR as before.
51
+ */
52
+ live?: boolean;
45
53
  };
46
54
  }
47
55
  /**