@rspack/core 1.0.0-beta.3 → 1.0.0-beta.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/dist/Compilation.d.ts +1 -7
- package/dist/Compilation.js +5 -13
- package/dist/DependenciesBlock.d.ts +8 -0
- package/dist/DependenciesBlock.js +30 -0
- package/dist/Dependency.d.ts +8 -0
- package/dist/Dependency.js +32 -0
- package/dist/Module.d.ts +6 -3
- package/dist/Module.js +13 -0
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +4 -4
- package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +18 -11
- package/dist/config/defaults.js +9 -6
- package/dist/config/zod.d.ts +199 -79
- package/dist/config/zod.js +10 -5
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/stats/DefaultStatsFactoryPlugin.d.ts +0 -10
- package/dist/stats/DefaultStatsFactoryPlugin.js +130 -90
- package/dist/stats/DefaultStatsPresetPlugin.js +16 -15
- package/dist/stats/StatsFactory.js +5 -6
- package/dist/stats/statsFactoryUtils.d.ts +14 -1
- package/dist/stats/statsFactoryUtils.js +62 -1
- package/package.json +3 -3
package/dist/config/zod.d.ts
CHANGED
|
@@ -4576,7 +4576,7 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
4576
4576
|
export type ModuleOptions = z.infer<typeof moduleOptions>;
|
|
4577
4577
|
declare const target: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>;
|
|
4578
4578
|
export type Target = z.infer<typeof target>;
|
|
4579
|
-
export declare const externalsType: z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>;
|
|
4579
|
+
export declare const externalsType: z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>;
|
|
4580
4580
|
export type ExternalsType = z.infer<typeof externalsType>;
|
|
4581
4581
|
declare const externalItemValue: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>;
|
|
4582
4582
|
export type ExternalItemValue = z.infer<typeof externalItemValue>;
|
|
@@ -4634,7 +4634,7 @@ declare const externalItem: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.Zo
|
|
|
4634
4634
|
contextInfo?: {
|
|
4635
4635
|
issuer: string;
|
|
4636
4636
|
} | undefined;
|
|
4637
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4637
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4638
4638
|
context: z.ZodOptional<z.ZodString>;
|
|
4639
4639
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
4640
4640
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -4686,7 +4686,7 @@ declare const externals: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUni
|
|
|
4686
4686
|
contextInfo?: {
|
|
4687
4687
|
issuer: string;
|
|
4688
4688
|
} | undefined;
|
|
4689
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4689
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4690
4690
|
context: z.ZodOptional<z.ZodString>;
|
|
4691
4691
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
4692
4692
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -4736,7 +4736,7 @@ declare const externals: z.ZodUnion<[z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUni
|
|
|
4736
4736
|
contextInfo?: {
|
|
4737
4737
|
issuer: string;
|
|
4738
4738
|
} | undefined;
|
|
4739
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4739
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4740
4740
|
context: z.ZodOptional<z.ZodString>;
|
|
4741
4741
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
4742
4742
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -4822,31 +4822,31 @@ export type InfrastructureLogging = z.infer<typeof infrastructureLogging>;
|
|
|
4822
4822
|
declare const devTool: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["eval", "cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-source-map", "inline-nosources-cheap-module-source-map", "inline-nosources-source-map", "nosources-cheap-source-map", "nosources-cheap-module-source-map", "nosources-source-map", "hidden-nosources-cheap-source-map", "hidden-nosources-cheap-module-source-map", "hidden-nosources-source-map", "hidden-cheap-source-map", "hidden-cheap-module-source-map", "hidden-source-map", "eval-cheap-source-map", "eval-cheap-module-source-map", "eval-source-map", "eval-nosources-cheap-source-map", "eval-nosources-cheap-module-source-map", "eval-nosources-source-map"]>]>;
|
|
4823
4823
|
export type DevTool = z.infer<typeof devTool>;
|
|
4824
4824
|
declare const nodeOptions: z.ZodObject<{
|
|
4825
|
-
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
4826
|
-
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
4825
|
+
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
4826
|
+
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
4827
4827
|
global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
|
|
4828
4828
|
}, "strict", z.ZodTypeAny, {
|
|
4829
4829
|
global?: boolean | "warn" | undefined;
|
|
4830
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4831
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4830
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4831
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4832
4832
|
}, {
|
|
4833
4833
|
global?: boolean | "warn" | undefined;
|
|
4834
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4835
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4834
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4835
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4836
4836
|
}>;
|
|
4837
4837
|
export type NodeOptions = z.infer<typeof nodeOptions>;
|
|
4838
4838
|
declare const node: z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4839
|
-
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
4840
|
-
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
4839
|
+
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
4840
|
+
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
4841
4841
|
global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
|
|
4842
4842
|
}, "strict", z.ZodTypeAny, {
|
|
4843
4843
|
global?: boolean | "warn" | undefined;
|
|
4844
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4845
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4844
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4845
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4846
4846
|
}, {
|
|
4847
4847
|
global?: boolean | "warn" | undefined;
|
|
4848
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4849
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
4848
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4849
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
4850
4850
|
}>]>;
|
|
4851
4851
|
export type Node = z.infer<typeof node>;
|
|
4852
4852
|
declare const loader: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -4928,14 +4928,17 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4928
4928
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
4929
4929
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
4930
4930
|
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
4931
|
+
cachedAssets: z.ZodOptional<z.ZodBoolean>;
|
|
4931
4932
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
4933
|
+
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
4934
|
+
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
4932
4935
|
}, "strict", z.ZodTypeAny, {
|
|
4933
4936
|
publicPath?: boolean | undefined;
|
|
4934
4937
|
hash?: boolean | undefined;
|
|
4935
4938
|
all?: boolean | undefined;
|
|
4936
4939
|
chunks?: boolean | undefined;
|
|
4937
|
-
providedExports?: boolean | undefined;
|
|
4938
4940
|
usedExports?: boolean | undefined;
|
|
4941
|
+
providedExports?: boolean | undefined;
|
|
4939
4942
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
4940
4943
|
assets?: boolean | undefined;
|
|
4941
4944
|
modules?: boolean | undefined;
|
|
@@ -5002,14 +5005,17 @@ declare const statsOptions: z.ZodObject<{
|
|
|
5002
5005
|
errorStack?: boolean | undefined;
|
|
5003
5006
|
moduleTrace?: boolean | undefined;
|
|
5004
5007
|
cachedModules?: boolean | undefined;
|
|
5008
|
+
cachedAssets?: boolean | undefined;
|
|
5005
5009
|
cached?: boolean | undefined;
|
|
5010
|
+
errorsSpace?: number | undefined;
|
|
5011
|
+
warningsSpace?: number | undefined;
|
|
5006
5012
|
}, {
|
|
5007
5013
|
publicPath?: boolean | undefined;
|
|
5008
5014
|
hash?: boolean | undefined;
|
|
5009
5015
|
all?: boolean | undefined;
|
|
5010
5016
|
chunks?: boolean | undefined;
|
|
5011
|
-
providedExports?: boolean | undefined;
|
|
5012
5017
|
usedExports?: boolean | undefined;
|
|
5018
|
+
providedExports?: boolean | undefined;
|
|
5013
5019
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5014
5020
|
assets?: boolean | undefined;
|
|
5015
5021
|
modules?: boolean | undefined;
|
|
@@ -5076,7 +5082,10 @@ declare const statsOptions: z.ZodObject<{
|
|
|
5076
5082
|
errorStack?: boolean | undefined;
|
|
5077
5083
|
moduleTrace?: boolean | undefined;
|
|
5078
5084
|
cachedModules?: boolean | undefined;
|
|
5085
|
+
cachedAssets?: boolean | undefined;
|
|
5079
5086
|
cached?: boolean | undefined;
|
|
5087
|
+
errorsSpace?: number | undefined;
|
|
5088
|
+
warningsSpace?: number | undefined;
|
|
5080
5089
|
}>;
|
|
5081
5090
|
export type StatsOptions = z.infer<typeof statsOptions>;
|
|
5082
5091
|
declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, z.ZodObject<{
|
|
@@ -5152,14 +5161,17 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5152
5161
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
5153
5162
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
5154
5163
|
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
5164
|
+
cachedAssets: z.ZodOptional<z.ZodBoolean>;
|
|
5155
5165
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
5166
|
+
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
5167
|
+
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
5156
5168
|
}, "strict", z.ZodTypeAny, {
|
|
5157
5169
|
publicPath?: boolean | undefined;
|
|
5158
5170
|
hash?: boolean | undefined;
|
|
5159
5171
|
all?: boolean | undefined;
|
|
5160
5172
|
chunks?: boolean | undefined;
|
|
5161
|
-
providedExports?: boolean | undefined;
|
|
5162
5173
|
usedExports?: boolean | undefined;
|
|
5174
|
+
providedExports?: boolean | undefined;
|
|
5163
5175
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5164
5176
|
assets?: boolean | undefined;
|
|
5165
5177
|
modules?: boolean | undefined;
|
|
@@ -5226,14 +5238,17 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5226
5238
|
errorStack?: boolean | undefined;
|
|
5227
5239
|
moduleTrace?: boolean | undefined;
|
|
5228
5240
|
cachedModules?: boolean | undefined;
|
|
5241
|
+
cachedAssets?: boolean | undefined;
|
|
5229
5242
|
cached?: boolean | undefined;
|
|
5243
|
+
errorsSpace?: number | undefined;
|
|
5244
|
+
warningsSpace?: number | undefined;
|
|
5230
5245
|
}, {
|
|
5231
5246
|
publicPath?: boolean | undefined;
|
|
5232
5247
|
hash?: boolean | undefined;
|
|
5233
5248
|
all?: boolean | undefined;
|
|
5234
5249
|
chunks?: boolean | undefined;
|
|
5235
|
-
providedExports?: boolean | undefined;
|
|
5236
5250
|
usedExports?: boolean | undefined;
|
|
5251
|
+
providedExports?: boolean | undefined;
|
|
5237
5252
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5238
5253
|
assets?: boolean | undefined;
|
|
5239
5254
|
modules?: boolean | undefined;
|
|
@@ -5300,7 +5315,10 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5300
5315
|
errorStack?: boolean | undefined;
|
|
5301
5316
|
moduleTrace?: boolean | undefined;
|
|
5302
5317
|
cachedModules?: boolean | undefined;
|
|
5318
|
+
cachedAssets?: boolean | undefined;
|
|
5303
5319
|
cached?: boolean | undefined;
|
|
5320
|
+
errorsSpace?: number | undefined;
|
|
5321
|
+
warningsSpace?: number | undefined;
|
|
5304
5322
|
}>]>;
|
|
5305
5323
|
export type StatsValue = z.infer<typeof statsValue>;
|
|
5306
5324
|
export interface RspackPluginInstance {
|
|
@@ -5340,11 +5358,14 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
5340
5358
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5341
5359
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5342
5360
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
5361
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5343
5362
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5344
5363
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5345
5364
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5346
5365
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5347
5366
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5367
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5368
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5348
5369
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5349
5370
|
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5350
5371
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5365,10 +5386,13 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
5365
5386
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5366
5387
|
defaultSizeTypes?: string[] | undefined;
|
|
5367
5388
|
minChunks?: number | undefined;
|
|
5389
|
+
usedExports?: boolean | undefined;
|
|
5368
5390
|
minSize?: number | Record<string, number> | undefined;
|
|
5369
5391
|
maxSize?: number | Record<string, number> | undefined;
|
|
5370
5392
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5371
5393
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5394
|
+
maxAsyncRequests?: number | undefined;
|
|
5395
|
+
maxInitialRequests?: number | undefined;
|
|
5372
5396
|
automaticNameDelimiter?: string | undefined;
|
|
5373
5397
|
}, {
|
|
5374
5398
|
filename?: string | undefined;
|
|
@@ -5382,10 +5406,13 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
5382
5406
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5383
5407
|
defaultSizeTypes?: string[] | undefined;
|
|
5384
5408
|
minChunks?: number | undefined;
|
|
5409
|
+
usedExports?: boolean | undefined;
|
|
5385
5410
|
minSize?: number | Record<string, number> | undefined;
|
|
5386
5411
|
maxSize?: number | Record<string, number> | undefined;
|
|
5387
5412
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5388
5413
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5414
|
+
maxAsyncRequests?: number | undefined;
|
|
5415
|
+
maxInitialRequests?: number | undefined;
|
|
5389
5416
|
automaticNameDelimiter?: string | undefined;
|
|
5390
5417
|
}>;
|
|
5391
5418
|
export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
|
|
@@ -5393,21 +5420,27 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5393
5420
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5394
5421
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5395
5422
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
5423
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5396
5424
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5397
5425
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5398
5426
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5399
5427
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5400
5428
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5429
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5430
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5401
5431
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5402
5432
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
5403
5433
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5404
5434
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5405
5435
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
5436
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5406
5437
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5407
5438
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5408
5439
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5409
5440
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5410
5441
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5442
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5443
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5411
5444
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5412
5445
|
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5413
5446
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5428,10 +5461,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5428
5461
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5429
5462
|
defaultSizeTypes?: string[] | undefined;
|
|
5430
5463
|
minChunks?: number | undefined;
|
|
5464
|
+
usedExports?: boolean | undefined;
|
|
5431
5465
|
minSize?: number | Record<string, number> | undefined;
|
|
5432
5466
|
maxSize?: number | Record<string, number> | undefined;
|
|
5433
5467
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5434
5468
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5469
|
+
maxAsyncRequests?: number | undefined;
|
|
5470
|
+
maxInitialRequests?: number | undefined;
|
|
5435
5471
|
automaticNameDelimiter?: string | undefined;
|
|
5436
5472
|
}, {
|
|
5437
5473
|
filename?: string | undefined;
|
|
@@ -5445,14 +5481,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5445
5481
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5446
5482
|
defaultSizeTypes?: string[] | undefined;
|
|
5447
5483
|
minChunks?: number | undefined;
|
|
5484
|
+
usedExports?: boolean | undefined;
|
|
5448
5485
|
minSize?: number | Record<string, number> | undefined;
|
|
5449
5486
|
maxSize?: number | Record<string, number> | undefined;
|
|
5450
5487
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5451
5488
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5489
|
+
maxAsyncRequests?: number | undefined;
|
|
5490
|
+
maxInitialRequests?: number | undefined;
|
|
5452
5491
|
automaticNameDelimiter?: string | undefined;
|
|
5453
5492
|
}>]>>>;
|
|
5454
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5455
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5456
5493
|
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
5457
5494
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5458
5495
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5481,10 +5518,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5481
5518
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5482
5519
|
defaultSizeTypes?: string[] | undefined;
|
|
5483
5520
|
minChunks?: number | undefined;
|
|
5521
|
+
usedExports?: boolean | undefined;
|
|
5484
5522
|
minSize?: number | Record<string, number> | undefined;
|
|
5485
5523
|
maxSize?: number | Record<string, number> | undefined;
|
|
5486
5524
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5487
5525
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5526
|
+
maxAsyncRequests?: number | undefined;
|
|
5527
|
+
maxInitialRequests?: number | undefined;
|
|
5488
5528
|
automaticNameDelimiter?: string | undefined;
|
|
5489
5529
|
cacheGroups?: Record<string, false | {
|
|
5490
5530
|
filename?: string | undefined;
|
|
@@ -5498,14 +5538,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5498
5538
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5499
5539
|
defaultSizeTypes?: string[] | undefined;
|
|
5500
5540
|
minChunks?: number | undefined;
|
|
5541
|
+
usedExports?: boolean | undefined;
|
|
5501
5542
|
minSize?: number | Record<string, number> | undefined;
|
|
5502
5543
|
maxSize?: number | Record<string, number> | undefined;
|
|
5503
5544
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5504
5545
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5546
|
+
maxAsyncRequests?: number | undefined;
|
|
5547
|
+
maxInitialRequests?: number | undefined;
|
|
5505
5548
|
automaticNameDelimiter?: string | undefined;
|
|
5506
5549
|
}> | undefined;
|
|
5507
|
-
maxAsyncRequests?: number | undefined;
|
|
5508
|
-
maxInitialRequests?: number | undefined;
|
|
5509
5550
|
fallbackCacheGroup?: {
|
|
5510
5551
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5511
5552
|
minSize?: number | undefined;
|
|
@@ -5520,10 +5561,13 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5520
5561
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5521
5562
|
defaultSizeTypes?: string[] | undefined;
|
|
5522
5563
|
minChunks?: number | undefined;
|
|
5564
|
+
usedExports?: boolean | undefined;
|
|
5523
5565
|
minSize?: number | Record<string, number> | undefined;
|
|
5524
5566
|
maxSize?: number | Record<string, number> | undefined;
|
|
5525
5567
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5526
5568
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5569
|
+
maxAsyncRequests?: number | undefined;
|
|
5570
|
+
maxInitialRequests?: number | undefined;
|
|
5527
5571
|
automaticNameDelimiter?: string | undefined;
|
|
5528
5572
|
cacheGroups?: Record<string, false | {
|
|
5529
5573
|
filename?: string | undefined;
|
|
@@ -5537,14 +5581,15 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
5537
5581
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5538
5582
|
defaultSizeTypes?: string[] | undefined;
|
|
5539
5583
|
minChunks?: number | undefined;
|
|
5584
|
+
usedExports?: boolean | undefined;
|
|
5540
5585
|
minSize?: number | Record<string, number> | undefined;
|
|
5541
5586
|
maxSize?: number | Record<string, number> | undefined;
|
|
5542
5587
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5543
5588
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5589
|
+
maxAsyncRequests?: number | undefined;
|
|
5590
|
+
maxInitialRequests?: number | undefined;
|
|
5544
5591
|
automaticNameDelimiter?: string | undefined;
|
|
5545
5592
|
}> | undefined;
|
|
5546
|
-
maxAsyncRequests?: number | undefined;
|
|
5547
|
-
maxInitialRequests?: number | undefined;
|
|
5548
5593
|
fallbackCacheGroup?: {
|
|
5549
5594
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5550
5595
|
minSize?: number | undefined;
|
|
@@ -5566,21 +5611,27 @@ declare const optimization: z.ZodObject<{
|
|
|
5566
5611
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5567
5612
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5568
5613
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
5614
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5569
5615
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5570
5616
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5571
5617
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5572
5618
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5573
5619
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5620
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5621
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5574
5622
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5575
5623
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
5576
5624
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5577
5625
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5578
5626
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
5627
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
5579
5628
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5580
5629
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5581
5630
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5582
5631
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5583
5632
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
5633
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5634
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5584
5635
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5585
5636
|
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
5586
5637
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5601,10 +5652,13 @@ declare const optimization: z.ZodObject<{
|
|
|
5601
5652
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5602
5653
|
defaultSizeTypes?: string[] | undefined;
|
|
5603
5654
|
minChunks?: number | undefined;
|
|
5655
|
+
usedExports?: boolean | undefined;
|
|
5604
5656
|
minSize?: number | Record<string, number> | undefined;
|
|
5605
5657
|
maxSize?: number | Record<string, number> | undefined;
|
|
5606
5658
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5607
5659
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5660
|
+
maxAsyncRequests?: number | undefined;
|
|
5661
|
+
maxInitialRequests?: number | undefined;
|
|
5608
5662
|
automaticNameDelimiter?: string | undefined;
|
|
5609
5663
|
}, {
|
|
5610
5664
|
filename?: string | undefined;
|
|
@@ -5618,14 +5672,15 @@ declare const optimization: z.ZodObject<{
|
|
|
5618
5672
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5619
5673
|
defaultSizeTypes?: string[] | undefined;
|
|
5620
5674
|
minChunks?: number | undefined;
|
|
5675
|
+
usedExports?: boolean | undefined;
|
|
5621
5676
|
minSize?: number | Record<string, number> | undefined;
|
|
5622
5677
|
maxSize?: number | Record<string, number> | undefined;
|
|
5623
5678
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5624
5679
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5680
|
+
maxAsyncRequests?: number | undefined;
|
|
5681
|
+
maxInitialRequests?: number | undefined;
|
|
5625
5682
|
automaticNameDelimiter?: string | undefined;
|
|
5626
5683
|
}>]>>>;
|
|
5627
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
5628
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
5629
5684
|
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
5630
5685
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5631
5686
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5654,10 +5709,13 @@ declare const optimization: z.ZodObject<{
|
|
|
5654
5709
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5655
5710
|
defaultSizeTypes?: string[] | undefined;
|
|
5656
5711
|
minChunks?: number | undefined;
|
|
5712
|
+
usedExports?: boolean | undefined;
|
|
5657
5713
|
minSize?: number | Record<string, number> | undefined;
|
|
5658
5714
|
maxSize?: number | Record<string, number> | undefined;
|
|
5659
5715
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5660
5716
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5717
|
+
maxAsyncRequests?: number | undefined;
|
|
5718
|
+
maxInitialRequests?: number | undefined;
|
|
5661
5719
|
automaticNameDelimiter?: string | undefined;
|
|
5662
5720
|
cacheGroups?: Record<string, false | {
|
|
5663
5721
|
filename?: string | undefined;
|
|
@@ -5671,14 +5729,15 @@ declare const optimization: z.ZodObject<{
|
|
|
5671
5729
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5672
5730
|
defaultSizeTypes?: string[] | undefined;
|
|
5673
5731
|
minChunks?: number | undefined;
|
|
5732
|
+
usedExports?: boolean | undefined;
|
|
5674
5733
|
minSize?: number | Record<string, number> | undefined;
|
|
5675
5734
|
maxSize?: number | Record<string, number> | undefined;
|
|
5676
5735
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5677
5736
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5737
|
+
maxAsyncRequests?: number | undefined;
|
|
5738
|
+
maxInitialRequests?: number | undefined;
|
|
5678
5739
|
automaticNameDelimiter?: string | undefined;
|
|
5679
5740
|
}> | undefined;
|
|
5680
|
-
maxAsyncRequests?: number | undefined;
|
|
5681
|
-
maxInitialRequests?: number | undefined;
|
|
5682
5741
|
fallbackCacheGroup?: {
|
|
5683
5742
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5684
5743
|
minSize?: number | undefined;
|
|
@@ -5693,10 +5752,13 @@ declare const optimization: z.ZodObject<{
|
|
|
5693
5752
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5694
5753
|
defaultSizeTypes?: string[] | undefined;
|
|
5695
5754
|
minChunks?: number | undefined;
|
|
5755
|
+
usedExports?: boolean | undefined;
|
|
5696
5756
|
minSize?: number | Record<string, number> | undefined;
|
|
5697
5757
|
maxSize?: number | Record<string, number> | undefined;
|
|
5698
5758
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5699
5759
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5760
|
+
maxAsyncRequests?: number | undefined;
|
|
5761
|
+
maxInitialRequests?: number | undefined;
|
|
5700
5762
|
automaticNameDelimiter?: string | undefined;
|
|
5701
5763
|
cacheGroups?: Record<string, false | {
|
|
5702
5764
|
filename?: string | undefined;
|
|
@@ -5710,14 +5772,15 @@ declare const optimization: z.ZodObject<{
|
|
|
5710
5772
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5711
5773
|
defaultSizeTypes?: string[] | undefined;
|
|
5712
5774
|
minChunks?: number | undefined;
|
|
5775
|
+
usedExports?: boolean | undefined;
|
|
5713
5776
|
minSize?: number | Record<string, number> | undefined;
|
|
5714
5777
|
maxSize?: number | Record<string, number> | undefined;
|
|
5715
5778
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5716
5779
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5780
|
+
maxAsyncRequests?: number | undefined;
|
|
5781
|
+
maxInitialRequests?: number | undefined;
|
|
5717
5782
|
automaticNameDelimiter?: string | undefined;
|
|
5718
5783
|
}> | undefined;
|
|
5719
|
-
maxAsyncRequests?: number | undefined;
|
|
5720
|
-
maxInitialRequests?: number | undefined;
|
|
5721
5784
|
fallbackCacheGroup?: {
|
|
5722
5785
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5723
5786
|
minSize?: number | undefined;
|
|
@@ -5761,15 +5824,19 @@ declare const optimization: z.ZodObject<{
|
|
|
5761
5824
|
minimize?: boolean | undefined;
|
|
5762
5825
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5763
5826
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5827
|
+
usedExports?: boolean | "global" | undefined;
|
|
5764
5828
|
splitChunks?: false | {
|
|
5765
5829
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5766
5830
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5767
5831
|
defaultSizeTypes?: string[] | undefined;
|
|
5768
5832
|
minChunks?: number | undefined;
|
|
5833
|
+
usedExports?: boolean | undefined;
|
|
5769
5834
|
minSize?: number | Record<string, number> | undefined;
|
|
5770
5835
|
maxSize?: number | Record<string, number> | undefined;
|
|
5771
5836
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5772
5837
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5838
|
+
maxAsyncRequests?: number | undefined;
|
|
5839
|
+
maxInitialRequests?: number | undefined;
|
|
5773
5840
|
automaticNameDelimiter?: string | undefined;
|
|
5774
5841
|
cacheGroups?: Record<string, false | {
|
|
5775
5842
|
filename?: string | undefined;
|
|
@@ -5783,14 +5850,15 @@ declare const optimization: z.ZodObject<{
|
|
|
5783
5850
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5784
5851
|
defaultSizeTypes?: string[] | undefined;
|
|
5785
5852
|
minChunks?: number | undefined;
|
|
5853
|
+
usedExports?: boolean | undefined;
|
|
5786
5854
|
minSize?: number | Record<string, number> | undefined;
|
|
5787
5855
|
maxSize?: number | Record<string, number> | undefined;
|
|
5788
5856
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5789
5857
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5858
|
+
maxAsyncRequests?: number | undefined;
|
|
5859
|
+
maxInitialRequests?: number | undefined;
|
|
5790
5860
|
automaticNameDelimiter?: string | undefined;
|
|
5791
5861
|
}> | undefined;
|
|
5792
|
-
maxAsyncRequests?: number | undefined;
|
|
5793
|
-
maxInitialRequests?: number | undefined;
|
|
5794
5862
|
fallbackCacheGroup?: {
|
|
5795
5863
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5796
5864
|
minSize?: number | undefined;
|
|
@@ -5813,7 +5881,6 @@ declare const optimization: z.ZodObject<{
|
|
|
5813
5881
|
providedExports?: boolean | undefined;
|
|
5814
5882
|
concatenateModules?: boolean | undefined;
|
|
5815
5883
|
innerGraph?: boolean | undefined;
|
|
5816
|
-
usedExports?: boolean | "global" | undefined;
|
|
5817
5884
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
5818
5885
|
nodeEnv?: string | false | undefined;
|
|
5819
5886
|
}, {
|
|
@@ -5822,15 +5889,19 @@ declare const optimization: z.ZodObject<{
|
|
|
5822
5889
|
minimize?: boolean | undefined;
|
|
5823
5890
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5824
5891
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5892
|
+
usedExports?: boolean | "global" | undefined;
|
|
5825
5893
|
splitChunks?: false | {
|
|
5826
5894
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
5827
5895
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5828
5896
|
defaultSizeTypes?: string[] | undefined;
|
|
5829
5897
|
minChunks?: number | undefined;
|
|
5898
|
+
usedExports?: boolean | undefined;
|
|
5830
5899
|
minSize?: number | Record<string, number> | undefined;
|
|
5831
5900
|
maxSize?: number | Record<string, number> | undefined;
|
|
5832
5901
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5833
5902
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5903
|
+
maxAsyncRequests?: number | undefined;
|
|
5904
|
+
maxInitialRequests?: number | undefined;
|
|
5834
5905
|
automaticNameDelimiter?: string | undefined;
|
|
5835
5906
|
cacheGroups?: Record<string, false | {
|
|
5836
5907
|
filename?: string | undefined;
|
|
@@ -5844,14 +5915,15 @@ declare const optimization: z.ZodObject<{
|
|
|
5844
5915
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5845
5916
|
defaultSizeTypes?: string[] | undefined;
|
|
5846
5917
|
minChunks?: number | undefined;
|
|
5918
|
+
usedExports?: boolean | undefined;
|
|
5847
5919
|
minSize?: number | Record<string, number> | undefined;
|
|
5848
5920
|
maxSize?: number | Record<string, number> | undefined;
|
|
5849
5921
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
5850
5922
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
5923
|
+
maxAsyncRequests?: number | undefined;
|
|
5924
|
+
maxInitialRequests?: number | undefined;
|
|
5851
5925
|
automaticNameDelimiter?: string | undefined;
|
|
5852
5926
|
}> | undefined;
|
|
5853
|
-
maxAsyncRequests?: number | undefined;
|
|
5854
|
-
maxInitialRequests?: number | undefined;
|
|
5855
5927
|
fallbackCacheGroup?: {
|
|
5856
5928
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5857
5929
|
minSize?: number | undefined;
|
|
@@ -5874,7 +5946,6 @@ declare const optimization: z.ZodObject<{
|
|
|
5874
5946
|
providedExports?: boolean | undefined;
|
|
5875
5947
|
concatenateModules?: boolean | undefined;
|
|
5876
5948
|
innerGraph?: boolean | undefined;
|
|
5877
|
-
usedExports?: boolean | "global" | undefined;
|
|
5878
5949
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
5879
5950
|
nodeEnv?: string | false | undefined;
|
|
5880
5951
|
}>;
|
|
@@ -7276,7 +7347,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7276
7347
|
contextInfo?: {
|
|
7277
7348
|
issuer: string;
|
|
7278
7349
|
} | undefined;
|
|
7279
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
7350
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
7280
7351
|
context: z.ZodOptional<z.ZodString>;
|
|
7281
7352
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
7282
7353
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -7326,7 +7397,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7326
7397
|
contextInfo?: {
|
|
7327
7398
|
issuer: string;
|
|
7328
7399
|
} | undefined;
|
|
7329
|
-
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
7400
|
+
}>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Error, z.ZodTypeDef, Error>>, z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>, z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>], z.ZodUnknown>, z.ZodVoid>], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
7330
7401
|
context: z.ZodOptional<z.ZodString>;
|
|
7331
7402
|
dependencyType: z.ZodOptional<z.ZodString>;
|
|
7332
7403
|
request: z.ZodOptional<z.ZodString>;
|
|
@@ -7352,7 +7423,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7352
7423
|
issuer: string;
|
|
7353
7424
|
} | undefined;
|
|
7354
7425
|
}>], z.ZodUnknown>, z.ZodPromise<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodBoolean]>, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>]>>>]>]>>;
|
|
7355
|
-
externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>;
|
|
7426
|
+
externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "module-import", "script", "node-commonjs"]>>;
|
|
7356
7427
|
externalsPresets: z.ZodOptional<z.ZodObject<{
|
|
7357
7428
|
node: z.ZodOptional<z.ZodBoolean>;
|
|
7358
7429
|
web: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -7407,17 +7478,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7407
7478
|
context: z.ZodOptional<z.ZodString>;
|
|
7408
7479
|
devtool: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["eval", "cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-source-map", "inline-nosources-cheap-module-source-map", "inline-nosources-source-map", "nosources-cheap-source-map", "nosources-cheap-module-source-map", "nosources-source-map", "hidden-nosources-cheap-source-map", "hidden-nosources-cheap-module-source-map", "hidden-nosources-source-map", "hidden-cheap-source-map", "hidden-cheap-module-source-map", "hidden-source-map", "eval-cheap-source-map", "eval-cheap-module-source-map", "eval-source-map", "eval-nosources-cheap-source-map", "eval-nosources-cheap-module-source-map", "eval-nosources-source-map"]>]>>;
|
|
7409
7480
|
node: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
7410
|
-
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
7411
|
-
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
|
|
7481
|
+
__dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
7482
|
+
__filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only", "node-module"]>]>>;
|
|
7412
7483
|
global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"warn">]>>;
|
|
7413
7484
|
}, "strict", z.ZodTypeAny, {
|
|
7414
7485
|
global?: boolean | "warn" | undefined;
|
|
7415
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
7416
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
7486
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
7487
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
7417
7488
|
}, {
|
|
7418
7489
|
global?: boolean | "warn" | undefined;
|
|
7419
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
7420
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
7490
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
7491
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
7421
7492
|
}>]>>;
|
|
7422
7493
|
loader: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
7423
7494
|
ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Error, z.ZodTypeDef, Error>, z.ZodType<Compilation, z.ZodTypeDef, Compilation>], z.ZodUnknown>, z.ZodBoolean>]>, "many">>;
|
|
@@ -7514,14 +7585,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7514
7585
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
7515
7586
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
7516
7587
|
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
7588
|
+
cachedAssets: z.ZodOptional<z.ZodBoolean>;
|
|
7517
7589
|
cached: z.ZodOptional<z.ZodBoolean>;
|
|
7590
|
+
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
|
7591
|
+
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
|
7518
7592
|
}, "strict", z.ZodTypeAny, {
|
|
7519
7593
|
publicPath?: boolean | undefined;
|
|
7520
7594
|
hash?: boolean | undefined;
|
|
7521
7595
|
all?: boolean | undefined;
|
|
7522
7596
|
chunks?: boolean | undefined;
|
|
7523
|
-
providedExports?: boolean | undefined;
|
|
7524
7597
|
usedExports?: boolean | undefined;
|
|
7598
|
+
providedExports?: boolean | undefined;
|
|
7525
7599
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
7526
7600
|
assets?: boolean | undefined;
|
|
7527
7601
|
modules?: boolean | undefined;
|
|
@@ -7588,14 +7662,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7588
7662
|
errorStack?: boolean | undefined;
|
|
7589
7663
|
moduleTrace?: boolean | undefined;
|
|
7590
7664
|
cachedModules?: boolean | undefined;
|
|
7665
|
+
cachedAssets?: boolean | undefined;
|
|
7591
7666
|
cached?: boolean | undefined;
|
|
7667
|
+
errorsSpace?: number | undefined;
|
|
7668
|
+
warningsSpace?: number | undefined;
|
|
7592
7669
|
}, {
|
|
7593
7670
|
publicPath?: boolean | undefined;
|
|
7594
7671
|
hash?: boolean | undefined;
|
|
7595
7672
|
all?: boolean | undefined;
|
|
7596
7673
|
chunks?: boolean | undefined;
|
|
7597
|
-
providedExports?: boolean | undefined;
|
|
7598
7674
|
usedExports?: boolean | undefined;
|
|
7675
|
+
providedExports?: boolean | undefined;
|
|
7599
7676
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
7600
7677
|
assets?: boolean | undefined;
|
|
7601
7678
|
modules?: boolean | undefined;
|
|
@@ -7662,7 +7739,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7662
7739
|
errorStack?: boolean | undefined;
|
|
7663
7740
|
moduleTrace?: boolean | undefined;
|
|
7664
7741
|
cachedModules?: boolean | undefined;
|
|
7742
|
+
cachedAssets?: boolean | undefined;
|
|
7665
7743
|
cached?: boolean | undefined;
|
|
7744
|
+
errorsSpace?: number | undefined;
|
|
7745
|
+
warningsSpace?: number | undefined;
|
|
7666
7746
|
}>]>>;
|
|
7667
7747
|
snapshot: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
7668
7748
|
optimization: z.ZodOptional<z.ZodObject<{
|
|
@@ -7675,21 +7755,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7675
7755
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
7676
7756
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7677
7757
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
7758
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
7678
7759
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
7679
7760
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7680
7761
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7681
7762
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7682
7763
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7764
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
7765
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
7683
7766
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
7684
7767
|
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
7685
7768
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
7686
7769
|
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7687
7770
|
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
7771
|
+
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
7688
7772
|
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
7689
7773
|
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7690
7774
|
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7691
7775
|
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7692
7776
|
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
7777
|
+
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
7778
|
+
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
7693
7779
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
7694
7780
|
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
7695
7781
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7710,10 +7796,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7710
7796
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7711
7797
|
defaultSizeTypes?: string[] | undefined;
|
|
7712
7798
|
minChunks?: number | undefined;
|
|
7799
|
+
usedExports?: boolean | undefined;
|
|
7713
7800
|
minSize?: number | Record<string, number> | undefined;
|
|
7714
7801
|
maxSize?: number | Record<string, number> | undefined;
|
|
7715
7802
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7716
7803
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7804
|
+
maxAsyncRequests?: number | undefined;
|
|
7805
|
+
maxInitialRequests?: number | undefined;
|
|
7717
7806
|
automaticNameDelimiter?: string | undefined;
|
|
7718
7807
|
}, {
|
|
7719
7808
|
filename?: string | undefined;
|
|
@@ -7727,14 +7816,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7727
7816
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7728
7817
|
defaultSizeTypes?: string[] | undefined;
|
|
7729
7818
|
minChunks?: number | undefined;
|
|
7819
|
+
usedExports?: boolean | undefined;
|
|
7730
7820
|
minSize?: number | Record<string, number> | undefined;
|
|
7731
7821
|
maxSize?: number | Record<string, number> | undefined;
|
|
7732
7822
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7733
7823
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7824
|
+
maxAsyncRequests?: number | undefined;
|
|
7825
|
+
maxInitialRequests?: number | undefined;
|
|
7734
7826
|
automaticNameDelimiter?: string | undefined;
|
|
7735
7827
|
}>]>>>;
|
|
7736
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
7737
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
7738
7828
|
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
7739
7829
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
7740
7830
|
minSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7763,10 +7853,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7763
7853
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7764
7854
|
defaultSizeTypes?: string[] | undefined;
|
|
7765
7855
|
minChunks?: number | undefined;
|
|
7856
|
+
usedExports?: boolean | undefined;
|
|
7766
7857
|
minSize?: number | Record<string, number> | undefined;
|
|
7767
7858
|
maxSize?: number | Record<string, number> | undefined;
|
|
7768
7859
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7769
7860
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7861
|
+
maxAsyncRequests?: number | undefined;
|
|
7862
|
+
maxInitialRequests?: number | undefined;
|
|
7770
7863
|
automaticNameDelimiter?: string | undefined;
|
|
7771
7864
|
cacheGroups?: Record<string, false | {
|
|
7772
7865
|
filename?: string | undefined;
|
|
@@ -7780,14 +7873,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7780
7873
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7781
7874
|
defaultSizeTypes?: string[] | undefined;
|
|
7782
7875
|
minChunks?: number | undefined;
|
|
7876
|
+
usedExports?: boolean | undefined;
|
|
7783
7877
|
minSize?: number | Record<string, number> | undefined;
|
|
7784
7878
|
maxSize?: number | Record<string, number> | undefined;
|
|
7785
7879
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7786
7880
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7881
|
+
maxAsyncRequests?: number | undefined;
|
|
7882
|
+
maxInitialRequests?: number | undefined;
|
|
7787
7883
|
automaticNameDelimiter?: string | undefined;
|
|
7788
7884
|
}> | undefined;
|
|
7789
|
-
maxAsyncRequests?: number | undefined;
|
|
7790
|
-
maxInitialRequests?: number | undefined;
|
|
7791
7885
|
fallbackCacheGroup?: {
|
|
7792
7886
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7793
7887
|
minSize?: number | undefined;
|
|
@@ -7802,10 +7896,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7802
7896
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7803
7897
|
defaultSizeTypes?: string[] | undefined;
|
|
7804
7898
|
minChunks?: number | undefined;
|
|
7899
|
+
usedExports?: boolean | undefined;
|
|
7805
7900
|
minSize?: number | Record<string, number> | undefined;
|
|
7806
7901
|
maxSize?: number | Record<string, number> | undefined;
|
|
7807
7902
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7808
7903
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7904
|
+
maxAsyncRequests?: number | undefined;
|
|
7905
|
+
maxInitialRequests?: number | undefined;
|
|
7809
7906
|
automaticNameDelimiter?: string | undefined;
|
|
7810
7907
|
cacheGroups?: Record<string, false | {
|
|
7811
7908
|
filename?: string | undefined;
|
|
@@ -7819,14 +7916,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7819
7916
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7820
7917
|
defaultSizeTypes?: string[] | undefined;
|
|
7821
7918
|
minChunks?: number | undefined;
|
|
7919
|
+
usedExports?: boolean | undefined;
|
|
7822
7920
|
minSize?: number | Record<string, number> | undefined;
|
|
7823
7921
|
maxSize?: number | Record<string, number> | undefined;
|
|
7824
7922
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7825
7923
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7924
|
+
maxAsyncRequests?: number | undefined;
|
|
7925
|
+
maxInitialRequests?: number | undefined;
|
|
7826
7926
|
automaticNameDelimiter?: string | undefined;
|
|
7827
7927
|
}> | undefined;
|
|
7828
|
-
maxAsyncRequests?: number | undefined;
|
|
7829
|
-
maxInitialRequests?: number | undefined;
|
|
7830
7928
|
fallbackCacheGroup?: {
|
|
7831
7929
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7832
7930
|
minSize?: number | undefined;
|
|
@@ -7870,15 +7968,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7870
7968
|
minimize?: boolean | undefined;
|
|
7871
7969
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7872
7970
|
mergeDuplicateChunks?: boolean | undefined;
|
|
7971
|
+
usedExports?: boolean | "global" | undefined;
|
|
7873
7972
|
splitChunks?: false | {
|
|
7874
7973
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
7875
7974
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7876
7975
|
defaultSizeTypes?: string[] | undefined;
|
|
7877
7976
|
minChunks?: number | undefined;
|
|
7977
|
+
usedExports?: boolean | undefined;
|
|
7878
7978
|
minSize?: number | Record<string, number> | undefined;
|
|
7879
7979
|
maxSize?: number | Record<string, number> | undefined;
|
|
7880
7980
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7881
7981
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
7982
|
+
maxAsyncRequests?: number | undefined;
|
|
7983
|
+
maxInitialRequests?: number | undefined;
|
|
7882
7984
|
automaticNameDelimiter?: string | undefined;
|
|
7883
7985
|
cacheGroups?: Record<string, false | {
|
|
7884
7986
|
filename?: string | undefined;
|
|
@@ -7892,14 +7994,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7892
7994
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7893
7995
|
defaultSizeTypes?: string[] | undefined;
|
|
7894
7996
|
minChunks?: number | undefined;
|
|
7997
|
+
usedExports?: boolean | undefined;
|
|
7895
7998
|
minSize?: number | Record<string, number> | undefined;
|
|
7896
7999
|
maxSize?: number | Record<string, number> | undefined;
|
|
7897
8000
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7898
8001
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
8002
|
+
maxAsyncRequests?: number | undefined;
|
|
8003
|
+
maxInitialRequests?: number | undefined;
|
|
7899
8004
|
automaticNameDelimiter?: string | undefined;
|
|
7900
8005
|
}> | undefined;
|
|
7901
|
-
maxAsyncRequests?: number | undefined;
|
|
7902
|
-
maxInitialRequests?: number | undefined;
|
|
7903
8006
|
fallbackCacheGroup?: {
|
|
7904
8007
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7905
8008
|
minSize?: number | undefined;
|
|
@@ -7922,7 +8025,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7922
8025
|
providedExports?: boolean | undefined;
|
|
7923
8026
|
concatenateModules?: boolean | undefined;
|
|
7924
8027
|
innerGraph?: boolean | undefined;
|
|
7925
|
-
usedExports?: boolean | "global" | undefined;
|
|
7926
8028
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
7927
8029
|
nodeEnv?: string | false | undefined;
|
|
7928
8030
|
}, {
|
|
@@ -7931,15 +8033,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7931
8033
|
minimize?: boolean | undefined;
|
|
7932
8034
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7933
8035
|
mergeDuplicateChunks?: boolean | undefined;
|
|
8036
|
+
usedExports?: boolean | "global" | undefined;
|
|
7934
8037
|
splitChunks?: false | {
|
|
7935
8038
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
7936
8039
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7937
8040
|
defaultSizeTypes?: string[] | undefined;
|
|
7938
8041
|
minChunks?: number | undefined;
|
|
8042
|
+
usedExports?: boolean | undefined;
|
|
7939
8043
|
minSize?: number | Record<string, number> | undefined;
|
|
7940
8044
|
maxSize?: number | Record<string, number> | undefined;
|
|
7941
8045
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7942
8046
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
8047
|
+
maxAsyncRequests?: number | undefined;
|
|
8048
|
+
maxInitialRequests?: number | undefined;
|
|
7943
8049
|
automaticNameDelimiter?: string | undefined;
|
|
7944
8050
|
cacheGroups?: Record<string, false | {
|
|
7945
8051
|
filename?: string | undefined;
|
|
@@ -7953,14 +8059,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7953
8059
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7954
8060
|
defaultSizeTypes?: string[] | undefined;
|
|
7955
8061
|
minChunks?: number | undefined;
|
|
8062
|
+
usedExports?: boolean | undefined;
|
|
7956
8063
|
minSize?: number | Record<string, number> | undefined;
|
|
7957
8064
|
maxSize?: number | Record<string, number> | undefined;
|
|
7958
8065
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
7959
8066
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
8067
|
+
maxAsyncRequests?: number | undefined;
|
|
8068
|
+
maxInitialRequests?: number | undefined;
|
|
7960
8069
|
automaticNameDelimiter?: string | undefined;
|
|
7961
8070
|
}> | undefined;
|
|
7962
|
-
maxAsyncRequests?: number | undefined;
|
|
7963
|
-
maxInitialRequests?: number | undefined;
|
|
7964
8071
|
fallbackCacheGroup?: {
|
|
7965
8072
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7966
8073
|
minSize?: number | undefined;
|
|
@@ -7983,7 +8090,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7983
8090
|
providedExports?: boolean | undefined;
|
|
7984
8091
|
concatenateModules?: boolean | undefined;
|
|
7985
8092
|
innerGraph?: boolean | undefined;
|
|
7986
|
-
usedExports?: boolean | "global" | undefined;
|
|
7987
8093
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
7988
8094
|
nodeEnv?: string | false | undefined;
|
|
7989
8095
|
}>>;
|
|
@@ -9105,8 +9211,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9105
9211
|
}>>) | undefined;
|
|
9106
9212
|
node?: false | {
|
|
9107
9213
|
global?: boolean | "warn" | undefined;
|
|
9108
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9109
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9214
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
9215
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
9110
9216
|
} | undefined;
|
|
9111
9217
|
profile?: boolean | undefined;
|
|
9112
9218
|
cache?: boolean | undefined;
|
|
@@ -9251,7 +9357,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9251
9357
|
contextInfo?: {
|
|
9252
9358
|
issuer: string;
|
|
9253
9359
|
} | undefined;
|
|
9254
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9360
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9255
9361
|
context?: string | undefined;
|
|
9256
9362
|
dependencyType?: string | undefined;
|
|
9257
9363
|
request?: string | undefined;
|
|
@@ -9265,7 +9371,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9265
9371
|
contextInfo?: {
|
|
9266
9372
|
issuer: string;
|
|
9267
9373
|
} | undefined;
|
|
9268
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9374
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9269
9375
|
context?: string | undefined;
|
|
9270
9376
|
dependencyType?: string | undefined;
|
|
9271
9377
|
request?: string | undefined;
|
|
@@ -9273,7 +9379,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9273
9379
|
issuer: string;
|
|
9274
9380
|
} | undefined;
|
|
9275
9381
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
9276
|
-
externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined;
|
|
9382
|
+
externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined;
|
|
9277
9383
|
externalsPresets?: {
|
|
9278
9384
|
node?: boolean | undefined;
|
|
9279
9385
|
web?: boolean | undefined;
|
|
@@ -9307,8 +9413,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9307
9413
|
hash?: boolean | undefined;
|
|
9308
9414
|
all?: boolean | undefined;
|
|
9309
9415
|
chunks?: boolean | undefined;
|
|
9310
|
-
providedExports?: boolean | undefined;
|
|
9311
9416
|
usedExports?: boolean | undefined;
|
|
9417
|
+
providedExports?: boolean | undefined;
|
|
9312
9418
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
9313
9419
|
assets?: boolean | undefined;
|
|
9314
9420
|
modules?: boolean | undefined;
|
|
@@ -9375,7 +9481,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9375
9481
|
errorStack?: boolean | undefined;
|
|
9376
9482
|
moduleTrace?: boolean | undefined;
|
|
9377
9483
|
cachedModules?: boolean | undefined;
|
|
9484
|
+
cachedAssets?: boolean | undefined;
|
|
9378
9485
|
cached?: boolean | undefined;
|
|
9486
|
+
errorsSpace?: number | undefined;
|
|
9487
|
+
warningsSpace?: number | undefined;
|
|
9379
9488
|
} | undefined;
|
|
9380
9489
|
snapshot?: {} | undefined;
|
|
9381
9490
|
optimization?: {
|
|
@@ -9384,15 +9493,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9384
9493
|
minimize?: boolean | undefined;
|
|
9385
9494
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9386
9495
|
mergeDuplicateChunks?: boolean | undefined;
|
|
9496
|
+
usedExports?: boolean | "global" | undefined;
|
|
9387
9497
|
splitChunks?: false | {
|
|
9388
9498
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
9389
9499
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9390
9500
|
defaultSizeTypes?: string[] | undefined;
|
|
9391
9501
|
minChunks?: number | undefined;
|
|
9502
|
+
usedExports?: boolean | undefined;
|
|
9392
9503
|
minSize?: number | Record<string, number> | undefined;
|
|
9393
9504
|
maxSize?: number | Record<string, number> | undefined;
|
|
9394
9505
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9395
9506
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
9507
|
+
maxAsyncRequests?: number | undefined;
|
|
9508
|
+
maxInitialRequests?: number | undefined;
|
|
9396
9509
|
automaticNameDelimiter?: string | undefined;
|
|
9397
9510
|
cacheGroups?: Record<string, false | {
|
|
9398
9511
|
filename?: string | undefined;
|
|
@@ -9406,14 +9519,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9406
9519
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9407
9520
|
defaultSizeTypes?: string[] | undefined;
|
|
9408
9521
|
minChunks?: number | undefined;
|
|
9522
|
+
usedExports?: boolean | undefined;
|
|
9409
9523
|
minSize?: number | Record<string, number> | undefined;
|
|
9410
9524
|
maxSize?: number | Record<string, number> | undefined;
|
|
9411
9525
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9412
9526
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
9527
|
+
maxAsyncRequests?: number | undefined;
|
|
9528
|
+
maxInitialRequests?: number | undefined;
|
|
9413
9529
|
automaticNameDelimiter?: string | undefined;
|
|
9414
9530
|
}> | undefined;
|
|
9415
|
-
maxAsyncRequests?: number | undefined;
|
|
9416
|
-
maxInitialRequests?: number | undefined;
|
|
9417
9531
|
fallbackCacheGroup?: {
|
|
9418
9532
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9419
9533
|
minSize?: number | undefined;
|
|
@@ -9436,7 +9550,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9436
9550
|
providedExports?: boolean | undefined;
|
|
9437
9551
|
concatenateModules?: boolean | undefined;
|
|
9438
9552
|
innerGraph?: boolean | undefined;
|
|
9439
|
-
usedExports?: boolean | "global" | undefined;
|
|
9440
9553
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
9441
9554
|
nodeEnv?: string | false | undefined;
|
|
9442
9555
|
} | undefined;
|
|
@@ -9670,8 +9783,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9670
9783
|
}>>) | undefined;
|
|
9671
9784
|
node?: false | {
|
|
9672
9785
|
global?: boolean | "warn" | undefined;
|
|
9673
|
-
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9674
|
-
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9786
|
+
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
9787
|
+
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
|
9675
9788
|
} | undefined;
|
|
9676
9789
|
profile?: boolean | undefined;
|
|
9677
9790
|
cache?: boolean | undefined;
|
|
@@ -9816,7 +9929,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9816
9929
|
contextInfo?: {
|
|
9817
9930
|
issuer: string;
|
|
9818
9931
|
} | undefined;
|
|
9819
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9932
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9820
9933
|
context?: string | undefined;
|
|
9821
9934
|
dependencyType?: string | undefined;
|
|
9822
9935
|
request?: string | undefined;
|
|
@@ -9830,7 +9943,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9830
9943
|
contextInfo?: {
|
|
9831
9944
|
issuer: string;
|
|
9832
9945
|
} | undefined;
|
|
9833
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9946
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
9834
9947
|
context?: string | undefined;
|
|
9835
9948
|
dependencyType?: string | undefined;
|
|
9836
9949
|
request?: string | undefined;
|
|
@@ -9838,7 +9951,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9838
9951
|
issuer: string;
|
|
9839
9952
|
} | undefined;
|
|
9840
9953
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
9841
|
-
externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "script" | "node-commonjs" | undefined;
|
|
9954
|
+
externalsType?: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined;
|
|
9842
9955
|
externalsPresets?: {
|
|
9843
9956
|
node?: boolean | undefined;
|
|
9844
9957
|
web?: boolean | undefined;
|
|
@@ -9872,8 +9985,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9872
9985
|
hash?: boolean | undefined;
|
|
9873
9986
|
all?: boolean | undefined;
|
|
9874
9987
|
chunks?: boolean | undefined;
|
|
9875
|
-
providedExports?: boolean | undefined;
|
|
9876
9988
|
usedExports?: boolean | undefined;
|
|
9989
|
+
providedExports?: boolean | undefined;
|
|
9877
9990
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
9878
9991
|
assets?: boolean | undefined;
|
|
9879
9992
|
modules?: boolean | undefined;
|
|
@@ -9940,7 +10053,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9940
10053
|
errorStack?: boolean | undefined;
|
|
9941
10054
|
moduleTrace?: boolean | undefined;
|
|
9942
10055
|
cachedModules?: boolean | undefined;
|
|
10056
|
+
cachedAssets?: boolean | undefined;
|
|
9943
10057
|
cached?: boolean | undefined;
|
|
10058
|
+
errorsSpace?: number | undefined;
|
|
10059
|
+
warningsSpace?: number | undefined;
|
|
9944
10060
|
} | undefined;
|
|
9945
10061
|
snapshot?: {} | undefined;
|
|
9946
10062
|
optimization?: {
|
|
@@ -9949,15 +10065,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9949
10065
|
minimize?: boolean | undefined;
|
|
9950
10066
|
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9951
10067
|
mergeDuplicateChunks?: boolean | undefined;
|
|
10068
|
+
usedExports?: boolean | "global" | undefined;
|
|
9952
10069
|
splitChunks?: false | {
|
|
9953
10070
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
9954
10071
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9955
10072
|
defaultSizeTypes?: string[] | undefined;
|
|
9956
10073
|
minChunks?: number | undefined;
|
|
10074
|
+
usedExports?: boolean | undefined;
|
|
9957
10075
|
minSize?: number | Record<string, number> | undefined;
|
|
9958
10076
|
maxSize?: number | Record<string, number> | undefined;
|
|
9959
10077
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9960
10078
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
10079
|
+
maxAsyncRequests?: number | undefined;
|
|
10080
|
+
maxInitialRequests?: number | undefined;
|
|
9961
10081
|
automaticNameDelimiter?: string | undefined;
|
|
9962
10082
|
cacheGroups?: Record<string, false | {
|
|
9963
10083
|
filename?: string | undefined;
|
|
@@ -9971,14 +10091,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9971
10091
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9972
10092
|
defaultSizeTypes?: string[] | undefined;
|
|
9973
10093
|
minChunks?: number | undefined;
|
|
10094
|
+
usedExports?: boolean | undefined;
|
|
9974
10095
|
minSize?: number | Record<string, number> | undefined;
|
|
9975
10096
|
maxSize?: number | Record<string, number> | undefined;
|
|
9976
10097
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9977
10098
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
10099
|
+
maxAsyncRequests?: number | undefined;
|
|
10100
|
+
maxInitialRequests?: number | undefined;
|
|
9978
10101
|
automaticNameDelimiter?: string | undefined;
|
|
9979
10102
|
}> | undefined;
|
|
9980
|
-
maxAsyncRequests?: number | undefined;
|
|
9981
|
-
maxInitialRequests?: number | undefined;
|
|
9982
10103
|
fallbackCacheGroup?: {
|
|
9983
10104
|
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9984
10105
|
minSize?: number | undefined;
|
|
@@ -10001,7 +10122,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
10001
10122
|
providedExports?: boolean | undefined;
|
|
10002
10123
|
concatenateModules?: boolean | undefined;
|
|
10003
10124
|
innerGraph?: boolean | undefined;
|
|
10004
|
-
usedExports?: boolean | "global" | undefined;
|
|
10005
10125
|
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
10006
10126
|
nodeEnv?: string | false | undefined;
|
|
10007
10127
|
} | undefined;
|