@utoo/pack-shared 1.6.6 → 1.6.8
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 +10 -3
- package/esm/config.d.ts +10 -3
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -222,6 +222,13 @@ export interface ConfigComplete {
|
|
|
222
222
|
mode?: "production" | "development";
|
|
223
223
|
module?: ModuleOptions;
|
|
224
224
|
resolve?: ResolveOptions;
|
|
225
|
+
/** Named filesystem roots that symlinked dependencies can resolve into. */
|
|
226
|
+
additionalRoots?: Record<string, {
|
|
227
|
+
/** Directory to make available. Relative paths resolve from the project path. */
|
|
228
|
+
path: string;
|
|
229
|
+
/** Skip this root if the directory does not exist. Defaults to false. */
|
|
230
|
+
ignoreIfMissing?: boolean;
|
|
231
|
+
}>;
|
|
225
232
|
/**
|
|
226
233
|
* External dependencies for client and Node-target builds. Server entries and
|
|
227
234
|
* Server Functions also use this map unless `server.externals` is provided.
|
|
@@ -366,9 +373,9 @@ export interface ConfigComplete {
|
|
|
366
373
|
*/
|
|
367
374
|
turbopackMemoryEviction?: boolean | "auto" | "full";
|
|
368
375
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
376
|
+
* Collects unreachable TurboTasks work during persistent cache snapshots.
|
|
377
|
+
* Defaults to `true`. Set to `false` to disable it. GC during background
|
|
378
|
+
* snapshots requires memory eviction.
|
|
372
379
|
*/
|
|
373
380
|
turbopackGc?: boolean;
|
|
374
381
|
nodePolyfill?: boolean;
|
package/esm/config.d.ts
CHANGED
|
@@ -222,6 +222,13 @@ export interface ConfigComplete {
|
|
|
222
222
|
mode?: "production" | "development";
|
|
223
223
|
module?: ModuleOptions;
|
|
224
224
|
resolve?: ResolveOptions;
|
|
225
|
+
/** Named filesystem roots that symlinked dependencies can resolve into. */
|
|
226
|
+
additionalRoots?: Record<string, {
|
|
227
|
+
/** Directory to make available. Relative paths resolve from the project path. */
|
|
228
|
+
path: string;
|
|
229
|
+
/** Skip this root if the directory does not exist. Defaults to false. */
|
|
230
|
+
ignoreIfMissing?: boolean;
|
|
231
|
+
}>;
|
|
225
232
|
/**
|
|
226
233
|
* External dependencies for client and Node-target builds. Server entries and
|
|
227
234
|
* Server Functions also use this map unless `server.externals` is provided.
|
|
@@ -366,9 +373,9 @@ export interface ConfigComplete {
|
|
|
366
373
|
*/
|
|
367
374
|
turbopackMemoryEviction?: boolean | "auto" | "full";
|
|
368
375
|
/**
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
376
|
+
* Collects unreachable TurboTasks work during persistent cache snapshots.
|
|
377
|
+
* Defaults to `true`. Set to `false` to disable it. GC during background
|
|
378
|
+
* snapshots requires memory eviction.
|
|
372
379
|
*/
|
|
373
380
|
turbopackGc?: boolean;
|
|
374
381
|
nodePolyfill?: boolean;
|