@utoo/pack-shared 1.5.19-alpha.0 → 1.5.19
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 +17 -0
- package/esm/config.d.ts +17 -0
- package/package.json +1 -1
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). */
|
|
@@ -317,12 +323,23 @@ export interface ConfigComplete {
|
|
|
317
323
|
swcPlugins?: [string, any][];
|
|
318
324
|
pluginRuntimeStrategy?: "workerThreads" | "childProcesses";
|
|
319
325
|
persistentCaching?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Directory for the persistent cache, lock file and traces.
|
|
328
|
+
* Relative paths resolve from the project path. Defaults to `.turbopack`.
|
|
329
|
+
*/
|
|
330
|
+
cacheDirectory?: string;
|
|
320
331
|
/**
|
|
321
332
|
* Controls memory eviction for the persistent Turbopack cache.
|
|
322
333
|
* Defaults to "auto". Use false to disable eviction or "full" to evict
|
|
323
334
|
* after every snapshot.
|
|
324
335
|
*/
|
|
325
336
|
turbopackMemoryEviction?: boolean | "auto" | "full";
|
|
337
|
+
/**
|
|
338
|
+
* Runs the turbo-tasks reference-counting garbage collector so tasks that
|
|
339
|
+
* become unreachable are dropped from memory during long dev sessions.
|
|
340
|
+
* Defaults to the `TURBO_ENGINE_GC` environment variable (off).
|
|
341
|
+
*/
|
|
342
|
+
turbopackGc?: boolean;
|
|
326
343
|
nodePolyfill?: boolean;
|
|
327
344
|
mdx?: MdxOptions;
|
|
328
345
|
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). */
|
|
@@ -317,12 +323,23 @@ export interface ConfigComplete {
|
|
|
317
323
|
swcPlugins?: [string, any][];
|
|
318
324
|
pluginRuntimeStrategy?: "workerThreads" | "childProcesses";
|
|
319
325
|
persistentCaching?: boolean;
|
|
326
|
+
/**
|
|
327
|
+
* Directory for the persistent cache, lock file and traces.
|
|
328
|
+
* Relative paths resolve from the project path. Defaults to `.turbopack`.
|
|
329
|
+
*/
|
|
330
|
+
cacheDirectory?: string;
|
|
320
331
|
/**
|
|
321
332
|
* Controls memory eviction for the persistent Turbopack cache.
|
|
322
333
|
* Defaults to "auto". Use false to disable eviction or "full" to evict
|
|
323
334
|
* after every snapshot.
|
|
324
335
|
*/
|
|
325
336
|
turbopackMemoryEviction?: boolean | "auto" | "full";
|
|
337
|
+
/**
|
|
338
|
+
* Runs the turbo-tasks reference-counting garbage collector so tasks that
|
|
339
|
+
* become unreachable are dropped from memory during long dev sessions.
|
|
340
|
+
* Defaults to the `TURBO_ENGINE_GC` environment variable (off).
|
|
341
|
+
*/
|
|
342
|
+
turbopackGc?: boolean;
|
|
326
343
|
nodePolyfill?: boolean;
|
|
327
344
|
mdx?: MdxOptions;
|
|
328
345
|
devServer?: DevServerConfig;
|