@utoo/pack-shared 1.5.19-alpha.0 → 1.5.19-alpha.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/cjs/config.d.ts CHANGED
@@ -165,6 +165,12 @@ export interface DevServerConfig {
165
165
  hot?: boolean;
166
166
  /** Register HMR chunk lists as dynamic chunks are loaded. */
167
167
  dynamicHmrChunkLists?: boolean;
168
+ /**
169
+ * Defer compiling the targets of client `import()` calls until the browser
170
+ * first requests them. Development only; pair with `dynamicHmrChunkLists`
171
+ * so lazily loaded modules keep receiving HMR updates.
172
+ */
173
+ lazyDynamicImports?: boolean;
168
174
  /** Port to listen on. */
169
175
  port?: number;
170
176
  /** Host to bind (e.g. localhost, 0.0.0.0). */
@@ -323,6 +329,12 @@ export interface ConfigComplete {
323
329
  * after every snapshot.
324
330
  */
325
331
  turbopackMemoryEviction?: boolean | "auto" | "full";
332
+ /**
333
+ * Runs the turbo-tasks reference-counting garbage collector so tasks that
334
+ * become unreachable are dropped from memory during long dev sessions.
335
+ * Defaults to the `TURBO_ENGINE_GC` environment variable (off).
336
+ */
337
+ turbopackGc?: boolean;
326
338
  nodePolyfill?: boolean;
327
339
  mdx?: MdxOptions;
328
340
  devServer?: DevServerConfig;
package/esm/config.d.ts CHANGED
@@ -165,6 +165,12 @@ export interface DevServerConfig {
165
165
  hot?: boolean;
166
166
  /** Register HMR chunk lists as dynamic chunks are loaded. */
167
167
  dynamicHmrChunkLists?: boolean;
168
+ /**
169
+ * Defer compiling the targets of client `import()` calls until the browser
170
+ * first requests them. Development only; pair with `dynamicHmrChunkLists`
171
+ * so lazily loaded modules keep receiving HMR updates.
172
+ */
173
+ lazyDynamicImports?: boolean;
168
174
  /** Port to listen on. */
169
175
  port?: number;
170
176
  /** Host to bind (e.g. localhost, 0.0.0.0). */
@@ -323,6 +329,12 @@ export interface ConfigComplete {
323
329
  * after every snapshot.
324
330
  */
325
331
  turbopackMemoryEviction?: boolean | "auto" | "full";
332
+ /**
333
+ * Runs the turbo-tasks reference-counting garbage collector so tasks that
334
+ * become unreachable are dropped from memory during long dev sessions.
335
+ * Defaults to the `TURBO_ENGINE_GC` environment variable (off).
336
+ */
337
+ turbopackGc?: boolean;
326
338
  nodePolyfill?: boolean;
327
339
  mdx?: MdxOptions;
328
340
  devServer?: DevServerConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack-shared",
3
- "version": "1.5.19-alpha.0",
3
+ "version": "1.5.19-alpha.1",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",