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