@utoo/pack-shared 1.4.0-alpha.3 → 1.4.0-alpha.4
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 +6 -1
- package/esm/config.d.ts +6 -1
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -317,6 +317,11 @@ export interface BundleOptions {
|
|
|
317
317
|
* The build id.
|
|
318
318
|
*/
|
|
319
319
|
buildId?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Whether to enable default utoopack tracing logs.
|
|
322
|
+
* Defaults to true.
|
|
323
|
+
*/
|
|
324
|
+
tracing?: boolean;
|
|
320
325
|
/**
|
|
321
326
|
* Absolute path for `@utoo/pack`.
|
|
322
327
|
*/
|
|
@@ -327,7 +332,7 @@ export interface BundleOptions {
|
|
|
327
332
|
* Bundler options (entry, output, define, ...) at top level,
|
|
328
333
|
* plus optional CLI/runtime options (processEnv, watch, dev, ...).
|
|
329
334
|
*/
|
|
330
|
-
export type UserConfig = ConfigComplete & Partial<Pick<BundleOptions, "processEnv" | "watch" | "dev" | "buildId" | "packPath">> & {
|
|
335
|
+
export type UserConfig = ConfigComplete & Partial<Pick<BundleOptions, "processEnv" | "watch" | "dev" | "buildId" | "tracing" | "packPath">> & {
|
|
331
336
|
rootPath?: string;
|
|
332
337
|
projectPath?: string;
|
|
333
338
|
};
|
package/esm/config.d.ts
CHANGED
|
@@ -317,6 +317,11 @@ export interface BundleOptions {
|
|
|
317
317
|
* The build id.
|
|
318
318
|
*/
|
|
319
319
|
buildId?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Whether to enable default utoopack tracing logs.
|
|
322
|
+
* Defaults to true.
|
|
323
|
+
*/
|
|
324
|
+
tracing?: boolean;
|
|
320
325
|
/**
|
|
321
326
|
* Absolute path for `@utoo/pack`.
|
|
322
327
|
*/
|
|
@@ -327,7 +332,7 @@ export interface BundleOptions {
|
|
|
327
332
|
* Bundler options (entry, output, define, ...) at top level,
|
|
328
333
|
* plus optional CLI/runtime options (processEnv, watch, dev, ...).
|
|
329
334
|
*/
|
|
330
|
-
export type UserConfig = ConfigComplete & Partial<Pick<BundleOptions, "processEnv" | "watch" | "dev" | "buildId" | "packPath">> & {
|
|
335
|
+
export type UserConfig = ConfigComplete & Partial<Pick<BundleOptions, "processEnv" | "watch" | "dev" | "buildId" | "tracing" | "packPath">> & {
|
|
331
336
|
rootPath?: string;
|
|
332
337
|
projectPath?: string;
|
|
333
338
|
};
|