@rspack/core 1.0.9 → 1.0.10

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.
@@ -2,9 +2,8 @@
2
2
  import type { JsAssetInfo, RawFuncUseCtx } from "@rspack/binding";
3
3
  import type * as webpackDevServer from "webpack-dev-server";
4
4
  import { z } from "../../compiled/zod";
5
- import type { Compilation, Compiler } from "..";
6
5
  import { Chunk } from "../Chunk";
7
- import type { PathData } from "../Compilation";
6
+ import type { Compilation, PathData } from "../Compilation";
8
7
  import { Module } from "../Module";
9
8
  import type * as t from "./types";
10
9
  export type * from "./types";
@@ -659,19 +658,17 @@ declare const baseRuleSetRule: z.ZodObject<{
659
658
  sideEffects: z.ZodOptional<z.ZodBoolean>;
660
659
  enforce: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"pre">, z.ZodLiteral<"post">]>>;
661
660
  }, "strict", z.ZodTypeAny, {
661
+ type?: string | undefined;
662
+ resource?: RuleSetCondition | undefined;
662
663
  layer?: string | undefined;
663
664
  options?: string | Record<string, any> | undefined;
664
- type?: string | undefined;
665
- test?: RuleSetCondition | undefined;
666
- enforce?: "pre" | "post" | undefined;
667
- sideEffects?: boolean | undefined;
668
665
  loader?: string | undefined;
666
+ test?: RuleSetCondition | undefined;
669
667
  exclude?: RuleSetCondition | undefined;
670
668
  include?: RuleSetCondition | undefined;
671
669
  issuer?: RuleSetCondition | undefined;
672
670
  issuerLayer?: RuleSetCondition | undefined;
673
671
  dependency?: RuleSetCondition | undefined;
674
- resource?: RuleSetCondition | undefined;
675
672
  resourceFragment?: RuleSetCondition | undefined;
676
673
  resourceQuery?: RuleSetCondition | undefined;
677
674
  scheme?: RuleSetCondition | undefined;
@@ -694,20 +691,20 @@ declare const baseRuleSetRule: z.ZodObject<{
694
691
  parser?: Record<string, any> | undefined;
695
692
  generator?: Record<string, any> | undefined;
696
693
  resolve?: t.ResolveOptions | undefined;
694
+ sideEffects?: boolean | undefined;
695
+ enforce?: "pre" | "post" | undefined;
697
696
  }, {
697
+ type?: string | undefined;
698
+ resource?: RuleSetCondition | undefined;
698
699
  layer?: string | undefined;
699
700
  options?: string | Record<string, any> | undefined;
700
- type?: string | undefined;
701
- test?: RuleSetCondition | undefined;
702
- enforce?: "pre" | "post" | undefined;
703
- sideEffects?: boolean | undefined;
704
701
  loader?: string | undefined;
702
+ test?: RuleSetCondition | undefined;
705
703
  exclude?: RuleSetCondition | undefined;
706
704
  include?: RuleSetCondition | undefined;
707
705
  issuer?: RuleSetCondition | undefined;
708
706
  issuerLayer?: RuleSetCondition | undefined;
709
707
  dependency?: RuleSetCondition | undefined;
710
- resource?: RuleSetCondition | undefined;
711
708
  resourceFragment?: RuleSetCondition | undefined;
712
709
  resourceQuery?: RuleSetCondition | undefined;
713
710
  scheme?: RuleSetCondition | undefined;
@@ -730,6 +727,8 @@ declare const baseRuleSetRule: z.ZodObject<{
730
727
  parser?: Record<string, any> | undefined;
731
728
  generator?: Record<string, any> | undefined;
732
729
  resolve?: t.ResolveOptions | undefined;
730
+ sideEffects?: boolean | undefined;
731
+ enforce?: "pre" | "post" | undefined;
733
732
  }>;
734
733
  export type RuleSetRule = z.infer<typeof baseRuleSetRule> & {
735
734
  oneOf?: RuleSetRule[];
@@ -3598,11 +3597,9 @@ declare const statsOptions: z.ZodObject<{
3598
3597
  source?: boolean | undefined;
3599
3598
  publicPath?: boolean | undefined;
3600
3599
  all?: boolean | undefined;
3601
- chunks?: boolean | undefined;
3602
- usedExports?: boolean | undefined;
3603
- providedExports?: boolean | undefined;
3604
3600
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
3605
3601
  assets?: boolean | undefined;
3602
+ chunks?: boolean | undefined;
3606
3603
  modules?: boolean | undefined;
3607
3604
  entrypoints?: boolean | "auto" | undefined;
3608
3605
  chunkGroups?: boolean | undefined;
@@ -3627,6 +3624,8 @@ declare const statsOptions: z.ZodObject<{
3627
3624
  loggingTrace?: boolean | undefined;
3628
3625
  runtimeModules?: boolean | undefined;
3629
3626
  children?: boolean | undefined;
3627
+ usedExports?: boolean | undefined;
3628
+ providedExports?: boolean | undefined;
3630
3629
  optimizationBailout?: boolean | undefined;
3631
3630
  groupModulesByType?: boolean | undefined;
3632
3631
  groupModulesByCacheStatus?: boolean | undefined;
@@ -3675,11 +3674,9 @@ declare const statsOptions: z.ZodObject<{
3675
3674
  source?: boolean | undefined;
3676
3675
  publicPath?: boolean | undefined;
3677
3676
  all?: boolean | undefined;
3678
- chunks?: boolean | undefined;
3679
- usedExports?: boolean | undefined;
3680
- providedExports?: boolean | undefined;
3681
3677
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
3682
3678
  assets?: boolean | undefined;
3679
+ chunks?: boolean | undefined;
3683
3680
  modules?: boolean | undefined;
3684
3681
  entrypoints?: boolean | "auto" | undefined;
3685
3682
  chunkGroups?: boolean | undefined;
@@ -3704,6 +3701,8 @@ declare const statsOptions: z.ZodObject<{
3704
3701
  loggingTrace?: boolean | undefined;
3705
3702
  runtimeModules?: boolean | undefined;
3706
3703
  children?: boolean | undefined;
3704
+ usedExports?: boolean | undefined;
3705
+ providedExports?: boolean | undefined;
3707
3706
  optimizationBailout?: boolean | undefined;
3708
3707
  groupModulesByType?: boolean | undefined;
3709
3708
  groupModulesByCacheStatus?: boolean | undefined;
@@ -3831,11 +3830,9 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
3831
3830
  source?: boolean | undefined;
3832
3831
  publicPath?: boolean | undefined;
3833
3832
  all?: boolean | undefined;
3834
- chunks?: boolean | undefined;
3835
- usedExports?: boolean | undefined;
3836
- providedExports?: boolean | undefined;
3837
3833
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
3838
3834
  assets?: boolean | undefined;
3835
+ chunks?: boolean | undefined;
3839
3836
  modules?: boolean | undefined;
3840
3837
  entrypoints?: boolean | "auto" | undefined;
3841
3838
  chunkGroups?: boolean | undefined;
@@ -3860,6 +3857,8 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
3860
3857
  loggingTrace?: boolean | undefined;
3861
3858
  runtimeModules?: boolean | undefined;
3862
3859
  children?: boolean | undefined;
3860
+ usedExports?: boolean | undefined;
3861
+ providedExports?: boolean | undefined;
3863
3862
  optimizationBailout?: boolean | undefined;
3864
3863
  groupModulesByType?: boolean | undefined;
3865
3864
  groupModulesByCacheStatus?: boolean | undefined;
@@ -3908,11 +3907,9 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
3908
3907
  source?: boolean | undefined;
3909
3908
  publicPath?: boolean | undefined;
3910
3909
  all?: boolean | undefined;
3911
- chunks?: boolean | undefined;
3912
- usedExports?: boolean | undefined;
3913
- providedExports?: boolean | undefined;
3914
3910
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
3915
3911
  assets?: boolean | undefined;
3912
+ chunks?: boolean | undefined;
3916
3913
  modules?: boolean | undefined;
3917
3914
  entrypoints?: boolean | "auto" | undefined;
3918
3915
  chunkGroups?: boolean | undefined;
@@ -3937,6 +3934,8 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
3937
3934
  loggingTrace?: boolean | undefined;
3938
3935
  runtimeModules?: boolean | undefined;
3939
3936
  children?: boolean | undefined;
3937
+ usedExports?: boolean | undefined;
3938
+ providedExports?: boolean | undefined;
3940
3939
  optimizationBailout?: boolean | undefined;
3941
3940
  groupModulesByType?: boolean | undefined;
3942
3941
  groupModulesByCacheStatus?: boolean | undefined;
@@ -3983,638 +3982,6 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
3983
3982
  warningsSpace?: number | undefined;
3984
3983
  }>]>;
3985
3984
  export type StatsValue = z.infer<typeof statsValue>;
3986
- export interface RspackPluginInstance {
3987
- apply: (compiler: Compiler) => void;
3988
- [k: string]: any;
3989
- }
3990
- export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
3991
- export type WebpackCompiler = any;
3992
- export interface WebpackPluginInstance {
3993
- apply: (compiler: WebpackCompiler) => void;
3994
- [k: string]: any;
3995
- }
3996
- export type WebpackPluginFunction = (this: WebpackCompiler, compiler: WebpackCompiler) => void;
3997
- declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
3998
- export type Plugins = z.infer<typeof plugins>;
3999
- declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
4000
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
4001
- name: z.ZodString;
4002
- }, "strict", z.ZodTypeAny, {
4003
- name: string;
4004
- }, {
4005
- name: string;
4006
- }>], z.ZodUnknown>, z.ZodString>]>>;
4007
- }, "strict", z.ZodTypeAny, {
4008
- name?: string | ((args_0: {
4009
- name: string;
4010
- }, ...args_1: unknown[]) => string) | undefined;
4011
- }, {
4012
- name?: string | ((args_0: {
4013
- name: string;
4014
- }, ...args_1: unknown[]) => string) | undefined;
4015
- }>]>;
4016
- export type OptimizationRuntimeChunk = z.infer<typeof optimizationRuntimeChunk>;
4017
- declare const optimizationSplitChunksNameFunction: z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>;
4018
- export type OptimizationSplitChunksNameFunction = z.infer<typeof optimizationSplitChunksNameFunction>;
4019
- declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
4020
- 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>]>>;
4021
- defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4022
- minChunks: z.ZodOptional<z.ZodNumber>;
4023
- usedExports: z.ZodOptional<z.ZodBoolean>;
4024
- 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>]>>;
4025
- minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4026
- maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4027
- maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4028
- maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4029
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
4030
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
4031
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4032
- 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>]>>;
4033
- priority: z.ZodOptional<z.ZodNumber>;
4034
- enforce: z.ZodOptional<z.ZodBoolean>;
4035
- filename: z.ZodOptional<z.ZodString>;
4036
- reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
4037
- type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
4038
- idHint: z.ZodOptional<z.ZodString>;
4039
- }, "strict", z.ZodTypeAny, {
4040
- filename?: string | undefined;
4041
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4042
- priority?: number | undefined;
4043
- type?: string | RegExp | undefined;
4044
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4045
- enforce?: boolean | undefined;
4046
- reuseExistingChunk?: boolean | undefined;
4047
- idHint?: string | undefined;
4048
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4049
- defaultSizeTypes?: string[] | undefined;
4050
- minChunks?: number | undefined;
4051
- usedExports?: boolean | undefined;
4052
- minSize?: number | Record<string, number> | undefined;
4053
- maxSize?: number | Record<string, number> | undefined;
4054
- maxAsyncSize?: number | Record<string, number> | undefined;
4055
- maxInitialSize?: number | Record<string, number> | undefined;
4056
- maxAsyncRequests?: number | undefined;
4057
- maxInitialRequests?: number | undefined;
4058
- automaticNameDelimiter?: string | undefined;
4059
- }, {
4060
- filename?: string | undefined;
4061
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4062
- priority?: number | undefined;
4063
- type?: string | RegExp | undefined;
4064
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4065
- enforce?: boolean | undefined;
4066
- reuseExistingChunk?: boolean | undefined;
4067
- idHint?: string | undefined;
4068
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4069
- defaultSizeTypes?: string[] | undefined;
4070
- minChunks?: number | undefined;
4071
- usedExports?: boolean | undefined;
4072
- minSize?: number | Record<string, number> | undefined;
4073
- maxSize?: number | Record<string, number> | undefined;
4074
- maxAsyncSize?: number | Record<string, number> | undefined;
4075
- maxInitialSize?: number | Record<string, number> | undefined;
4076
- maxAsyncRequests?: number | undefined;
4077
- maxInitialRequests?: number | undefined;
4078
- automaticNameDelimiter?: string | undefined;
4079
- }>;
4080
- export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
4081
- declare const optimizationSplitChunksOptions: z.ZodObject<{
4082
- 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>]>>;
4083
- defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4084
- minChunks: z.ZodOptional<z.ZodNumber>;
4085
- usedExports: z.ZodOptional<z.ZodBoolean>;
4086
- 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>]>>;
4087
- minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4088
- maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4089
- maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4090
- maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4091
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
4092
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
4093
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4094
- cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
4095
- 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>]>>;
4096
- defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4097
- minChunks: z.ZodOptional<z.ZodNumber>;
4098
- usedExports: z.ZodOptional<z.ZodBoolean>;
4099
- 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>]>>;
4100
- minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4101
- maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4102
- maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4103
- maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4104
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
4105
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
4106
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4107
- 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>]>>;
4108
- priority: z.ZodOptional<z.ZodNumber>;
4109
- enforce: z.ZodOptional<z.ZodBoolean>;
4110
- filename: z.ZodOptional<z.ZodString>;
4111
- reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
4112
- type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
4113
- idHint: z.ZodOptional<z.ZodString>;
4114
- }, "strict", z.ZodTypeAny, {
4115
- filename?: string | undefined;
4116
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4117
- priority?: number | undefined;
4118
- type?: string | RegExp | undefined;
4119
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4120
- enforce?: boolean | undefined;
4121
- reuseExistingChunk?: boolean | undefined;
4122
- idHint?: string | undefined;
4123
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4124
- defaultSizeTypes?: string[] | undefined;
4125
- minChunks?: number | undefined;
4126
- usedExports?: boolean | undefined;
4127
- minSize?: number | Record<string, number> | undefined;
4128
- maxSize?: number | Record<string, number> | undefined;
4129
- maxAsyncSize?: number | Record<string, number> | undefined;
4130
- maxInitialSize?: number | Record<string, number> | undefined;
4131
- maxAsyncRequests?: number | undefined;
4132
- maxInitialRequests?: number | undefined;
4133
- automaticNameDelimiter?: string | undefined;
4134
- }, {
4135
- filename?: string | undefined;
4136
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4137
- priority?: number | undefined;
4138
- type?: string | RegExp | undefined;
4139
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4140
- enforce?: boolean | undefined;
4141
- reuseExistingChunk?: boolean | undefined;
4142
- idHint?: string | undefined;
4143
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4144
- defaultSizeTypes?: string[] | undefined;
4145
- minChunks?: number | undefined;
4146
- usedExports?: boolean | undefined;
4147
- minSize?: number | Record<string, number> | undefined;
4148
- maxSize?: number | Record<string, number> | undefined;
4149
- maxAsyncSize?: number | Record<string, number> | undefined;
4150
- maxInitialSize?: number | Record<string, number> | undefined;
4151
- maxAsyncRequests?: number | undefined;
4152
- maxInitialRequests?: number | undefined;
4153
- automaticNameDelimiter?: string | undefined;
4154
- }>]>>>;
4155
- fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
4156
- 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>]>>;
4157
- minSize: z.ZodOptional<z.ZodNumber>;
4158
- maxSize: z.ZodOptional<z.ZodNumber>;
4159
- maxAsyncSize: z.ZodOptional<z.ZodNumber>;
4160
- maxInitialSize: z.ZodOptional<z.ZodNumber>;
4161
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4162
- }, "strict", z.ZodTypeAny, {
4163
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4164
- minSize?: number | undefined;
4165
- maxSize?: number | undefined;
4166
- maxAsyncSize?: number | undefined;
4167
- maxInitialSize?: number | undefined;
4168
- automaticNameDelimiter?: string | undefined;
4169
- }, {
4170
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4171
- minSize?: number | undefined;
4172
- maxSize?: number | undefined;
4173
- maxAsyncSize?: number | undefined;
4174
- maxInitialSize?: number | undefined;
4175
- automaticNameDelimiter?: string | undefined;
4176
- }>>;
4177
- hidePathInfo: z.ZodOptional<z.ZodBoolean>;
4178
- }, "strict", z.ZodTypeAny, {
4179
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4180
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4181
- defaultSizeTypes?: string[] | undefined;
4182
- minChunks?: number | undefined;
4183
- usedExports?: boolean | undefined;
4184
- minSize?: number | Record<string, number> | undefined;
4185
- maxSize?: number | Record<string, number> | undefined;
4186
- maxAsyncSize?: number | Record<string, number> | undefined;
4187
- maxInitialSize?: number | Record<string, number> | undefined;
4188
- maxAsyncRequests?: number | undefined;
4189
- maxInitialRequests?: number | undefined;
4190
- automaticNameDelimiter?: string | undefined;
4191
- cacheGroups?: Record<string, false | {
4192
- filename?: string | undefined;
4193
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4194
- priority?: number | undefined;
4195
- type?: string | RegExp | undefined;
4196
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4197
- enforce?: boolean | undefined;
4198
- reuseExistingChunk?: boolean | undefined;
4199
- idHint?: string | undefined;
4200
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4201
- defaultSizeTypes?: string[] | undefined;
4202
- minChunks?: number | undefined;
4203
- usedExports?: boolean | undefined;
4204
- minSize?: number | Record<string, number> | undefined;
4205
- maxSize?: number | Record<string, number> | undefined;
4206
- maxAsyncSize?: number | Record<string, number> | undefined;
4207
- maxInitialSize?: number | Record<string, number> | undefined;
4208
- maxAsyncRequests?: number | undefined;
4209
- maxInitialRequests?: number | undefined;
4210
- automaticNameDelimiter?: string | undefined;
4211
- }> | undefined;
4212
- fallbackCacheGroup?: {
4213
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4214
- minSize?: number | undefined;
4215
- maxSize?: number | undefined;
4216
- maxAsyncSize?: number | undefined;
4217
- maxInitialSize?: number | undefined;
4218
- automaticNameDelimiter?: string | undefined;
4219
- } | undefined;
4220
- hidePathInfo?: boolean | undefined;
4221
- }, {
4222
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4223
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4224
- defaultSizeTypes?: string[] | undefined;
4225
- minChunks?: number | undefined;
4226
- usedExports?: boolean | undefined;
4227
- minSize?: number | Record<string, number> | undefined;
4228
- maxSize?: number | Record<string, number> | undefined;
4229
- maxAsyncSize?: number | Record<string, number> | undefined;
4230
- maxInitialSize?: number | Record<string, number> | undefined;
4231
- maxAsyncRequests?: number | undefined;
4232
- maxInitialRequests?: number | undefined;
4233
- automaticNameDelimiter?: string | undefined;
4234
- cacheGroups?: Record<string, false | {
4235
- filename?: string | undefined;
4236
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4237
- priority?: number | undefined;
4238
- type?: string | RegExp | undefined;
4239
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4240
- enforce?: boolean | undefined;
4241
- reuseExistingChunk?: boolean | undefined;
4242
- idHint?: string | undefined;
4243
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4244
- defaultSizeTypes?: string[] | undefined;
4245
- minChunks?: number | undefined;
4246
- usedExports?: boolean | undefined;
4247
- minSize?: number | Record<string, number> | undefined;
4248
- maxSize?: number | Record<string, number> | undefined;
4249
- maxAsyncSize?: number | Record<string, number> | undefined;
4250
- maxInitialSize?: number | Record<string, number> | undefined;
4251
- maxAsyncRequests?: number | undefined;
4252
- maxInitialRequests?: number | undefined;
4253
- automaticNameDelimiter?: string | undefined;
4254
- }> | undefined;
4255
- fallbackCacheGroup?: {
4256
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4257
- minSize?: number | undefined;
4258
- maxSize?: number | undefined;
4259
- maxAsyncSize?: number | undefined;
4260
- maxInitialSize?: number | undefined;
4261
- automaticNameDelimiter?: string | undefined;
4262
- } | undefined;
4263
- hidePathInfo?: boolean | undefined;
4264
- }>;
4265
- export type OptimizationSplitChunksOptions = z.infer<typeof optimizationSplitChunksOptions>;
4266
- declare const optimization: z.ZodObject<{
4267
- moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
4268
- chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
4269
- minimize: z.ZodOptional<z.ZodBoolean>;
4270
- minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
4271
- mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
4272
- splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
4273
- 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>]>>;
4274
- defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4275
- minChunks: z.ZodOptional<z.ZodNumber>;
4276
- usedExports: z.ZodOptional<z.ZodBoolean>;
4277
- 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>]>>;
4278
- minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4279
- maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4280
- maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4281
- maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4282
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
4283
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
4284
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4285
- cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
4286
- 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>]>>;
4287
- defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4288
- minChunks: z.ZodOptional<z.ZodNumber>;
4289
- usedExports: z.ZodOptional<z.ZodBoolean>;
4290
- 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>]>>;
4291
- minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4292
- maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4293
- maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4294
- maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
4295
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
4296
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
4297
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4298
- 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>]>>;
4299
- priority: z.ZodOptional<z.ZodNumber>;
4300
- enforce: z.ZodOptional<z.ZodBoolean>;
4301
- filename: z.ZodOptional<z.ZodString>;
4302
- reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
4303
- type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
4304
- idHint: z.ZodOptional<z.ZodString>;
4305
- }, "strict", z.ZodTypeAny, {
4306
- filename?: string | undefined;
4307
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4308
- priority?: number | undefined;
4309
- type?: string | RegExp | undefined;
4310
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4311
- enforce?: boolean | undefined;
4312
- reuseExistingChunk?: boolean | undefined;
4313
- idHint?: string | undefined;
4314
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4315
- defaultSizeTypes?: string[] | undefined;
4316
- minChunks?: number | undefined;
4317
- usedExports?: boolean | undefined;
4318
- minSize?: number | Record<string, number> | undefined;
4319
- maxSize?: number | Record<string, number> | undefined;
4320
- maxAsyncSize?: number | Record<string, number> | undefined;
4321
- maxInitialSize?: number | Record<string, number> | undefined;
4322
- maxAsyncRequests?: number | undefined;
4323
- maxInitialRequests?: number | undefined;
4324
- automaticNameDelimiter?: string | undefined;
4325
- }, {
4326
- filename?: string | undefined;
4327
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4328
- priority?: number | undefined;
4329
- type?: string | RegExp | undefined;
4330
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4331
- enforce?: boolean | undefined;
4332
- reuseExistingChunk?: boolean | undefined;
4333
- idHint?: string | undefined;
4334
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4335
- defaultSizeTypes?: string[] | undefined;
4336
- minChunks?: number | undefined;
4337
- usedExports?: boolean | undefined;
4338
- minSize?: number | Record<string, number> | undefined;
4339
- maxSize?: number | Record<string, number> | undefined;
4340
- maxAsyncSize?: number | Record<string, number> | undefined;
4341
- maxInitialSize?: number | Record<string, number> | undefined;
4342
- maxAsyncRequests?: number | undefined;
4343
- maxInitialRequests?: number | undefined;
4344
- automaticNameDelimiter?: string | undefined;
4345
- }>]>>>;
4346
- fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
4347
- 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>]>>;
4348
- minSize: z.ZodOptional<z.ZodNumber>;
4349
- maxSize: z.ZodOptional<z.ZodNumber>;
4350
- maxAsyncSize: z.ZodOptional<z.ZodNumber>;
4351
- maxInitialSize: z.ZodOptional<z.ZodNumber>;
4352
- automaticNameDelimiter: z.ZodOptional<z.ZodString>;
4353
- }, "strict", z.ZodTypeAny, {
4354
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4355
- minSize?: number | undefined;
4356
- maxSize?: number | undefined;
4357
- maxAsyncSize?: number | undefined;
4358
- maxInitialSize?: number | undefined;
4359
- automaticNameDelimiter?: string | undefined;
4360
- }, {
4361
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4362
- minSize?: number | undefined;
4363
- maxSize?: number | undefined;
4364
- maxAsyncSize?: number | undefined;
4365
- maxInitialSize?: number | undefined;
4366
- automaticNameDelimiter?: string | undefined;
4367
- }>>;
4368
- hidePathInfo: z.ZodOptional<z.ZodBoolean>;
4369
- }, "strict", z.ZodTypeAny, {
4370
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4371
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4372
- defaultSizeTypes?: string[] | undefined;
4373
- minChunks?: number | undefined;
4374
- usedExports?: boolean | undefined;
4375
- minSize?: number | Record<string, number> | undefined;
4376
- maxSize?: number | Record<string, number> | undefined;
4377
- maxAsyncSize?: number | Record<string, number> | undefined;
4378
- maxInitialSize?: number | Record<string, number> | undefined;
4379
- maxAsyncRequests?: number | undefined;
4380
- maxInitialRequests?: number | undefined;
4381
- automaticNameDelimiter?: string | undefined;
4382
- cacheGroups?: Record<string, false | {
4383
- filename?: string | undefined;
4384
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4385
- priority?: number | undefined;
4386
- type?: string | RegExp | undefined;
4387
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4388
- enforce?: boolean | undefined;
4389
- reuseExistingChunk?: boolean | undefined;
4390
- idHint?: string | undefined;
4391
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4392
- defaultSizeTypes?: string[] | undefined;
4393
- minChunks?: number | undefined;
4394
- usedExports?: boolean | undefined;
4395
- minSize?: number | Record<string, number> | undefined;
4396
- maxSize?: number | Record<string, number> | undefined;
4397
- maxAsyncSize?: number | Record<string, number> | undefined;
4398
- maxInitialSize?: number | Record<string, number> | undefined;
4399
- maxAsyncRequests?: number | undefined;
4400
- maxInitialRequests?: number | undefined;
4401
- automaticNameDelimiter?: string | undefined;
4402
- }> | undefined;
4403
- fallbackCacheGroup?: {
4404
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4405
- minSize?: number | undefined;
4406
- maxSize?: number | undefined;
4407
- maxAsyncSize?: number | undefined;
4408
- maxInitialSize?: number | undefined;
4409
- automaticNameDelimiter?: string | undefined;
4410
- } | undefined;
4411
- hidePathInfo?: boolean | undefined;
4412
- }, {
4413
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4414
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4415
- defaultSizeTypes?: string[] | undefined;
4416
- minChunks?: number | undefined;
4417
- usedExports?: boolean | undefined;
4418
- minSize?: number | Record<string, number> | undefined;
4419
- maxSize?: number | Record<string, number> | undefined;
4420
- maxAsyncSize?: number | Record<string, number> | undefined;
4421
- maxInitialSize?: number | Record<string, number> | undefined;
4422
- maxAsyncRequests?: number | undefined;
4423
- maxInitialRequests?: number | undefined;
4424
- automaticNameDelimiter?: string | undefined;
4425
- cacheGroups?: Record<string, false | {
4426
- filename?: string | undefined;
4427
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4428
- priority?: number | undefined;
4429
- type?: string | RegExp | undefined;
4430
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4431
- enforce?: boolean | undefined;
4432
- reuseExistingChunk?: boolean | undefined;
4433
- idHint?: string | undefined;
4434
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4435
- defaultSizeTypes?: string[] | undefined;
4436
- minChunks?: number | undefined;
4437
- usedExports?: boolean | undefined;
4438
- minSize?: number | Record<string, number> | undefined;
4439
- maxSize?: number | Record<string, number> | undefined;
4440
- maxAsyncSize?: number | Record<string, number> | undefined;
4441
- maxInitialSize?: number | Record<string, number> | undefined;
4442
- maxAsyncRequests?: number | undefined;
4443
- maxInitialRequests?: number | undefined;
4444
- automaticNameDelimiter?: string | undefined;
4445
- }> | undefined;
4446
- fallbackCacheGroup?: {
4447
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4448
- minSize?: number | undefined;
4449
- maxSize?: number | undefined;
4450
- maxAsyncSize?: number | undefined;
4451
- maxInitialSize?: number | undefined;
4452
- automaticNameDelimiter?: string | undefined;
4453
- } | undefined;
4454
- hidePathInfo?: boolean | undefined;
4455
- }>]>>;
4456
- runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
4457
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
4458
- name: z.ZodString;
4459
- }, "strict", z.ZodTypeAny, {
4460
- name: string;
4461
- }, {
4462
- name: string;
4463
- }>], z.ZodUnknown>, z.ZodString>]>>;
4464
- }, "strict", z.ZodTypeAny, {
4465
- name?: string | ((args_0: {
4466
- name: string;
4467
- }, ...args_1: unknown[]) => string) | undefined;
4468
- }, {
4469
- name?: string | ((args_0: {
4470
- name: string;
4471
- }, ...args_1: unknown[]) => string) | undefined;
4472
- }>]>>;
4473
- removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
4474
- removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
4475
- realContentHash: z.ZodOptional<z.ZodBoolean>;
4476
- sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
4477
- providedExports: z.ZodOptional<z.ZodBoolean>;
4478
- concatenateModules: z.ZodOptional<z.ZodBoolean>;
4479
- innerGraph: z.ZodOptional<z.ZodBoolean>;
4480
- usedExports: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["global"]>, z.ZodBoolean]>>;
4481
- mangleExports: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["size", "deterministic"]>, z.ZodBoolean]>>;
4482
- nodeEnv: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
4483
- emitOnErrors: z.ZodOptional<z.ZodBoolean>;
4484
- }, "strict", z.ZodTypeAny, {
4485
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
4486
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
4487
- minimize?: boolean | undefined;
4488
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
4489
- mergeDuplicateChunks?: boolean | undefined;
4490
- usedExports?: boolean | "global" | undefined;
4491
- splitChunks?: false | {
4492
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4493
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4494
- defaultSizeTypes?: string[] | undefined;
4495
- minChunks?: number | undefined;
4496
- usedExports?: boolean | undefined;
4497
- minSize?: number | Record<string, number> | undefined;
4498
- maxSize?: number | Record<string, number> | undefined;
4499
- maxAsyncSize?: number | Record<string, number> | undefined;
4500
- maxInitialSize?: number | Record<string, number> | undefined;
4501
- maxAsyncRequests?: number | undefined;
4502
- maxInitialRequests?: number | undefined;
4503
- automaticNameDelimiter?: string | undefined;
4504
- cacheGroups?: Record<string, false | {
4505
- filename?: string | undefined;
4506
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4507
- priority?: number | undefined;
4508
- type?: string | RegExp | undefined;
4509
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4510
- enforce?: boolean | undefined;
4511
- reuseExistingChunk?: boolean | undefined;
4512
- idHint?: string | undefined;
4513
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4514
- defaultSizeTypes?: string[] | undefined;
4515
- minChunks?: number | undefined;
4516
- usedExports?: boolean | undefined;
4517
- minSize?: number | Record<string, number> | undefined;
4518
- maxSize?: number | Record<string, number> | undefined;
4519
- maxAsyncSize?: number | Record<string, number> | undefined;
4520
- maxInitialSize?: number | Record<string, number> | undefined;
4521
- maxAsyncRequests?: number | undefined;
4522
- maxInitialRequests?: number | undefined;
4523
- automaticNameDelimiter?: string | undefined;
4524
- }> | undefined;
4525
- fallbackCacheGroup?: {
4526
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4527
- minSize?: number | undefined;
4528
- maxSize?: number | undefined;
4529
- maxAsyncSize?: number | undefined;
4530
- maxInitialSize?: number | undefined;
4531
- automaticNameDelimiter?: string | undefined;
4532
- } | undefined;
4533
- hidePathInfo?: boolean | undefined;
4534
- } | undefined;
4535
- runtimeChunk?: boolean | "single" | "multiple" | {
4536
- name?: string | ((args_0: {
4537
- name: string;
4538
- }, ...args_1: unknown[]) => string) | undefined;
4539
- } | undefined;
4540
- removeAvailableModules?: boolean | undefined;
4541
- removeEmptyChunks?: boolean | undefined;
4542
- realContentHash?: boolean | undefined;
4543
- sideEffects?: boolean | "flag" | undefined;
4544
- providedExports?: boolean | undefined;
4545
- concatenateModules?: boolean | undefined;
4546
- innerGraph?: boolean | undefined;
4547
- mangleExports?: boolean | "size" | "deterministic" | undefined;
4548
- nodeEnv?: string | false | undefined;
4549
- emitOnErrors?: boolean | undefined;
4550
- }, {
4551
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
4552
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
4553
- minimize?: boolean | undefined;
4554
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
4555
- mergeDuplicateChunks?: boolean | undefined;
4556
- usedExports?: boolean | "global" | undefined;
4557
- splitChunks?: false | {
4558
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4559
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4560
- defaultSizeTypes?: string[] | undefined;
4561
- minChunks?: number | undefined;
4562
- usedExports?: boolean | undefined;
4563
- minSize?: number | Record<string, number> | undefined;
4564
- maxSize?: number | Record<string, number> | undefined;
4565
- maxAsyncSize?: number | Record<string, number> | undefined;
4566
- maxInitialSize?: number | Record<string, number> | undefined;
4567
- maxAsyncRequests?: number | undefined;
4568
- maxInitialRequests?: number | undefined;
4569
- automaticNameDelimiter?: string | undefined;
4570
- cacheGroups?: Record<string, false | {
4571
- filename?: string | undefined;
4572
- name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
4573
- priority?: number | undefined;
4574
- type?: string | RegExp | undefined;
4575
- test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
4576
- enforce?: boolean | undefined;
4577
- reuseExistingChunk?: boolean | undefined;
4578
- idHint?: string | undefined;
4579
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4580
- defaultSizeTypes?: string[] | undefined;
4581
- minChunks?: number | undefined;
4582
- usedExports?: boolean | undefined;
4583
- minSize?: number | Record<string, number> | undefined;
4584
- maxSize?: number | Record<string, number> | undefined;
4585
- maxAsyncSize?: number | Record<string, number> | undefined;
4586
- maxInitialSize?: number | Record<string, number> | undefined;
4587
- maxAsyncRequests?: number | undefined;
4588
- maxInitialRequests?: number | undefined;
4589
- automaticNameDelimiter?: string | undefined;
4590
- }> | undefined;
4591
- fallbackCacheGroup?: {
4592
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
4593
- minSize?: number | undefined;
4594
- maxSize?: number | undefined;
4595
- maxAsyncSize?: number | undefined;
4596
- maxInitialSize?: number | undefined;
4597
- automaticNameDelimiter?: string | undefined;
4598
- } | undefined;
4599
- hidePathInfo?: boolean | undefined;
4600
- } | undefined;
4601
- runtimeChunk?: boolean | "single" | "multiple" | {
4602
- name?: string | ((args_0: {
4603
- name: string;
4604
- }, ...args_1: unknown[]) => string) | undefined;
4605
- } | undefined;
4606
- removeAvailableModules?: boolean | undefined;
4607
- removeEmptyChunks?: boolean | undefined;
4608
- realContentHash?: boolean | undefined;
4609
- sideEffects?: boolean | "flag" | undefined;
4610
- providedExports?: boolean | undefined;
4611
- concatenateModules?: boolean | undefined;
4612
- innerGraph?: boolean | undefined;
4613
- mangleExports?: boolean | "size" | "deterministic" | undefined;
4614
- nodeEnv?: string | false | undefined;
4615
- emitOnErrors?: boolean | undefined;
4616
- }>;
4617
- export type Optimization = z.infer<typeof optimization>;
4618
3985
  declare const rspackFutureOptions: z.ZodObject<{
4619
3986
  bundlerInfo: z.ZodOptional<z.ZodObject<{
4620
3987
  version: z.ZodOptional<z.ZodString>;
@@ -6111,16 +5478,16 @@ export declare const rspackOptions: z.ZodObject<{
6111
5478
  issuer: string;
6112
5479
  }>>;
6113
5480
  }, "strict", z.ZodTypeAny, {
5481
+ request?: string | undefined;
6114
5482
  context?: string | undefined;
6115
5483
  dependencyType?: string | undefined;
6116
- request?: string | undefined;
6117
5484
  contextInfo?: {
6118
5485
  issuer: string;
6119
5486
  } | undefined;
6120
5487
  }, {
5488
+ request?: string | undefined;
6121
5489
  context?: string | undefined;
6122
5490
  dependencyType?: string | undefined;
6123
- request?: string | undefined;
6124
5491
  contextInfo?: {
6125
5492
  issuer: string;
6126
5493
  } | undefined;
@@ -6136,16 +5503,16 @@ export declare const rspackOptions: z.ZodObject<{
6136
5503
  issuer: string;
6137
5504
  }>>;
6138
5505
  }, "strict", z.ZodTypeAny, {
5506
+ request?: string | undefined;
6139
5507
  context?: string | undefined;
6140
5508
  dependencyType?: string | undefined;
6141
- request?: string | undefined;
6142
5509
  contextInfo?: {
6143
5510
  issuer: string;
6144
5511
  } | undefined;
6145
5512
  }, {
5513
+ request?: string | undefined;
6146
5514
  context?: string | undefined;
6147
5515
  dependencyType?: string | undefined;
6148
- request?: string | undefined;
6149
5516
  contextInfo?: {
6150
5517
  issuer: string;
6151
5518
  } | undefined;
@@ -6161,16 +5528,16 @@ export declare const rspackOptions: z.ZodObject<{
6161
5528
  issuer: string;
6162
5529
  }>>;
6163
5530
  }, "strict", z.ZodTypeAny, {
5531
+ request?: string | undefined;
6164
5532
  context?: string | undefined;
6165
5533
  dependencyType?: string | undefined;
6166
- request?: string | undefined;
6167
5534
  contextInfo?: {
6168
5535
  issuer: string;
6169
5536
  } | undefined;
6170
5537
  }, {
5538
+ request?: string | undefined;
6171
5539
  context?: string | undefined;
6172
5540
  dependencyType?: string | undefined;
6173
- request?: string | undefined;
6174
5541
  contextInfo?: {
6175
5542
  issuer: string;
6176
5543
  } | undefined;
@@ -6186,16 +5553,16 @@ export declare const rspackOptions: z.ZodObject<{
6186
5553
  issuer: string;
6187
5554
  }>>;
6188
5555
  }, "strict", z.ZodTypeAny, {
5556
+ request?: string | undefined;
6189
5557
  context?: string | undefined;
6190
5558
  dependencyType?: string | undefined;
6191
- request?: string | undefined;
6192
5559
  contextInfo?: {
6193
5560
  issuer: string;
6194
5561
  } | undefined;
6195
5562
  }, {
5563
+ request?: string | undefined;
6196
5564
  context?: string | undefined;
6197
5565
  dependencyType?: string | undefined;
6198
- request?: string | undefined;
6199
5566
  contextInfo?: {
6200
5567
  issuer: string;
6201
5568
  } | undefined;
@@ -6370,11 +5737,9 @@ export declare const rspackOptions: z.ZodObject<{
6370
5737
  source?: boolean | undefined;
6371
5738
  publicPath?: boolean | undefined;
6372
5739
  all?: boolean | undefined;
6373
- chunks?: boolean | undefined;
6374
- usedExports?: boolean | undefined;
6375
- providedExports?: boolean | undefined;
6376
5740
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
6377
5741
  assets?: boolean | undefined;
5742
+ chunks?: boolean | undefined;
6378
5743
  modules?: boolean | undefined;
6379
5744
  entrypoints?: boolean | "auto" | undefined;
6380
5745
  chunkGroups?: boolean | undefined;
@@ -6399,6 +5764,8 @@ export declare const rspackOptions: z.ZodObject<{
6399
5764
  loggingTrace?: boolean | undefined;
6400
5765
  runtimeModules?: boolean | undefined;
6401
5766
  children?: boolean | undefined;
5767
+ usedExports?: boolean | undefined;
5768
+ providedExports?: boolean | undefined;
6402
5769
  optimizationBailout?: boolean | undefined;
6403
5770
  groupModulesByType?: boolean | undefined;
6404
5771
  groupModulesByCacheStatus?: boolean | undefined;
@@ -6447,11 +5814,9 @@ export declare const rspackOptions: z.ZodObject<{
6447
5814
  source?: boolean | undefined;
6448
5815
  publicPath?: boolean | undefined;
6449
5816
  all?: boolean | undefined;
6450
- chunks?: boolean | undefined;
6451
- usedExports?: boolean | undefined;
6452
- providedExports?: boolean | undefined;
6453
5817
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
6454
5818
  assets?: boolean | undefined;
5819
+ chunks?: boolean | undefined;
6455
5820
  modules?: boolean | undefined;
6456
5821
  entrypoints?: boolean | "auto" | undefined;
6457
5822
  chunkGroups?: boolean | undefined;
@@ -6476,6 +5841,8 @@ export declare const rspackOptions: z.ZodObject<{
6476
5841
  loggingTrace?: boolean | undefined;
6477
5842
  runtimeModules?: boolean | undefined;
6478
5843
  children?: boolean | undefined;
5844
+ usedExports?: boolean | undefined;
5845
+ providedExports?: boolean | undefined;
6479
5846
  optimizationBailout?: boolean | undefined;
6480
5847
  groupModulesByType?: boolean | undefined;
6481
5848
  groupModulesByCacheStatus?: boolean | undefined;
@@ -6526,7 +5893,7 @@ export declare const rspackOptions: z.ZodObject<{
6526
5893
  moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
6527
5894
  chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
6528
5895
  minimize: z.ZodOptional<z.ZodBoolean>;
6529
- minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
5896
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction, z.ZodTypeDef, t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
6530
5897
  mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
6531
5898
  splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
6532
5899
  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>]>>;
@@ -6562,40 +5929,40 @@ export declare const rspackOptions: z.ZodObject<{
6562
5929
  type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
6563
5930
  idHint: z.ZodOptional<z.ZodString>;
6564
5931
  }, "strict", z.ZodTypeAny, {
5932
+ type?: string | RegExp | undefined;
6565
5933
  filename?: string | undefined;
6566
5934
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6567
5935
  priority?: number | undefined;
6568
- type?: string | RegExp | undefined;
5936
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5937
+ usedExports?: boolean | undefined;
6569
5938
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6570
5939
  enforce?: boolean | undefined;
5940
+ maxSize?: number | Record<string, number> | undefined;
6571
5941
  reuseExistingChunk?: boolean | undefined;
6572
5942
  idHint?: string | undefined;
6573
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6574
5943
  defaultSizeTypes?: string[] | undefined;
6575
5944
  minChunks?: number | undefined;
6576
- usedExports?: boolean | undefined;
6577
5945
  minSize?: number | Record<string, number> | undefined;
6578
- maxSize?: number | Record<string, number> | undefined;
6579
5946
  maxAsyncSize?: number | Record<string, number> | undefined;
6580
5947
  maxInitialSize?: number | Record<string, number> | undefined;
6581
5948
  maxAsyncRequests?: number | undefined;
6582
5949
  maxInitialRequests?: number | undefined;
6583
5950
  automaticNameDelimiter?: string | undefined;
6584
5951
  }, {
5952
+ type?: string | RegExp | undefined;
6585
5953
  filename?: string | undefined;
6586
5954
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6587
5955
  priority?: number | undefined;
6588
- type?: string | RegExp | undefined;
5956
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5957
+ usedExports?: boolean | undefined;
6589
5958
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6590
5959
  enforce?: boolean | undefined;
5960
+ maxSize?: number | Record<string, number> | undefined;
6591
5961
  reuseExistingChunk?: boolean | undefined;
6592
5962
  idHint?: string | undefined;
6593
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6594
5963
  defaultSizeTypes?: string[] | undefined;
6595
5964
  minChunks?: number | undefined;
6596
- usedExports?: boolean | undefined;
6597
5965
  minSize?: number | Record<string, number> | undefined;
6598
- maxSize?: number | Record<string, number> | undefined;
6599
5966
  maxAsyncSize?: number | Record<string, number> | undefined;
6600
5967
  maxInitialSize?: number | Record<string, number> | undefined;
6601
5968
  maxAsyncRequests?: number | undefined;
@@ -6610,16 +5977,16 @@ export declare const rspackOptions: z.ZodObject<{
6610
5977
  maxInitialSize: z.ZodOptional<z.ZodNumber>;
6611
5978
  automaticNameDelimiter: z.ZodOptional<z.ZodString>;
6612
5979
  }, "strict", z.ZodTypeAny, {
6613
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6614
- minSize?: number | undefined;
5980
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6615
5981
  maxSize?: number | undefined;
5982
+ minSize?: number | undefined;
6616
5983
  maxAsyncSize?: number | undefined;
6617
5984
  maxInitialSize?: number | undefined;
6618
5985
  automaticNameDelimiter?: string | undefined;
6619
5986
  }, {
6620
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6621
- minSize?: number | undefined;
5987
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6622
5988
  maxSize?: number | undefined;
5989
+ minSize?: number | undefined;
6623
5990
  maxAsyncSize?: number | undefined;
6624
5991
  maxInitialSize?: number | undefined;
6625
5992
  automaticNameDelimiter?: string | undefined;
@@ -6627,32 +5994,32 @@ export declare const rspackOptions: z.ZodObject<{
6627
5994
  hidePathInfo: z.ZodOptional<z.ZodBoolean>;
6628
5995
  }, "strict", z.ZodTypeAny, {
6629
5996
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6630
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5997
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
5998
+ usedExports?: boolean | undefined;
5999
+ maxSize?: number | Record<string, number> | undefined;
6631
6000
  defaultSizeTypes?: string[] | undefined;
6632
6001
  minChunks?: number | undefined;
6633
- usedExports?: boolean | undefined;
6634
6002
  minSize?: number | Record<string, number> | undefined;
6635
- maxSize?: number | Record<string, number> | undefined;
6636
6003
  maxAsyncSize?: number | Record<string, number> | undefined;
6637
6004
  maxInitialSize?: number | Record<string, number> | undefined;
6638
6005
  maxAsyncRequests?: number | undefined;
6639
6006
  maxInitialRequests?: number | undefined;
6640
6007
  automaticNameDelimiter?: string | undefined;
6641
6008
  cacheGroups?: Record<string, false | {
6009
+ type?: string | RegExp | undefined;
6642
6010
  filename?: string | undefined;
6643
6011
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6644
6012
  priority?: number | undefined;
6645
- type?: string | RegExp | undefined;
6013
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6014
+ usedExports?: boolean | undefined;
6646
6015
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6647
6016
  enforce?: boolean | undefined;
6017
+ maxSize?: number | Record<string, number> | undefined;
6648
6018
  reuseExistingChunk?: boolean | undefined;
6649
6019
  idHint?: string | undefined;
6650
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6651
6020
  defaultSizeTypes?: string[] | undefined;
6652
6021
  minChunks?: number | undefined;
6653
- usedExports?: boolean | undefined;
6654
6022
  minSize?: number | Record<string, number> | undefined;
6655
- maxSize?: number | Record<string, number> | undefined;
6656
6023
  maxAsyncSize?: number | Record<string, number> | undefined;
6657
6024
  maxInitialSize?: number | Record<string, number> | undefined;
6658
6025
  maxAsyncRequests?: number | undefined;
@@ -6660,9 +6027,9 @@ export declare const rspackOptions: z.ZodObject<{
6660
6027
  automaticNameDelimiter?: string | undefined;
6661
6028
  }> | undefined;
6662
6029
  fallbackCacheGroup?: {
6663
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6664
- minSize?: number | undefined;
6030
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6665
6031
  maxSize?: number | undefined;
6032
+ minSize?: number | undefined;
6666
6033
  maxAsyncSize?: number | undefined;
6667
6034
  maxInitialSize?: number | undefined;
6668
6035
  automaticNameDelimiter?: string | undefined;
@@ -6670,32 +6037,32 @@ export declare const rspackOptions: z.ZodObject<{
6670
6037
  hidePathInfo?: boolean | undefined;
6671
6038
  }, {
6672
6039
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6673
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6040
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6041
+ usedExports?: boolean | undefined;
6042
+ maxSize?: number | Record<string, number> | undefined;
6674
6043
  defaultSizeTypes?: string[] | undefined;
6675
6044
  minChunks?: number | undefined;
6676
- usedExports?: boolean | undefined;
6677
6045
  minSize?: number | Record<string, number> | undefined;
6678
- maxSize?: number | Record<string, number> | undefined;
6679
6046
  maxAsyncSize?: number | Record<string, number> | undefined;
6680
6047
  maxInitialSize?: number | Record<string, number> | undefined;
6681
6048
  maxAsyncRequests?: number | undefined;
6682
6049
  maxInitialRequests?: number | undefined;
6683
6050
  automaticNameDelimiter?: string | undefined;
6684
6051
  cacheGroups?: Record<string, false | {
6052
+ type?: string | RegExp | undefined;
6685
6053
  filename?: string | undefined;
6686
6054
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6687
6055
  priority?: number | undefined;
6688
- type?: string | RegExp | undefined;
6056
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6057
+ usedExports?: boolean | undefined;
6689
6058
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6690
6059
  enforce?: boolean | undefined;
6060
+ maxSize?: number | Record<string, number> | undefined;
6691
6061
  reuseExistingChunk?: boolean | undefined;
6692
6062
  idHint?: string | undefined;
6693
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6694
6063
  defaultSizeTypes?: string[] | undefined;
6695
6064
  minChunks?: number | undefined;
6696
- usedExports?: boolean | undefined;
6697
6065
  minSize?: number | Record<string, number> | undefined;
6698
- maxSize?: number | Record<string, number> | undefined;
6699
6066
  maxAsyncSize?: number | Record<string, number> | undefined;
6700
6067
  maxInitialSize?: number | Record<string, number> | undefined;
6701
6068
  maxAsyncRequests?: number | undefined;
@@ -6703,9 +6070,9 @@ export declare const rspackOptions: z.ZodObject<{
6703
6070
  automaticNameDelimiter?: string | undefined;
6704
6071
  }> | undefined;
6705
6072
  fallbackCacheGroup?: {
6706
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6707
- minSize?: number | undefined;
6073
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6708
6074
  maxSize?: number | undefined;
6075
+ minSize?: number | undefined;
6709
6076
  maxAsyncSize?: number | undefined;
6710
6077
  maxInitialSize?: number | undefined;
6711
6078
  automaticNameDelimiter?: string | undefined;
@@ -6741,40 +6108,34 @@ export declare const rspackOptions: z.ZodObject<{
6741
6108
  nodeEnv: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
6742
6109
  emitOnErrors: z.ZodOptional<z.ZodBoolean>;
6743
6110
  }, "strict", z.ZodTypeAny, {
6744
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
6745
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
6746
- minimize?: boolean | undefined;
6747
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
6748
- mergeDuplicateChunks?: boolean | undefined;
6749
- usedExports?: boolean | "global" | undefined;
6750
6111
  splitChunks?: false | {
6751
6112
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6752
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6113
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6114
+ usedExports?: boolean | undefined;
6115
+ maxSize?: number | Record<string, number> | undefined;
6753
6116
  defaultSizeTypes?: string[] | undefined;
6754
6117
  minChunks?: number | undefined;
6755
- usedExports?: boolean | undefined;
6756
6118
  minSize?: number | Record<string, number> | undefined;
6757
- maxSize?: number | Record<string, number> | undefined;
6758
6119
  maxAsyncSize?: number | Record<string, number> | undefined;
6759
6120
  maxInitialSize?: number | Record<string, number> | undefined;
6760
6121
  maxAsyncRequests?: number | undefined;
6761
6122
  maxInitialRequests?: number | undefined;
6762
6123
  automaticNameDelimiter?: string | undefined;
6763
6124
  cacheGroups?: Record<string, false | {
6125
+ type?: string | RegExp | undefined;
6764
6126
  filename?: string | undefined;
6765
6127
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6766
6128
  priority?: number | undefined;
6767
- type?: string | RegExp | undefined;
6129
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6130
+ usedExports?: boolean | undefined;
6768
6131
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6769
6132
  enforce?: boolean | undefined;
6133
+ maxSize?: number | Record<string, number> | undefined;
6770
6134
  reuseExistingChunk?: boolean | undefined;
6771
6135
  idHint?: string | undefined;
6772
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6773
6136
  defaultSizeTypes?: string[] | undefined;
6774
6137
  minChunks?: number | undefined;
6775
- usedExports?: boolean | undefined;
6776
6138
  minSize?: number | Record<string, number> | undefined;
6777
- maxSize?: number | Record<string, number> | undefined;
6778
6139
  maxAsyncSize?: number | Record<string, number> | undefined;
6779
6140
  maxInitialSize?: number | Record<string, number> | undefined;
6780
6141
  maxAsyncRequests?: number | undefined;
@@ -6782,15 +6143,23 @@ export declare const rspackOptions: z.ZodObject<{
6782
6143
  automaticNameDelimiter?: string | undefined;
6783
6144
  }> | undefined;
6784
6145
  fallbackCacheGroup?: {
6785
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6786
- minSize?: number | undefined;
6146
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6787
6147
  maxSize?: number | undefined;
6148
+ minSize?: number | undefined;
6788
6149
  maxAsyncSize?: number | undefined;
6789
6150
  maxInitialSize?: number | undefined;
6790
6151
  automaticNameDelimiter?: string | undefined;
6791
6152
  } | undefined;
6792
6153
  hidePathInfo?: boolean | undefined;
6793
6154
  } | undefined;
6155
+ usedExports?: boolean | "global" | undefined;
6156
+ providedExports?: boolean | undefined;
6157
+ sideEffects?: boolean | "flag" | undefined;
6158
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
6159
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
6160
+ minimize?: boolean | undefined;
6161
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
6162
+ mergeDuplicateChunks?: boolean | undefined;
6794
6163
  runtimeChunk?: boolean | "single" | "multiple" | {
6795
6164
  name?: string | ((args_0: {
6796
6165
  name: string;
@@ -6799,48 +6168,40 @@ export declare const rspackOptions: z.ZodObject<{
6799
6168
  removeAvailableModules?: boolean | undefined;
6800
6169
  removeEmptyChunks?: boolean | undefined;
6801
6170
  realContentHash?: boolean | undefined;
6802
- sideEffects?: boolean | "flag" | undefined;
6803
- providedExports?: boolean | undefined;
6804
6171
  concatenateModules?: boolean | undefined;
6805
6172
  innerGraph?: boolean | undefined;
6806
6173
  mangleExports?: boolean | "size" | "deterministic" | undefined;
6807
6174
  nodeEnv?: string | false | undefined;
6808
6175
  emitOnErrors?: boolean | undefined;
6809
6176
  }, {
6810
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
6811
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
6812
- minimize?: boolean | undefined;
6813
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
6814
- mergeDuplicateChunks?: boolean | undefined;
6815
- usedExports?: boolean | "global" | undefined;
6816
6177
  splitChunks?: false | {
6817
6178
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6818
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6179
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6180
+ usedExports?: boolean | undefined;
6181
+ maxSize?: number | Record<string, number> | undefined;
6819
6182
  defaultSizeTypes?: string[] | undefined;
6820
6183
  minChunks?: number | undefined;
6821
- usedExports?: boolean | undefined;
6822
6184
  minSize?: number | Record<string, number> | undefined;
6823
- maxSize?: number | Record<string, number> | undefined;
6824
6185
  maxAsyncSize?: number | Record<string, number> | undefined;
6825
6186
  maxInitialSize?: number | Record<string, number> | undefined;
6826
6187
  maxAsyncRequests?: number | undefined;
6827
6188
  maxInitialRequests?: number | undefined;
6828
6189
  automaticNameDelimiter?: string | undefined;
6829
6190
  cacheGroups?: Record<string, false | {
6191
+ type?: string | RegExp | undefined;
6830
6192
  filename?: string | undefined;
6831
6193
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
6832
6194
  priority?: number | undefined;
6833
- type?: string | RegExp | undefined;
6195
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6196
+ usedExports?: boolean | undefined;
6834
6197
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
6835
6198
  enforce?: boolean | undefined;
6199
+ maxSize?: number | Record<string, number> | undefined;
6836
6200
  reuseExistingChunk?: boolean | undefined;
6837
6201
  idHint?: string | undefined;
6838
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6839
6202
  defaultSizeTypes?: string[] | undefined;
6840
6203
  minChunks?: number | undefined;
6841
- usedExports?: boolean | undefined;
6842
6204
  minSize?: number | Record<string, number> | undefined;
6843
- maxSize?: number | Record<string, number> | undefined;
6844
6205
  maxAsyncSize?: number | Record<string, number> | undefined;
6845
6206
  maxInitialSize?: number | Record<string, number> | undefined;
6846
6207
  maxAsyncRequests?: number | undefined;
@@ -6848,15 +6209,23 @@ export declare const rspackOptions: z.ZodObject<{
6848
6209
  automaticNameDelimiter?: string | undefined;
6849
6210
  }> | undefined;
6850
6211
  fallbackCacheGroup?: {
6851
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6852
- minSize?: number | undefined;
6212
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
6853
6213
  maxSize?: number | undefined;
6214
+ minSize?: number | undefined;
6854
6215
  maxAsyncSize?: number | undefined;
6855
6216
  maxInitialSize?: number | undefined;
6856
6217
  automaticNameDelimiter?: string | undefined;
6857
6218
  } | undefined;
6858
6219
  hidePathInfo?: boolean | undefined;
6859
6220
  } | undefined;
6221
+ usedExports?: boolean | "global" | undefined;
6222
+ providedExports?: boolean | undefined;
6223
+ sideEffects?: boolean | "flag" | undefined;
6224
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
6225
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
6226
+ minimize?: boolean | undefined;
6227
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
6228
+ mergeDuplicateChunks?: boolean | undefined;
6860
6229
  runtimeChunk?: boolean | "single" | "multiple" | {
6861
6230
  name?: string | ((args_0: {
6862
6231
  name: string;
@@ -6865,8 +6234,6 @@ export declare const rspackOptions: z.ZodObject<{
6865
6234
  removeAvailableModules?: boolean | undefined;
6866
6235
  removeEmptyChunks?: boolean | undefined;
6867
6236
  realContentHash?: boolean | undefined;
6868
- sideEffects?: boolean | "flag" | undefined;
6869
- providedExports?: boolean | undefined;
6870
6237
  concatenateModules?: boolean | undefined;
6871
6238
  innerGraph?: boolean | undefined;
6872
6239
  mangleExports?: boolean | "size" | "deterministic" | undefined;
@@ -6875,7 +6242,7 @@ export declare const rspackOptions: z.ZodObject<{
6875
6242
  }>>;
6876
6243
  resolve: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
6877
6244
  resolveLoader: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
6878
- plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
6245
+ plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction, z.ZodTypeDef, t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
6879
6246
  devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
6880
6247
  module: z.ZodOptional<z.ZodObject<{
6881
6248
  defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
@@ -7878,6 +7245,8 @@ export declare const rspackOptions: z.ZodObject<{
7878
7245
  maxEntrypointSize?: number | undefined;
7879
7246
  }>, z.ZodLiteral<false>]>>;
7880
7247
  }, "strict", z.ZodTypeAny, {
7248
+ context?: string | undefined;
7249
+ dependencies?: string[] | undefined;
7881
7250
  module?: {
7882
7251
  parser?: {
7883
7252
  javascript?: {
@@ -8023,9 +7392,7 @@ export declare const rspackOptions: z.ZodObject<{
8023
7392
  defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
8024
7393
  noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
8025
7394
  } | undefined;
8026
- dependencies?: string[] | undefined;
8027
7395
  name?: string | undefined;
8028
- context?: string | undefined;
8029
7396
  performance?: false | {
8030
7397
  assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
8031
7398
  hints?: false | "error" | "warning" | undefined;
@@ -8268,30 +7635,30 @@ export declare const rspackOptions: z.ZodObject<{
8268
7635
  } | undefined;
8269
7636
  } | undefined;
8270
7637
  externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
7638
+ request?: string | undefined;
8271
7639
  context?: string | undefined;
8272
7640
  dependencyType?: string | undefined;
8273
- request?: string | undefined;
8274
7641
  contextInfo?: {
8275
7642
  issuer: string;
8276
7643
  } | undefined;
8277
7644
  }, 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" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
7645
+ request?: string | undefined;
8278
7646
  context?: string | undefined;
8279
7647
  dependencyType?: string | undefined;
8280
- request?: string | undefined;
8281
7648
  contextInfo?: {
8282
7649
  issuer: string;
8283
7650
  } | undefined;
8284
7651
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
7652
+ request?: string | undefined;
8285
7653
  context?: string | undefined;
8286
7654
  dependencyType?: string | undefined;
8287
- request?: string | undefined;
8288
7655
  contextInfo?: {
8289
7656
  issuer: string;
8290
7657
  } | undefined;
8291
7658
  }, 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" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
7659
+ request?: string | undefined;
8292
7660
  context?: string | undefined;
8293
7661
  dependencyType?: string | undefined;
8294
- request?: string | undefined;
8295
7662
  contextInfo?: {
8296
7663
  issuer: string;
8297
7664
  } | undefined;
@@ -8329,11 +7696,9 @@ export declare const rspackOptions: z.ZodObject<{
8329
7696
  source?: boolean | undefined;
8330
7697
  publicPath?: boolean | undefined;
8331
7698
  all?: boolean | undefined;
8332
- chunks?: boolean | undefined;
8333
- usedExports?: boolean | undefined;
8334
- providedExports?: boolean | undefined;
8335
7699
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
8336
7700
  assets?: boolean | undefined;
7701
+ chunks?: boolean | undefined;
8337
7702
  modules?: boolean | undefined;
8338
7703
  entrypoints?: boolean | "auto" | undefined;
8339
7704
  chunkGroups?: boolean | undefined;
@@ -8358,6 +7723,8 @@ export declare const rspackOptions: z.ZodObject<{
8358
7723
  loggingTrace?: boolean | undefined;
8359
7724
  runtimeModules?: boolean | undefined;
8360
7725
  children?: boolean | undefined;
7726
+ usedExports?: boolean | undefined;
7727
+ providedExports?: boolean | undefined;
8361
7728
  optimizationBailout?: boolean | undefined;
8362
7729
  groupModulesByType?: boolean | undefined;
8363
7730
  groupModulesByCacheStatus?: boolean | undefined;
@@ -8405,40 +7772,34 @@ export declare const rspackOptions: z.ZodObject<{
8405
7772
  } | undefined;
8406
7773
  snapshot?: {} | undefined;
8407
7774
  optimization?: {
8408
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
8409
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
8410
- minimize?: boolean | undefined;
8411
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
8412
- mergeDuplicateChunks?: boolean | undefined;
8413
- usedExports?: boolean | "global" | undefined;
8414
7775
  splitChunks?: false | {
8415
7776
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
8416
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7777
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7778
+ usedExports?: boolean | undefined;
7779
+ maxSize?: number | Record<string, number> | undefined;
8417
7780
  defaultSizeTypes?: string[] | undefined;
8418
7781
  minChunks?: number | undefined;
8419
- usedExports?: boolean | undefined;
8420
7782
  minSize?: number | Record<string, number> | undefined;
8421
- maxSize?: number | Record<string, number> | undefined;
8422
7783
  maxAsyncSize?: number | Record<string, number> | undefined;
8423
7784
  maxInitialSize?: number | Record<string, number> | undefined;
8424
7785
  maxAsyncRequests?: number | undefined;
8425
7786
  maxInitialRequests?: number | undefined;
8426
7787
  automaticNameDelimiter?: string | undefined;
8427
7788
  cacheGroups?: Record<string, false | {
7789
+ type?: string | RegExp | undefined;
8428
7790
  filename?: string | undefined;
8429
7791
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
8430
7792
  priority?: number | undefined;
8431
- type?: string | RegExp | undefined;
7793
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
7794
+ usedExports?: boolean | undefined;
8432
7795
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
8433
7796
  enforce?: boolean | undefined;
7797
+ maxSize?: number | Record<string, number> | undefined;
8434
7798
  reuseExistingChunk?: boolean | undefined;
8435
7799
  idHint?: string | undefined;
8436
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8437
7800
  defaultSizeTypes?: string[] | undefined;
8438
7801
  minChunks?: number | undefined;
8439
- usedExports?: boolean | undefined;
8440
7802
  minSize?: number | Record<string, number> | undefined;
8441
- maxSize?: number | Record<string, number> | undefined;
8442
7803
  maxAsyncSize?: number | Record<string, number> | undefined;
8443
7804
  maxInitialSize?: number | Record<string, number> | undefined;
8444
7805
  maxAsyncRequests?: number | undefined;
@@ -8446,15 +7807,23 @@ export declare const rspackOptions: z.ZodObject<{
8446
7807
  automaticNameDelimiter?: string | undefined;
8447
7808
  }> | undefined;
8448
7809
  fallbackCacheGroup?: {
8449
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8450
- minSize?: number | undefined;
7810
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8451
7811
  maxSize?: number | undefined;
7812
+ minSize?: number | undefined;
8452
7813
  maxAsyncSize?: number | undefined;
8453
7814
  maxInitialSize?: number | undefined;
8454
7815
  automaticNameDelimiter?: string | undefined;
8455
7816
  } | undefined;
8456
7817
  hidePathInfo?: boolean | undefined;
8457
7818
  } | undefined;
7819
+ usedExports?: boolean | "global" | undefined;
7820
+ providedExports?: boolean | undefined;
7821
+ sideEffects?: boolean | "flag" | undefined;
7822
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
7823
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
7824
+ minimize?: boolean | undefined;
7825
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
7826
+ mergeDuplicateChunks?: boolean | undefined;
8458
7827
  runtimeChunk?: boolean | "single" | "multiple" | {
8459
7828
  name?: string | ((args_0: {
8460
7829
  name: string;
@@ -8463,8 +7832,6 @@ export declare const rspackOptions: z.ZodObject<{
8463
7832
  removeAvailableModules?: boolean | undefined;
8464
7833
  removeEmptyChunks?: boolean | undefined;
8465
7834
  realContentHash?: boolean | undefined;
8466
- sideEffects?: boolean | "flag" | undefined;
8467
- providedExports?: boolean | undefined;
8468
7835
  concatenateModules?: boolean | undefined;
8469
7836
  innerGraph?: boolean | undefined;
8470
7837
  mangleExports?: boolean | "size" | "deterministic" | undefined;
@@ -8472,10 +7839,12 @@ export declare const rspackOptions: z.ZodObject<{
8472
7839
  emitOnErrors?: boolean | undefined;
8473
7840
  } | undefined;
8474
7841
  resolveLoader?: t.ResolveOptions | undefined;
8475
- plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
7842
+ plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
8476
7843
  devServer?: DevServer | undefined;
8477
7844
  bail?: boolean | undefined;
8478
7845
  }, {
7846
+ context?: string | undefined;
7847
+ dependencies?: string[] | undefined;
8479
7848
  module?: {
8480
7849
  parser?: {
8481
7850
  javascript?: {
@@ -8621,9 +7990,7 @@ export declare const rspackOptions: z.ZodObject<{
8621
7990
  defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
8622
7991
  noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
8623
7992
  } | undefined;
8624
- dependencies?: string[] | undefined;
8625
7993
  name?: string | undefined;
8626
- context?: string | undefined;
8627
7994
  performance?: false | {
8628
7995
  assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
8629
7996
  hints?: false | "error" | "warning" | undefined;
@@ -8866,30 +8233,30 @@ export declare const rspackOptions: z.ZodObject<{
8866
8233
  } | undefined;
8867
8234
  } | undefined;
8868
8235
  externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
8236
+ request?: string | undefined;
8869
8237
  context?: string | undefined;
8870
8238
  dependencyType?: string | undefined;
8871
- request?: string | undefined;
8872
8239
  contextInfo?: {
8873
8240
  issuer: string;
8874
8241
  } | undefined;
8875
8242
  }, 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" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
8243
+ request?: string | undefined;
8876
8244
  context?: string | undefined;
8877
8245
  dependencyType?: string | undefined;
8878
- request?: string | undefined;
8879
8246
  contextInfo?: {
8880
8247
  issuer: string;
8881
8248
  } | undefined;
8882
8249
  }, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
8250
+ request?: string | undefined;
8883
8251
  context?: string | undefined;
8884
8252
  dependencyType?: string | undefined;
8885
- request?: string | undefined;
8886
8253
  contextInfo?: {
8887
8254
  issuer: string;
8888
8255
  } | undefined;
8889
8256
  }, 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" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
8257
+ request?: string | undefined;
8890
8258
  context?: string | undefined;
8891
8259
  dependencyType?: string | undefined;
8892
- request?: string | undefined;
8893
8260
  contextInfo?: {
8894
8261
  issuer: string;
8895
8262
  } | undefined;
@@ -8927,11 +8294,9 @@ export declare const rspackOptions: z.ZodObject<{
8927
8294
  source?: boolean | undefined;
8928
8295
  publicPath?: boolean | undefined;
8929
8296
  all?: boolean | undefined;
8930
- chunks?: boolean | undefined;
8931
- usedExports?: boolean | undefined;
8932
- providedExports?: boolean | undefined;
8933
8297
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
8934
8298
  assets?: boolean | undefined;
8299
+ chunks?: boolean | undefined;
8935
8300
  modules?: boolean | undefined;
8936
8301
  entrypoints?: boolean | "auto" | undefined;
8937
8302
  chunkGroups?: boolean | undefined;
@@ -8956,6 +8321,8 @@ export declare const rspackOptions: z.ZodObject<{
8956
8321
  loggingTrace?: boolean | undefined;
8957
8322
  runtimeModules?: boolean | undefined;
8958
8323
  children?: boolean | undefined;
8324
+ usedExports?: boolean | undefined;
8325
+ providedExports?: boolean | undefined;
8959
8326
  optimizationBailout?: boolean | undefined;
8960
8327
  groupModulesByType?: boolean | undefined;
8961
8328
  groupModulesByCacheStatus?: boolean | undefined;
@@ -9003,40 +8370,34 @@ export declare const rspackOptions: z.ZodObject<{
9003
8370
  } | undefined;
9004
8371
  snapshot?: {} | undefined;
9005
8372
  optimization?: {
9006
- moduleIds?: "named" | "natural" | "deterministic" | undefined;
9007
- chunkIds?: "named" | "natural" | "deterministic" | undefined;
9008
- minimize?: boolean | undefined;
9009
- minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
9010
- mergeDuplicateChunks?: boolean | undefined;
9011
- usedExports?: boolean | "global" | undefined;
9012
8373
  splitChunks?: false | {
9013
8374
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
9014
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8375
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8376
+ usedExports?: boolean | undefined;
8377
+ maxSize?: number | Record<string, number> | undefined;
9015
8378
  defaultSizeTypes?: string[] | undefined;
9016
8379
  minChunks?: number | undefined;
9017
- usedExports?: boolean | undefined;
9018
8380
  minSize?: number | Record<string, number> | undefined;
9019
- maxSize?: number | Record<string, number> | undefined;
9020
8381
  maxAsyncSize?: number | Record<string, number> | undefined;
9021
8382
  maxInitialSize?: number | Record<string, number> | undefined;
9022
8383
  maxAsyncRequests?: number | undefined;
9023
8384
  maxInitialRequests?: number | undefined;
9024
8385
  automaticNameDelimiter?: string | undefined;
9025
8386
  cacheGroups?: Record<string, false | {
8387
+ type?: string | RegExp | undefined;
9026
8388
  filename?: string | undefined;
9027
8389
  name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
9028
8390
  priority?: number | undefined;
9029
- type?: string | RegExp | undefined;
8391
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
8392
+ usedExports?: boolean | undefined;
9030
8393
  test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
9031
8394
  enforce?: boolean | undefined;
8395
+ maxSize?: number | Record<string, number> | undefined;
9032
8396
  reuseExistingChunk?: boolean | undefined;
9033
8397
  idHint?: string | undefined;
9034
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9035
8398
  defaultSizeTypes?: string[] | undefined;
9036
8399
  minChunks?: number | undefined;
9037
- usedExports?: boolean | undefined;
9038
8400
  minSize?: number | Record<string, number> | undefined;
9039
- maxSize?: number | Record<string, number> | undefined;
9040
8401
  maxAsyncSize?: number | Record<string, number> | undefined;
9041
8402
  maxInitialSize?: number | Record<string, number> | undefined;
9042
8403
  maxAsyncRequests?: number | undefined;
@@ -9044,15 +8405,23 @@ export declare const rspackOptions: z.ZodObject<{
9044
8405
  automaticNameDelimiter?: string | undefined;
9045
8406
  }> | undefined;
9046
8407
  fallbackCacheGroup?: {
9047
- chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9048
- minSize?: number | undefined;
8408
+ chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
9049
8409
  maxSize?: number | undefined;
8410
+ minSize?: number | undefined;
9050
8411
  maxAsyncSize?: number | undefined;
9051
8412
  maxInitialSize?: number | undefined;
9052
8413
  automaticNameDelimiter?: string | undefined;
9053
8414
  } | undefined;
9054
8415
  hidePathInfo?: boolean | undefined;
9055
8416
  } | undefined;
8417
+ usedExports?: boolean | "global" | undefined;
8418
+ providedExports?: boolean | undefined;
8419
+ sideEffects?: boolean | "flag" | undefined;
8420
+ moduleIds?: "named" | "natural" | "deterministic" | undefined;
8421
+ chunkIds?: "named" | "natural" | "deterministic" | undefined;
8422
+ minimize?: boolean | undefined;
8423
+ minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
8424
+ mergeDuplicateChunks?: boolean | undefined;
9056
8425
  runtimeChunk?: boolean | "single" | "multiple" | {
9057
8426
  name?: string | ((args_0: {
9058
8427
  name: string;
@@ -9061,8 +8430,6 @@ export declare const rspackOptions: z.ZodObject<{
9061
8430
  removeAvailableModules?: boolean | undefined;
9062
8431
  removeEmptyChunks?: boolean | undefined;
9063
8432
  realContentHash?: boolean | undefined;
9064
- sideEffects?: boolean | "flag" | undefined;
9065
- providedExports?: boolean | undefined;
9066
8433
  concatenateModules?: boolean | undefined;
9067
8434
  innerGraph?: boolean | undefined;
9068
8435
  mangleExports?: boolean | "size" | "deterministic" | undefined;
@@ -9070,7 +8437,7 @@ export declare const rspackOptions: z.ZodObject<{
9070
8437
  emitOnErrors?: boolean | undefined;
9071
8438
  } | undefined;
9072
8439
  resolveLoader?: t.ResolveOptions | undefined;
9073
- plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
8440
+ plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
9074
8441
  devServer?: DevServer | undefined;
9075
8442
  bail?: boolean | undefined;
9076
8443
  }>;