@utoo/pack-shared 1.4.0-alpha.0 → 1.4.0-alpha.2
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 +7 -1
- package/esm/config.d.ts +7 -1
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export interface ConfigComplete {
|
|
|
234
234
|
react?: {
|
|
235
235
|
runtime?: "automatic" | "classic";
|
|
236
236
|
importSource?: string;
|
|
237
|
+
absoluteSourceFilename?: boolean;
|
|
237
238
|
};
|
|
238
239
|
stats?: boolean;
|
|
239
240
|
swcPlugins?: [string, any][];
|
|
@@ -316,6 +317,11 @@ export interface BundleOptions {
|
|
|
316
317
|
* The build id.
|
|
317
318
|
*/
|
|
318
319
|
buildId?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Whether to enable default utoopack tracing logs.
|
|
322
|
+
* Defaults to true.
|
|
323
|
+
*/
|
|
324
|
+
tracing?: boolean;
|
|
319
325
|
/**
|
|
320
326
|
* Absolute path for `@utoo/pack`.
|
|
321
327
|
*/
|
|
@@ -326,7 +332,7 @@ export interface BundleOptions {
|
|
|
326
332
|
* Bundler options (entry, output, define, ...) at top level,
|
|
327
333
|
* plus optional CLI/runtime options (processEnv, watch, dev, ...).
|
|
328
334
|
*/
|
|
329
|
-
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">> & {
|
|
330
336
|
rootPath?: string;
|
|
331
337
|
projectPath?: string;
|
|
332
338
|
};
|
package/esm/config.d.ts
CHANGED
|
@@ -234,6 +234,7 @@ export interface ConfigComplete {
|
|
|
234
234
|
react?: {
|
|
235
235
|
runtime?: "automatic" | "classic";
|
|
236
236
|
importSource?: string;
|
|
237
|
+
absoluteSourceFilename?: boolean;
|
|
237
238
|
};
|
|
238
239
|
stats?: boolean;
|
|
239
240
|
swcPlugins?: [string, any][];
|
|
@@ -316,6 +317,11 @@ export interface BundleOptions {
|
|
|
316
317
|
* The build id.
|
|
317
318
|
*/
|
|
318
319
|
buildId?: string;
|
|
320
|
+
/**
|
|
321
|
+
* Whether to enable default utoopack tracing logs.
|
|
322
|
+
* Defaults to true.
|
|
323
|
+
*/
|
|
324
|
+
tracing?: boolean;
|
|
319
325
|
/**
|
|
320
326
|
* Absolute path for `@utoo/pack`.
|
|
321
327
|
*/
|
|
@@ -326,7 +332,7 @@ export interface BundleOptions {
|
|
|
326
332
|
* Bundler options (entry, output, define, ...) at top level,
|
|
327
333
|
* plus optional CLI/runtime options (processEnv, watch, dev, ...).
|
|
328
334
|
*/
|
|
329
|
-
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">> & {
|
|
330
336
|
rootPath?: string;
|
|
331
337
|
projectPath?: string;
|
|
332
338
|
};
|