@utoo/pack-shared 1.4.25 → 1.4.26
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 +15 -1
- package/esm/config.d.ts +15 -1
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -346,8 +346,22 @@ export interface BundleOptions {
|
|
|
346
346
|
* Whether to watch the filesystem for file changes.
|
|
347
347
|
*/
|
|
348
348
|
watch?: {
|
|
349
|
-
enable
|
|
349
|
+
enable?: boolean;
|
|
350
350
|
pollIntervalMs?: number;
|
|
351
|
+
/**
|
|
352
|
+
* Paths to ignore when watching. Defaults to `node_modules`.
|
|
353
|
+
* `!node_modules/<regex>` exempts matching dependency package names.
|
|
354
|
+
*/
|
|
355
|
+
ignored?: string[];
|
|
356
|
+
/**
|
|
357
|
+
* Package name regular expressions for dependencies inside node_modules that should still be
|
|
358
|
+
* watched when node_modules is ignored. Patterns are matched against package names such as
|
|
359
|
+
* `rc-util` or `@rc-component/trigger`.
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* `["rc-.*", ".*cssinjs.*", "@rc-component/.*"]`
|
|
363
|
+
*/
|
|
364
|
+
nodeModulesRegexes?: string[];
|
|
351
365
|
};
|
|
352
366
|
/**
|
|
353
367
|
* The mode of utoopack.
|
package/esm/config.d.ts
CHANGED
|
@@ -346,8 +346,22 @@ export interface BundleOptions {
|
|
|
346
346
|
* Whether to watch the filesystem for file changes.
|
|
347
347
|
*/
|
|
348
348
|
watch?: {
|
|
349
|
-
enable
|
|
349
|
+
enable?: boolean;
|
|
350
350
|
pollIntervalMs?: number;
|
|
351
|
+
/**
|
|
352
|
+
* Paths to ignore when watching. Defaults to `node_modules`.
|
|
353
|
+
* `!node_modules/<regex>` exempts matching dependency package names.
|
|
354
|
+
*/
|
|
355
|
+
ignored?: string[];
|
|
356
|
+
/**
|
|
357
|
+
* Package name regular expressions for dependencies inside node_modules that should still be
|
|
358
|
+
* watched when node_modules is ignored. Patterns are matched against package names such as
|
|
359
|
+
* `rc-util` or `@rc-component/trigger`.
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* `["rc-.*", ".*cssinjs.*", "@rc-component/.*"]`
|
|
363
|
+
*/
|
|
364
|
+
nodeModulesRegexes?: string[];
|
|
351
365
|
};
|
|
352
366
|
/**
|
|
353
367
|
* The mode of utoopack.
|