@rspack/core 1.0.0-beta.1 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/ChunkGroup.d.ts +1 -0
  2. package/dist/ChunkGroup.js +3 -0
  3. package/dist/Compilation.d.ts +18 -0
  4. package/dist/Compiler.js +2 -2
  5. package/dist/ExecuteModulePlugin.d.ts +0 -1
  6. package/dist/ExecuteModulePlugin.js +0 -1
  7. package/dist/Module.d.ts +1 -2
  8. package/dist/Module.js +0 -1
  9. package/dist/MultiCompiler.js +1 -1
  10. package/dist/Resolver.d.ts +1 -2
  11. package/dist/RspackError.js +1 -1
  12. package/dist/Stats.js +22 -2
  13. package/dist/Template.js +2 -2
  14. package/dist/builtin-loader/lightningcss/index.js +1 -1
  15. package/dist/builtin-plugin/DefinePlugin.js +1 -1
  16. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +2 -2
  17. package/dist/builtin-plugin/EnableChunkLoadingPlugin.js +1 -1
  18. package/dist/builtin-plugin/EnableLibraryPlugin.js +1 -6
  19. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +2 -2
  20. package/dist/builtin-plugin/EnableWasmLoadingPlugin.js +1 -1
  21. package/dist/builtin-plugin/ExternalsPlugin.js +1 -1
  22. package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +0 -1
  23. package/dist/builtin-plugin/JavascriptModulesPlugin.js +1 -1
  24. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -2
  25. package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +3 -5
  26. package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.js +7 -5
  27. package/dist/builtin-plugin/css-extract/loader.js +4 -10
  28. package/dist/builtin-plugin/lazy-compilation/backend.js +4 -4
  29. package/dist/config/adapter.js +1 -0
  30. package/dist/config/adapterRuleUse.d.ts +2 -6
  31. package/dist/config/adapterRuleUse.js +7 -6
  32. package/dist/config/defaults.js +21 -32
  33. package/dist/config/normalization.d.ts +1 -0
  34. package/dist/config/normalization.js +5 -2
  35. package/dist/config/zod.d.ts +440 -68
  36. package/dist/config/zod.js +21 -1
  37. package/dist/container/default.runtime.js +1 -1
  38. package/dist/lib/AbstractMethodError.js +2 -3
  39. package/dist/lib/Cache.d.ts +1 -1
  40. package/dist/lib/Dependency.d.ts +23 -0
  41. package/dist/lib/Dependency.js +11 -0
  42. package/dist/lib/EnvironmentPlugin.js +1 -3
  43. package/dist/lib/ModuleFilenameHelpers.js +1 -1
  44. package/dist/lib/WebpackError.d.ts +0 -6
  45. package/dist/lib/WebpackError.js +0 -8
  46. package/dist/lib/cache/MemoryCachePlugin.d.ts +5 -0
  47. package/dist/lib/cache/MemoryCachePlugin.js +40 -0
  48. package/dist/lib/formatLocation.d.ts +1 -1
  49. package/dist/loader-runner/index.js +6 -7
  50. package/dist/loader-runner/loadLoader.js +8 -11
  51. package/dist/logging/Logger.js +3 -3
  52. package/dist/logging/createConsoleLogger.d.ts +26 -6
  53. package/dist/logging/createConsoleLogger.js +21 -58
  54. package/dist/logging/runtime.d.ts +4 -10
  55. package/dist/logging/runtime.js +8 -23
  56. package/dist/logging/truncateArgs.d.ts +4 -4
  57. package/dist/logging/truncateArgs.js +5 -10
  58. package/dist/node/NodeEnvironmentPlugin.js +2 -2
  59. package/dist/node/NodeWatchFileSystem.js +6 -6
  60. package/dist/node/nodeConsole.d.ts +7 -21
  61. package/dist/node/nodeConsole.js +29 -36
  62. package/dist/rspackOptionsApply.d.ts +0 -1
  63. package/dist/rspackOptionsApply.js +8 -7
  64. package/dist/sharing/ProvideSharedPlugin.d.ts +20 -19
  65. package/dist/sharing/ProvideSharedPlugin.js +26 -17
  66. package/dist/sharing/SharePlugin.d.ts +3 -0
  67. package/dist/sharing/SharePlugin.js +4 -1
  68. package/dist/stats/DefaultStatsFactoryPlugin.js +187 -96
  69. package/dist/stats/DefaultStatsPresetPlugin.js +1 -2
  70. package/dist/stats/DefaultStatsPrinterPlugin.js +18 -19
  71. package/dist/stats/StatsFactory.d.ts +2 -1
  72. package/dist/stats/StatsFactory.js +2 -6
  73. package/dist/stats/statsFactoryUtils.d.ts +63 -23
  74. package/dist/util/SizeFormatHelpers.js +1 -1
  75. package/dist/util/bindingVersionCheck.js +3 -3
  76. package/dist/util/cleverMerge.js +3 -2
  77. package/dist/util/comparators.d.ts +1 -1
  78. package/dist/util/comparators.js +5 -4
  79. package/dist/util/createHash.js +1 -1
  80. package/dist/util/fs.js +2 -2
  81. package/dist/util/identifier.js +2 -2
  82. package/dist/util/index.js +1 -1
  83. package/dist/util/memoize.js +1 -4
  84. package/dist/util/smartGrouping.js +4 -6
  85. package/dist/util/webpack.d.ts +1 -1
  86. package/dist/util/webpack.js +2 -1
  87. package/module.d.ts +1 -1
  88. package/package.json +3 -3
@@ -1209,6 +1209,7 @@ declare const output: z.ZodObject<{
1209
1209
  chunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
1210
1210
  crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
1211
1211
  cssFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
1212
+ cssHeadDataCompression: z.ZodOptional<z.ZodBoolean>;
1212
1213
  cssChunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
1213
1214
  hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
1214
1215
  hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
@@ -1453,6 +1454,7 @@ declare const output: z.ZodObject<{
1453
1454
  clean?: boolean | undefined;
1454
1455
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1455
1456
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
1457
+ cssHeadDataCompression?: boolean | undefined;
1456
1458
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
1457
1459
  hotUpdateMainFilename?: string | undefined;
1458
1460
  hotUpdateChunkFilename?: string | undefined;
@@ -1547,6 +1549,7 @@ declare const output: z.ZodObject<{
1547
1549
  clean?: boolean | undefined;
1548
1550
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1549
1551
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
1552
+ cssHeadDataCompression?: boolean | undefined;
1550
1553
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
1551
1554
  hotUpdateMainFilename?: string | undefined;
1552
1555
  hotUpdateChunkFilename?: string | undefined;
@@ -1830,9 +1833,9 @@ declare const baseRuleSetRule: z.ZodObject<{
1830
1833
  layer?: string | undefined;
1831
1834
  enforce?: "pre" | "post" | undefined;
1832
1835
  sideEffects?: boolean | undefined;
1833
- issuer?: RuleSetCondition | undefined;
1834
1836
  resource?: RuleSetCondition | undefined;
1835
1837
  loader?: string | undefined;
1838
+ issuer?: RuleSetCondition | undefined;
1836
1839
  issuerLayer?: RuleSetCondition | undefined;
1837
1840
  dependency?: RuleSetCondition | undefined;
1838
1841
  resourceFragment?: RuleSetCondition | undefined;
@@ -1866,9 +1869,9 @@ declare const baseRuleSetRule: z.ZodObject<{
1866
1869
  layer?: string | undefined;
1867
1870
  enforce?: "pre" | "post" | undefined;
1868
1871
  sideEffects?: boolean | undefined;
1869
- issuer?: RuleSetCondition | undefined;
1870
1872
  resource?: RuleSetCondition | undefined;
1871
1873
  loader?: string | undefined;
1874
+ issuer?: RuleSetCondition | undefined;
1872
1875
  issuerLayer?: RuleSetCondition | undefined;
1873
1876
  dependency?: RuleSetCondition | undefined;
1874
1877
  resourceFragment?: RuleSetCondition | undefined;
@@ -4654,6 +4657,8 @@ declare const statsOptions: z.ZodObject<{
4654
4657
  errorDetails: z.ZodOptional<z.ZodBoolean>;
4655
4658
  errorStack: z.ZodOptional<z.ZodBoolean>;
4656
4659
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
4660
+ cachedModules: z.ZodOptional<z.ZodBoolean>;
4661
+ cached: z.ZodOptional<z.ZodBoolean>;
4657
4662
  }, "strict", z.ZodTypeAny, {
4658
4663
  publicPath?: boolean | undefined;
4659
4664
  hash?: boolean | undefined;
@@ -4664,20 +4669,18 @@ declare const statsOptions: z.ZodObject<{
4664
4669
  children?: boolean | undefined;
4665
4670
  runtime?: boolean | undefined;
4666
4671
  modules?: boolean | undefined;
4667
- optimizationBailout?: boolean | undefined;
4668
- depth?: boolean | undefined;
4669
- assets?: boolean | undefined;
4670
- source?: boolean | undefined;
4671
- errors?: boolean | undefined;
4672
- warnings?: boolean | undefined;
4673
- reasons?: boolean | undefined;
4672
+ moduleTrace?: boolean | undefined;
4674
4673
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4674
+ assets?: boolean | undefined;
4675
4675
  entrypoints?: boolean | "auto" | undefined;
4676
4676
  chunkGroups?: boolean | undefined;
4677
+ warnings?: boolean | undefined;
4677
4678
  warningsCount?: boolean | undefined;
4679
+ errors?: boolean | undefined;
4678
4680
  errorsCount?: boolean | undefined;
4679
4681
  colors?: boolean | undefined;
4680
4682
  version?: boolean | undefined;
4683
+ reasons?: boolean | undefined;
4681
4684
  outputPath?: boolean | undefined;
4682
4685
  chunkModules?: boolean | undefined;
4683
4686
  chunkRelations?: boolean | undefined;
@@ -4686,10 +4689,12 @@ declare const statsOptions: z.ZodObject<{
4686
4689
  builtAt?: boolean | undefined;
4687
4690
  moduleAssets?: boolean | undefined;
4688
4691
  nestedModules?: boolean | undefined;
4692
+ source?: boolean | undefined;
4689
4693
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4690
4694
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4691
4695
  loggingTrace?: boolean | undefined;
4692
4696
  runtimeModules?: boolean | undefined;
4697
+ optimizationBailout?: boolean | undefined;
4693
4698
  groupModulesByType?: boolean | undefined;
4694
4699
  groupModulesByCacheStatus?: boolean | undefined;
4695
4700
  groupModulesByLayer?: boolean | undefined;
@@ -4721,11 +4726,13 @@ declare const statsOptions: z.ZodObject<{
4721
4726
  chunkGroupMaxAssets?: number | undefined;
4722
4727
  dependentModules?: boolean | undefined;
4723
4728
  chunkOrigins?: boolean | undefined;
4729
+ depth?: boolean | undefined;
4724
4730
  reasonsSpace?: number | undefined;
4725
4731
  groupReasonsByOrigin?: boolean | undefined;
4726
4732
  errorDetails?: boolean | undefined;
4727
4733
  errorStack?: boolean | undefined;
4728
- moduleTrace?: boolean | undefined;
4734
+ cachedModules?: boolean | undefined;
4735
+ cached?: boolean | undefined;
4729
4736
  }, {
4730
4737
  publicPath?: boolean | undefined;
4731
4738
  hash?: boolean | undefined;
@@ -4736,20 +4743,18 @@ declare const statsOptions: z.ZodObject<{
4736
4743
  children?: boolean | undefined;
4737
4744
  runtime?: boolean | undefined;
4738
4745
  modules?: boolean | undefined;
4739
- optimizationBailout?: boolean | undefined;
4740
- depth?: boolean | undefined;
4741
- assets?: boolean | undefined;
4742
- source?: boolean | undefined;
4743
- errors?: boolean | undefined;
4744
- warnings?: boolean | undefined;
4745
- reasons?: boolean | undefined;
4746
+ moduleTrace?: boolean | undefined;
4746
4747
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4748
+ assets?: boolean | undefined;
4747
4749
  entrypoints?: boolean | "auto" | undefined;
4748
4750
  chunkGroups?: boolean | undefined;
4751
+ warnings?: boolean | undefined;
4749
4752
  warningsCount?: boolean | undefined;
4753
+ errors?: boolean | undefined;
4750
4754
  errorsCount?: boolean | undefined;
4751
4755
  colors?: boolean | undefined;
4752
4756
  version?: boolean | undefined;
4757
+ reasons?: boolean | undefined;
4753
4758
  outputPath?: boolean | undefined;
4754
4759
  chunkModules?: boolean | undefined;
4755
4760
  chunkRelations?: boolean | undefined;
@@ -4758,10 +4763,12 @@ declare const statsOptions: z.ZodObject<{
4758
4763
  builtAt?: boolean | undefined;
4759
4764
  moduleAssets?: boolean | undefined;
4760
4765
  nestedModules?: boolean | undefined;
4766
+ source?: boolean | undefined;
4761
4767
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4762
4768
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4763
4769
  loggingTrace?: boolean | undefined;
4764
4770
  runtimeModules?: boolean | undefined;
4771
+ optimizationBailout?: boolean | undefined;
4765
4772
  groupModulesByType?: boolean | undefined;
4766
4773
  groupModulesByCacheStatus?: boolean | undefined;
4767
4774
  groupModulesByLayer?: boolean | undefined;
@@ -4793,11 +4800,13 @@ declare const statsOptions: z.ZodObject<{
4793
4800
  chunkGroupMaxAssets?: number | undefined;
4794
4801
  dependentModules?: boolean | undefined;
4795
4802
  chunkOrigins?: boolean | undefined;
4803
+ depth?: boolean | undefined;
4796
4804
  reasonsSpace?: number | undefined;
4797
4805
  groupReasonsByOrigin?: boolean | undefined;
4798
4806
  errorDetails?: boolean | undefined;
4799
4807
  errorStack?: boolean | undefined;
4800
- moduleTrace?: boolean | undefined;
4808
+ cachedModules?: boolean | undefined;
4809
+ cached?: boolean | undefined;
4801
4810
  }>;
4802
4811
  export type StatsOptions = z.infer<typeof statsOptions>;
4803
4812
  declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, z.ZodObject<{
@@ -4872,6 +4881,8 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4872
4881
  errorDetails: z.ZodOptional<z.ZodBoolean>;
4873
4882
  errorStack: z.ZodOptional<z.ZodBoolean>;
4874
4883
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
4884
+ cachedModules: z.ZodOptional<z.ZodBoolean>;
4885
+ cached: z.ZodOptional<z.ZodBoolean>;
4875
4886
  }, "strict", z.ZodTypeAny, {
4876
4887
  publicPath?: boolean | undefined;
4877
4888
  hash?: boolean | undefined;
@@ -4882,20 +4893,18 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4882
4893
  children?: boolean | undefined;
4883
4894
  runtime?: boolean | undefined;
4884
4895
  modules?: boolean | undefined;
4885
- optimizationBailout?: boolean | undefined;
4886
- depth?: boolean | undefined;
4887
- assets?: boolean | undefined;
4888
- source?: boolean | undefined;
4889
- errors?: boolean | undefined;
4890
- warnings?: boolean | undefined;
4891
- reasons?: boolean | undefined;
4896
+ moduleTrace?: boolean | undefined;
4892
4897
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4898
+ assets?: boolean | undefined;
4893
4899
  entrypoints?: boolean | "auto" | undefined;
4894
4900
  chunkGroups?: boolean | undefined;
4901
+ warnings?: boolean | undefined;
4895
4902
  warningsCount?: boolean | undefined;
4903
+ errors?: boolean | undefined;
4896
4904
  errorsCount?: boolean | undefined;
4897
4905
  colors?: boolean | undefined;
4898
4906
  version?: boolean | undefined;
4907
+ reasons?: boolean | undefined;
4899
4908
  outputPath?: boolean | undefined;
4900
4909
  chunkModules?: boolean | undefined;
4901
4910
  chunkRelations?: boolean | undefined;
@@ -4904,10 +4913,12 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4904
4913
  builtAt?: boolean | undefined;
4905
4914
  moduleAssets?: boolean | undefined;
4906
4915
  nestedModules?: boolean | undefined;
4916
+ source?: boolean | undefined;
4907
4917
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4908
4918
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4909
4919
  loggingTrace?: boolean | undefined;
4910
4920
  runtimeModules?: boolean | undefined;
4921
+ optimizationBailout?: boolean | undefined;
4911
4922
  groupModulesByType?: boolean | undefined;
4912
4923
  groupModulesByCacheStatus?: boolean | undefined;
4913
4924
  groupModulesByLayer?: boolean | undefined;
@@ -4939,11 +4950,13 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4939
4950
  chunkGroupMaxAssets?: number | undefined;
4940
4951
  dependentModules?: boolean | undefined;
4941
4952
  chunkOrigins?: boolean | undefined;
4953
+ depth?: boolean | undefined;
4942
4954
  reasonsSpace?: number | undefined;
4943
4955
  groupReasonsByOrigin?: boolean | undefined;
4944
4956
  errorDetails?: boolean | undefined;
4945
4957
  errorStack?: boolean | undefined;
4946
- moduleTrace?: boolean | undefined;
4958
+ cachedModules?: boolean | undefined;
4959
+ cached?: boolean | undefined;
4947
4960
  }, {
4948
4961
  publicPath?: boolean | undefined;
4949
4962
  hash?: boolean | undefined;
@@ -4954,20 +4967,18 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4954
4967
  children?: boolean | undefined;
4955
4968
  runtime?: boolean | undefined;
4956
4969
  modules?: boolean | undefined;
4957
- optimizationBailout?: boolean | undefined;
4958
- depth?: boolean | undefined;
4959
- assets?: boolean | undefined;
4960
- source?: boolean | undefined;
4961
- errors?: boolean | undefined;
4962
- warnings?: boolean | undefined;
4963
- reasons?: boolean | undefined;
4970
+ moduleTrace?: boolean | undefined;
4964
4971
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
4972
+ assets?: boolean | undefined;
4965
4973
  entrypoints?: boolean | "auto" | undefined;
4966
4974
  chunkGroups?: boolean | undefined;
4975
+ warnings?: boolean | undefined;
4967
4976
  warningsCount?: boolean | undefined;
4977
+ errors?: boolean | undefined;
4968
4978
  errorsCount?: boolean | undefined;
4969
4979
  colors?: boolean | undefined;
4970
4980
  version?: boolean | undefined;
4981
+ reasons?: boolean | undefined;
4971
4982
  outputPath?: boolean | undefined;
4972
4983
  chunkModules?: boolean | undefined;
4973
4984
  chunkRelations?: boolean | undefined;
@@ -4976,10 +4987,12 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
4976
4987
  builtAt?: boolean | undefined;
4977
4988
  moduleAssets?: boolean | undefined;
4978
4989
  nestedModules?: boolean | undefined;
4990
+ source?: boolean | undefined;
4979
4991
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
4980
4992
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
4981
4993
  loggingTrace?: boolean | undefined;
4982
4994
  runtimeModules?: boolean | undefined;
4995
+ optimizationBailout?: boolean | undefined;
4983
4996
  groupModulesByType?: boolean | undefined;
4984
4997
  groupModulesByCacheStatus?: boolean | undefined;
4985
4998
  groupModulesByLayer?: boolean | undefined;
@@ -5011,11 +5024,13 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
5011
5024
  chunkGroupMaxAssets?: number | undefined;
5012
5025
  dependentModules?: boolean | undefined;
5013
5026
  chunkOrigins?: boolean | undefined;
5027
+ depth?: boolean | undefined;
5014
5028
  reasonsSpace?: number | undefined;
5015
5029
  groupReasonsByOrigin?: boolean | undefined;
5016
5030
  errorDetails?: boolean | undefined;
5017
5031
  errorStack?: boolean | undefined;
5018
- moduleTrace?: boolean | undefined;
5032
+ cachedModules?: boolean | undefined;
5033
+ cached?: boolean | undefined;
5019
5034
  }>]>;
5020
5035
  export type StatsValue = z.infer<typeof statsValue>;
5021
5036
  export interface RspackPluginInstance {
@@ -5617,31 +5632,203 @@ declare const rspackFutureOptions: z.ZodObject<{
5617
5632
  }>;
5618
5633
  export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
5619
5634
  declare const lazyCompilationOptions: z.ZodObject<{
5635
+ backend: z.ZodOptional<z.ZodObject<{
5636
+ client: z.ZodOptional<z.ZodString>;
5637
+ listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
5638
+ port: z.ZodOptional<z.ZodNumber>;
5639
+ host: z.ZodOptional<z.ZodString>;
5640
+ backlog: z.ZodOptional<z.ZodNumber>;
5641
+ path: z.ZodOptional<z.ZodString>;
5642
+ exclusive: z.ZodOptional<z.ZodBoolean>;
5643
+ readableAll: z.ZodOptional<z.ZodBoolean>;
5644
+ writableAll: z.ZodOptional<z.ZodBoolean>;
5645
+ ipv6Only: z.ZodOptional<z.ZodBoolean>;
5646
+ }, "strip", z.ZodTypeAny, {
5647
+ path?: string | undefined;
5648
+ port?: number | undefined;
5649
+ host?: string | undefined;
5650
+ backlog?: number | undefined;
5651
+ exclusive?: boolean | undefined;
5652
+ readableAll?: boolean | undefined;
5653
+ writableAll?: boolean | undefined;
5654
+ ipv6Only?: boolean | undefined;
5655
+ }, {
5656
+ path?: string | undefined;
5657
+ port?: number | undefined;
5658
+ host?: string | undefined;
5659
+ backlog?: number | undefined;
5660
+ exclusive?: boolean | undefined;
5661
+ readableAll?: boolean | undefined;
5662
+ writableAll?: boolean | undefined;
5663
+ ipv6Only?: boolean | undefined;
5664
+ }>]>;
5665
+ protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
5666
+ }, "strip", z.ZodTypeAny, {
5667
+ client?: string | undefined;
5668
+ listen?: number | {
5669
+ path?: string | undefined;
5670
+ port?: number | undefined;
5671
+ host?: string | undefined;
5672
+ backlog?: number | undefined;
5673
+ exclusive?: boolean | undefined;
5674
+ readableAll?: boolean | undefined;
5675
+ writableAll?: boolean | undefined;
5676
+ ipv6Only?: boolean | undefined;
5677
+ } | undefined;
5678
+ protocol?: "http" | "https" | undefined;
5679
+ }, {
5680
+ client?: string | undefined;
5681
+ listen?: number | {
5682
+ path?: string | undefined;
5683
+ port?: number | undefined;
5684
+ host?: string | undefined;
5685
+ backlog?: number | undefined;
5686
+ exclusive?: boolean | undefined;
5687
+ readableAll?: boolean | undefined;
5688
+ writableAll?: boolean | undefined;
5689
+ ipv6Only?: boolean | undefined;
5690
+ } | undefined;
5691
+ protocol?: "http" | "https" | undefined;
5692
+ }>>;
5620
5693
  imports: z.ZodOptional<z.ZodBoolean>;
5621
5694
  entries: z.ZodOptional<z.ZodBoolean>;
5622
5695
  test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
5623
5696
  }, "strip", z.ZodTypeAny, {
5624
5697
  entries?: boolean | undefined;
5625
5698
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5699
+ backend?: {
5700
+ client?: string | undefined;
5701
+ listen?: number | {
5702
+ path?: string | undefined;
5703
+ port?: number | undefined;
5704
+ host?: string | undefined;
5705
+ backlog?: number | undefined;
5706
+ exclusive?: boolean | undefined;
5707
+ readableAll?: boolean | undefined;
5708
+ writableAll?: boolean | undefined;
5709
+ ipv6Only?: boolean | undefined;
5710
+ } | undefined;
5711
+ protocol?: "http" | "https" | undefined;
5712
+ } | undefined;
5626
5713
  imports?: boolean | undefined;
5627
5714
  }, {
5628
5715
  entries?: boolean | undefined;
5629
5716
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5717
+ backend?: {
5718
+ client?: string | undefined;
5719
+ listen?: number | {
5720
+ path?: string | undefined;
5721
+ port?: number | undefined;
5722
+ host?: string | undefined;
5723
+ backlog?: number | undefined;
5724
+ exclusive?: boolean | undefined;
5725
+ readableAll?: boolean | undefined;
5726
+ writableAll?: boolean | undefined;
5727
+ ipv6Only?: boolean | undefined;
5728
+ } | undefined;
5729
+ protocol?: "http" | "https" | undefined;
5730
+ } | undefined;
5630
5731
  imports?: boolean | undefined;
5631
5732
  }>;
5632
5733
  export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
5633
5734
  declare const experiments: z.ZodObject<{
5634
5735
  lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
5736
+ backend: z.ZodOptional<z.ZodObject<{
5737
+ client: z.ZodOptional<z.ZodString>;
5738
+ listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
5739
+ port: z.ZodOptional<z.ZodNumber>;
5740
+ host: z.ZodOptional<z.ZodString>;
5741
+ backlog: z.ZodOptional<z.ZodNumber>;
5742
+ path: z.ZodOptional<z.ZodString>;
5743
+ exclusive: z.ZodOptional<z.ZodBoolean>;
5744
+ readableAll: z.ZodOptional<z.ZodBoolean>;
5745
+ writableAll: z.ZodOptional<z.ZodBoolean>;
5746
+ ipv6Only: z.ZodOptional<z.ZodBoolean>;
5747
+ }, "strip", z.ZodTypeAny, {
5748
+ path?: string | undefined;
5749
+ port?: number | undefined;
5750
+ host?: string | undefined;
5751
+ backlog?: number | undefined;
5752
+ exclusive?: boolean | undefined;
5753
+ readableAll?: boolean | undefined;
5754
+ writableAll?: boolean | undefined;
5755
+ ipv6Only?: boolean | undefined;
5756
+ }, {
5757
+ path?: string | undefined;
5758
+ port?: number | undefined;
5759
+ host?: string | undefined;
5760
+ backlog?: number | undefined;
5761
+ exclusive?: boolean | undefined;
5762
+ readableAll?: boolean | undefined;
5763
+ writableAll?: boolean | undefined;
5764
+ ipv6Only?: boolean | undefined;
5765
+ }>]>;
5766
+ protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
5767
+ }, "strip", z.ZodTypeAny, {
5768
+ client?: string | undefined;
5769
+ listen?: number | {
5770
+ path?: string | undefined;
5771
+ port?: number | undefined;
5772
+ host?: string | undefined;
5773
+ backlog?: number | undefined;
5774
+ exclusive?: boolean | undefined;
5775
+ readableAll?: boolean | undefined;
5776
+ writableAll?: boolean | undefined;
5777
+ ipv6Only?: boolean | undefined;
5778
+ } | undefined;
5779
+ protocol?: "http" | "https" | undefined;
5780
+ }, {
5781
+ client?: string | undefined;
5782
+ listen?: number | {
5783
+ path?: string | undefined;
5784
+ port?: number | undefined;
5785
+ host?: string | undefined;
5786
+ backlog?: number | undefined;
5787
+ exclusive?: boolean | undefined;
5788
+ readableAll?: boolean | undefined;
5789
+ writableAll?: boolean | undefined;
5790
+ ipv6Only?: boolean | undefined;
5791
+ } | undefined;
5792
+ protocol?: "http" | "https" | undefined;
5793
+ }>>;
5635
5794
  imports: z.ZodOptional<z.ZodBoolean>;
5636
5795
  entries: z.ZodOptional<z.ZodBoolean>;
5637
5796
  test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
5638
5797
  }, "strip", z.ZodTypeAny, {
5639
5798
  entries?: boolean | undefined;
5640
5799
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5800
+ backend?: {
5801
+ client?: string | undefined;
5802
+ listen?: number | {
5803
+ path?: string | undefined;
5804
+ port?: number | undefined;
5805
+ host?: string | undefined;
5806
+ backlog?: number | undefined;
5807
+ exclusive?: boolean | undefined;
5808
+ readableAll?: boolean | undefined;
5809
+ writableAll?: boolean | undefined;
5810
+ ipv6Only?: boolean | undefined;
5811
+ } | undefined;
5812
+ protocol?: "http" | "https" | undefined;
5813
+ } | undefined;
5641
5814
  imports?: boolean | undefined;
5642
5815
  }, {
5643
5816
  entries?: boolean | undefined;
5644
5817
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5818
+ backend?: {
5819
+ client?: string | undefined;
5820
+ listen?: number | {
5821
+ path?: string | undefined;
5822
+ port?: number | undefined;
5823
+ host?: string | undefined;
5824
+ backlog?: number | undefined;
5825
+ exclusive?: boolean | undefined;
5826
+ readableAll?: boolean | undefined;
5827
+ writableAll?: boolean | undefined;
5828
+ ipv6Only?: boolean | undefined;
5829
+ } | undefined;
5830
+ protocol?: "http" | "https" | undefined;
5831
+ } | undefined;
5645
5832
  imports?: boolean | undefined;
5646
5833
  }>]>;
5647
5834
  asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
@@ -5682,6 +5869,20 @@ declare const experiments: z.ZodObject<{
5682
5869
  lazyCompilation?: boolean | {
5683
5870
  entries?: boolean | undefined;
5684
5871
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5872
+ backend?: {
5873
+ client?: string | undefined;
5874
+ listen?: number | {
5875
+ path?: string | undefined;
5876
+ port?: number | undefined;
5877
+ host?: string | undefined;
5878
+ backlog?: number | undefined;
5879
+ exclusive?: boolean | undefined;
5880
+ readableAll?: boolean | undefined;
5881
+ writableAll?: boolean | undefined;
5882
+ ipv6Only?: boolean | undefined;
5883
+ } | undefined;
5884
+ protocol?: "http" | "https" | undefined;
5885
+ } | undefined;
5685
5886
  imports?: boolean | undefined;
5686
5887
  } | undefined;
5687
5888
  asyncWebAssembly?: boolean | undefined;
@@ -5701,6 +5902,20 @@ declare const experiments: z.ZodObject<{
5701
5902
  lazyCompilation?: boolean | {
5702
5903
  entries?: boolean | undefined;
5703
5904
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
5905
+ backend?: {
5906
+ client?: string | undefined;
5907
+ listen?: number | {
5908
+ path?: string | undefined;
5909
+ port?: number | undefined;
5910
+ host?: string | undefined;
5911
+ backlog?: number | undefined;
5912
+ exclusive?: boolean | undefined;
5913
+ readableAll?: boolean | undefined;
5914
+ writableAll?: boolean | undefined;
5915
+ ipv6Only?: boolean | undefined;
5916
+ } | undefined;
5917
+ protocol?: "http" | "https" | undefined;
5918
+ } | undefined;
5704
5919
  imports?: boolean | undefined;
5705
5920
  } | undefined;
5706
5921
  asyncWebAssembly?: boolean | undefined;
@@ -6179,6 +6394,7 @@ export declare const rspackOptions: z.ZodObject<{
6179
6394
  chunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
6180
6395
  crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
6181
6396
  cssFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
6397
+ cssHeadDataCompression: z.ZodOptional<z.ZodBoolean>;
6182
6398
  cssChunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
6183
6399
  hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
6184
6400
  hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
@@ -6423,6 +6639,7 @@ export declare const rspackOptions: z.ZodObject<{
6423
6639
  clean?: boolean | undefined;
6424
6640
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
6425
6641
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
6642
+ cssHeadDataCompression?: boolean | undefined;
6426
6643
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
6427
6644
  hotUpdateMainFilename?: string | undefined;
6428
6645
  hotUpdateChunkFilename?: string | undefined;
@@ -6517,6 +6734,7 @@ export declare const rspackOptions: z.ZodObject<{
6517
6734
  clean?: boolean | undefined;
6518
6735
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
6519
6736
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
6737
+ cssHeadDataCompression?: boolean | undefined;
6520
6738
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
6521
6739
  hotUpdateMainFilename?: string | undefined;
6522
6740
  hotUpdateChunkFilename?: string | undefined;
@@ -6559,16 +6777,102 @@ export declare const rspackOptions: z.ZodObject<{
6559
6777
  mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
6560
6778
  experiments: z.ZodOptional<z.ZodObject<{
6561
6779
  lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
6780
+ backend: z.ZodOptional<z.ZodObject<{
6781
+ client: z.ZodOptional<z.ZodString>;
6782
+ listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
6783
+ port: z.ZodOptional<z.ZodNumber>;
6784
+ host: z.ZodOptional<z.ZodString>;
6785
+ backlog: z.ZodOptional<z.ZodNumber>;
6786
+ path: z.ZodOptional<z.ZodString>;
6787
+ exclusive: z.ZodOptional<z.ZodBoolean>;
6788
+ readableAll: z.ZodOptional<z.ZodBoolean>;
6789
+ writableAll: z.ZodOptional<z.ZodBoolean>;
6790
+ ipv6Only: z.ZodOptional<z.ZodBoolean>;
6791
+ }, "strip", z.ZodTypeAny, {
6792
+ path?: string | undefined;
6793
+ port?: number | undefined;
6794
+ host?: string | undefined;
6795
+ backlog?: number | undefined;
6796
+ exclusive?: boolean | undefined;
6797
+ readableAll?: boolean | undefined;
6798
+ writableAll?: boolean | undefined;
6799
+ ipv6Only?: boolean | undefined;
6800
+ }, {
6801
+ path?: string | undefined;
6802
+ port?: number | undefined;
6803
+ host?: string | undefined;
6804
+ backlog?: number | undefined;
6805
+ exclusive?: boolean | undefined;
6806
+ readableAll?: boolean | undefined;
6807
+ writableAll?: boolean | undefined;
6808
+ ipv6Only?: boolean | undefined;
6809
+ }>]>;
6810
+ protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
6811
+ }, "strip", z.ZodTypeAny, {
6812
+ client?: string | undefined;
6813
+ listen?: number | {
6814
+ path?: string | undefined;
6815
+ port?: number | undefined;
6816
+ host?: string | undefined;
6817
+ backlog?: number | undefined;
6818
+ exclusive?: boolean | undefined;
6819
+ readableAll?: boolean | undefined;
6820
+ writableAll?: boolean | undefined;
6821
+ ipv6Only?: boolean | undefined;
6822
+ } | undefined;
6823
+ protocol?: "http" | "https" | undefined;
6824
+ }, {
6825
+ client?: string | undefined;
6826
+ listen?: number | {
6827
+ path?: string | undefined;
6828
+ port?: number | undefined;
6829
+ host?: string | undefined;
6830
+ backlog?: number | undefined;
6831
+ exclusive?: boolean | undefined;
6832
+ readableAll?: boolean | undefined;
6833
+ writableAll?: boolean | undefined;
6834
+ ipv6Only?: boolean | undefined;
6835
+ } | undefined;
6836
+ protocol?: "http" | "https" | undefined;
6837
+ }>>;
6562
6838
  imports: z.ZodOptional<z.ZodBoolean>;
6563
6839
  entries: z.ZodOptional<z.ZodBoolean>;
6564
6840
  test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
6565
6841
  }, "strip", z.ZodTypeAny, {
6566
6842
  entries?: boolean | undefined;
6567
6843
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
6844
+ backend?: {
6845
+ client?: string | undefined;
6846
+ listen?: number | {
6847
+ path?: string | undefined;
6848
+ port?: number | undefined;
6849
+ host?: string | undefined;
6850
+ backlog?: number | undefined;
6851
+ exclusive?: boolean | undefined;
6852
+ readableAll?: boolean | undefined;
6853
+ writableAll?: boolean | undefined;
6854
+ ipv6Only?: boolean | undefined;
6855
+ } | undefined;
6856
+ protocol?: "http" | "https" | undefined;
6857
+ } | undefined;
6568
6858
  imports?: boolean | undefined;
6569
6859
  }, {
6570
6860
  entries?: boolean | undefined;
6571
6861
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
6862
+ backend?: {
6863
+ client?: string | undefined;
6864
+ listen?: number | {
6865
+ path?: string | undefined;
6866
+ port?: number | undefined;
6867
+ host?: string | undefined;
6868
+ backlog?: number | undefined;
6869
+ exclusive?: boolean | undefined;
6870
+ readableAll?: boolean | undefined;
6871
+ writableAll?: boolean | undefined;
6872
+ ipv6Only?: boolean | undefined;
6873
+ } | undefined;
6874
+ protocol?: "http" | "https" | undefined;
6875
+ } | undefined;
6572
6876
  imports?: boolean | undefined;
6573
6877
  }>]>;
6574
6878
  asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
@@ -6609,6 +6913,20 @@ export declare const rspackOptions: z.ZodObject<{
6609
6913
  lazyCompilation?: boolean | {
6610
6914
  entries?: boolean | undefined;
6611
6915
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
6916
+ backend?: {
6917
+ client?: string | undefined;
6918
+ listen?: number | {
6919
+ path?: string | undefined;
6920
+ port?: number | undefined;
6921
+ host?: string | undefined;
6922
+ backlog?: number | undefined;
6923
+ exclusive?: boolean | undefined;
6924
+ readableAll?: boolean | undefined;
6925
+ writableAll?: boolean | undefined;
6926
+ ipv6Only?: boolean | undefined;
6927
+ } | undefined;
6928
+ protocol?: "http" | "https" | undefined;
6929
+ } | undefined;
6612
6930
  imports?: boolean | undefined;
6613
6931
  } | undefined;
6614
6932
  asyncWebAssembly?: boolean | undefined;
@@ -6628,6 +6946,20 @@ export declare const rspackOptions: z.ZodObject<{
6628
6946
  lazyCompilation?: boolean | {
6629
6947
  entries?: boolean | undefined;
6630
6948
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
6949
+ backend?: {
6950
+ client?: string | undefined;
6951
+ listen?: number | {
6952
+ path?: string | undefined;
6953
+ port?: number | undefined;
6954
+ host?: string | undefined;
6955
+ backlog?: number | undefined;
6956
+ exclusive?: boolean | undefined;
6957
+ readableAll?: boolean | undefined;
6958
+ writableAll?: boolean | undefined;
6959
+ ipv6Only?: boolean | undefined;
6960
+ } | undefined;
6961
+ protocol?: "http" | "https" | undefined;
6962
+ } | undefined;
6631
6963
  imports?: boolean | undefined;
6632
6964
  } | undefined;
6633
6965
  asyncWebAssembly?: boolean | undefined;
@@ -6905,6 +7237,8 @@ export declare const rspackOptions: z.ZodObject<{
6905
7237
  errorDetails: z.ZodOptional<z.ZodBoolean>;
6906
7238
  errorStack: z.ZodOptional<z.ZodBoolean>;
6907
7239
  moduleTrace: z.ZodOptional<z.ZodBoolean>;
7240
+ cachedModules: z.ZodOptional<z.ZodBoolean>;
7241
+ cached: z.ZodOptional<z.ZodBoolean>;
6908
7242
  }, "strict", z.ZodTypeAny, {
6909
7243
  publicPath?: boolean | undefined;
6910
7244
  hash?: boolean | undefined;
@@ -6915,20 +7249,18 @@ export declare const rspackOptions: z.ZodObject<{
6915
7249
  children?: boolean | undefined;
6916
7250
  runtime?: boolean | undefined;
6917
7251
  modules?: boolean | undefined;
6918
- optimizationBailout?: boolean | undefined;
6919
- depth?: boolean | undefined;
6920
- assets?: boolean | undefined;
6921
- source?: boolean | undefined;
6922
- errors?: boolean | undefined;
6923
- warnings?: boolean | undefined;
6924
- reasons?: boolean | undefined;
7252
+ moduleTrace?: boolean | undefined;
6925
7253
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
7254
+ assets?: boolean | undefined;
6926
7255
  entrypoints?: boolean | "auto" | undefined;
6927
7256
  chunkGroups?: boolean | undefined;
7257
+ warnings?: boolean | undefined;
6928
7258
  warningsCount?: boolean | undefined;
7259
+ errors?: boolean | undefined;
6929
7260
  errorsCount?: boolean | undefined;
6930
7261
  colors?: boolean | undefined;
6931
7262
  version?: boolean | undefined;
7263
+ reasons?: boolean | undefined;
6932
7264
  outputPath?: boolean | undefined;
6933
7265
  chunkModules?: boolean | undefined;
6934
7266
  chunkRelations?: boolean | undefined;
@@ -6937,10 +7269,12 @@ export declare const rspackOptions: z.ZodObject<{
6937
7269
  builtAt?: boolean | undefined;
6938
7270
  moduleAssets?: boolean | undefined;
6939
7271
  nestedModules?: boolean | undefined;
7272
+ source?: boolean | undefined;
6940
7273
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
6941
7274
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
6942
7275
  loggingTrace?: boolean | undefined;
6943
7276
  runtimeModules?: boolean | undefined;
7277
+ optimizationBailout?: boolean | undefined;
6944
7278
  groupModulesByType?: boolean | undefined;
6945
7279
  groupModulesByCacheStatus?: boolean | undefined;
6946
7280
  groupModulesByLayer?: boolean | undefined;
@@ -6972,11 +7306,13 @@ export declare const rspackOptions: z.ZodObject<{
6972
7306
  chunkGroupMaxAssets?: number | undefined;
6973
7307
  dependentModules?: boolean | undefined;
6974
7308
  chunkOrigins?: boolean | undefined;
7309
+ depth?: boolean | undefined;
6975
7310
  reasonsSpace?: number | undefined;
6976
7311
  groupReasonsByOrigin?: boolean | undefined;
6977
7312
  errorDetails?: boolean | undefined;
6978
7313
  errorStack?: boolean | undefined;
6979
- moduleTrace?: boolean | undefined;
7314
+ cachedModules?: boolean | undefined;
7315
+ cached?: boolean | undefined;
6980
7316
  }, {
6981
7317
  publicPath?: boolean | undefined;
6982
7318
  hash?: boolean | undefined;
@@ -6987,20 +7323,18 @@ export declare const rspackOptions: z.ZodObject<{
6987
7323
  children?: boolean | undefined;
6988
7324
  runtime?: boolean | undefined;
6989
7325
  modules?: boolean | undefined;
6990
- optimizationBailout?: boolean | undefined;
6991
- depth?: boolean | undefined;
6992
- assets?: boolean | undefined;
6993
- source?: boolean | undefined;
6994
- errors?: boolean | undefined;
6995
- warnings?: boolean | undefined;
6996
- reasons?: boolean | undefined;
7326
+ moduleTrace?: boolean | undefined;
6997
7327
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
7328
+ assets?: boolean | undefined;
6998
7329
  entrypoints?: boolean | "auto" | undefined;
6999
7330
  chunkGroups?: boolean | undefined;
7331
+ warnings?: boolean | undefined;
7000
7332
  warningsCount?: boolean | undefined;
7333
+ errors?: boolean | undefined;
7001
7334
  errorsCount?: boolean | undefined;
7002
7335
  colors?: boolean | undefined;
7003
7336
  version?: boolean | undefined;
7337
+ reasons?: boolean | undefined;
7004
7338
  outputPath?: boolean | undefined;
7005
7339
  chunkModules?: boolean | undefined;
7006
7340
  chunkRelations?: boolean | undefined;
@@ -7009,10 +7343,12 @@ export declare const rspackOptions: z.ZodObject<{
7009
7343
  builtAt?: boolean | undefined;
7010
7344
  moduleAssets?: boolean | undefined;
7011
7345
  nestedModules?: boolean | undefined;
7346
+ source?: boolean | undefined;
7012
7347
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
7013
7348
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
7014
7349
  loggingTrace?: boolean | undefined;
7015
7350
  runtimeModules?: boolean | undefined;
7351
+ optimizationBailout?: boolean | undefined;
7016
7352
  groupModulesByType?: boolean | undefined;
7017
7353
  groupModulesByCacheStatus?: boolean | undefined;
7018
7354
  groupModulesByLayer?: boolean | undefined;
@@ -7044,11 +7380,13 @@ export declare const rspackOptions: z.ZodObject<{
7044
7380
  chunkGroupMaxAssets?: number | undefined;
7045
7381
  dependentModules?: boolean | undefined;
7046
7382
  chunkOrigins?: boolean | undefined;
7383
+ depth?: boolean | undefined;
7047
7384
  reasonsSpace?: number | undefined;
7048
7385
  groupReasonsByOrigin?: boolean | undefined;
7049
7386
  errorDetails?: boolean | undefined;
7050
7387
  errorStack?: boolean | undefined;
7051
- moduleTrace?: boolean | undefined;
7388
+ cachedModules?: boolean | undefined;
7389
+ cached?: boolean | undefined;
7052
7390
  }>]>>;
7053
7391
  snapshot: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
7054
7392
  optimization: z.ZodOptional<z.ZodObject<{
@@ -8483,7 +8821,6 @@ export declare const rspackOptions: z.ZodObject<{
8483
8821
  } | undefined;
8484
8822
  dependOn?: string | string[] | undefined;
8485
8823
  }>>) | undefined;
8486
- profile?: boolean | undefined;
8487
8824
  performance?: false | {
8488
8825
  assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
8489
8826
  hints?: false | "error" | "warning" | undefined;
@@ -8495,6 +8832,7 @@ export declare const rspackOptions: z.ZodObject<{
8495
8832
  __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
8496
8833
  __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
8497
8834
  } | undefined;
8835
+ profile?: boolean | undefined;
8498
8836
  cache?: boolean | undefined;
8499
8837
  loader?: Record<string, any> | undefined;
8500
8838
  resolve?: ResolveOptions | undefined;
@@ -8555,6 +8893,7 @@ export declare const rspackOptions: z.ZodObject<{
8555
8893
  clean?: boolean | undefined;
8556
8894
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
8557
8895
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
8896
+ cssHeadDataCompression?: boolean | undefined;
8558
8897
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
8559
8898
  hotUpdateMainFilename?: string | undefined;
8560
8899
  hotUpdateChunkFilename?: string | undefined;
@@ -8600,6 +8939,20 @@ export declare const rspackOptions: z.ZodObject<{
8600
8939
  lazyCompilation?: boolean | {
8601
8940
  entries?: boolean | undefined;
8602
8941
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
8942
+ backend?: {
8943
+ client?: string | undefined;
8944
+ listen?: number | {
8945
+ path?: string | undefined;
8946
+ port?: number | undefined;
8947
+ host?: string | undefined;
8948
+ backlog?: number | undefined;
8949
+ exclusive?: boolean | undefined;
8950
+ readableAll?: boolean | undefined;
8951
+ writableAll?: boolean | undefined;
8952
+ ipv6Only?: boolean | undefined;
8953
+ } | undefined;
8954
+ protocol?: "http" | "https" | undefined;
8955
+ } | undefined;
8603
8956
  imports?: boolean | undefined;
8604
8957
  } | undefined;
8605
8958
  asyncWebAssembly?: boolean | undefined;
@@ -8683,20 +9036,18 @@ export declare const rspackOptions: z.ZodObject<{
8683
9036
  children?: boolean | undefined;
8684
9037
  runtime?: boolean | undefined;
8685
9038
  modules?: boolean | undefined;
8686
- optimizationBailout?: boolean | undefined;
8687
- depth?: boolean | undefined;
8688
- assets?: boolean | undefined;
8689
- source?: boolean | undefined;
8690
- errors?: boolean | undefined;
8691
- warnings?: boolean | undefined;
8692
- reasons?: boolean | undefined;
9039
+ moduleTrace?: boolean | undefined;
8693
9040
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
9041
+ assets?: boolean | undefined;
8694
9042
  entrypoints?: boolean | "auto" | undefined;
8695
9043
  chunkGroups?: boolean | undefined;
9044
+ warnings?: boolean | undefined;
8696
9045
  warningsCount?: boolean | undefined;
9046
+ errors?: boolean | undefined;
8697
9047
  errorsCount?: boolean | undefined;
8698
9048
  colors?: boolean | undefined;
8699
9049
  version?: boolean | undefined;
9050
+ reasons?: boolean | undefined;
8700
9051
  outputPath?: boolean | undefined;
8701
9052
  chunkModules?: boolean | undefined;
8702
9053
  chunkRelations?: boolean | undefined;
@@ -8705,10 +9056,12 @@ export declare const rspackOptions: z.ZodObject<{
8705
9056
  builtAt?: boolean | undefined;
8706
9057
  moduleAssets?: boolean | undefined;
8707
9058
  nestedModules?: boolean | undefined;
9059
+ source?: boolean | undefined;
8708
9060
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
8709
9061
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
8710
9062
  loggingTrace?: boolean | undefined;
8711
9063
  runtimeModules?: boolean | undefined;
9064
+ optimizationBailout?: boolean | undefined;
8712
9065
  groupModulesByType?: boolean | undefined;
8713
9066
  groupModulesByCacheStatus?: boolean | undefined;
8714
9067
  groupModulesByLayer?: boolean | undefined;
@@ -8740,11 +9093,13 @@ export declare const rspackOptions: z.ZodObject<{
8740
9093
  chunkGroupMaxAssets?: number | undefined;
8741
9094
  dependentModules?: boolean | undefined;
8742
9095
  chunkOrigins?: boolean | undefined;
9096
+ depth?: boolean | undefined;
8743
9097
  reasonsSpace?: number | undefined;
8744
9098
  groupReasonsByOrigin?: boolean | undefined;
8745
9099
  errorDetails?: boolean | undefined;
8746
9100
  errorStack?: boolean | undefined;
8747
- moduleTrace?: boolean | undefined;
9101
+ cachedModules?: boolean | undefined;
9102
+ cached?: boolean | undefined;
8748
9103
  } | undefined;
8749
9104
  snapshot?: {} | undefined;
8750
9105
  optimization?: {
@@ -9031,7 +9386,6 @@ export declare const rspackOptions: z.ZodObject<{
9031
9386
  } | undefined;
9032
9387
  dependOn?: string | string[] | undefined;
9033
9388
  }>>) | undefined;
9034
- profile?: boolean | undefined;
9035
9389
  performance?: false | {
9036
9390
  assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
9037
9391
  hints?: false | "error" | "warning" | undefined;
@@ -9043,6 +9397,7 @@ export declare const rspackOptions: z.ZodObject<{
9043
9397
  __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
9044
9398
  __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
9045
9399
  } | undefined;
9400
+ profile?: boolean | undefined;
9046
9401
  cache?: boolean | undefined;
9047
9402
  loader?: Record<string, any> | undefined;
9048
9403
  resolve?: ResolveOptions | undefined;
@@ -9103,6 +9458,7 @@ export declare const rspackOptions: z.ZodObject<{
9103
9458
  clean?: boolean | undefined;
9104
9459
  crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
9105
9460
  cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
9461
+ cssHeadDataCompression?: boolean | undefined;
9106
9462
  cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
9107
9463
  hotUpdateMainFilename?: string | undefined;
9108
9464
  hotUpdateChunkFilename?: string | undefined;
@@ -9148,6 +9504,20 @@ export declare const rspackOptions: z.ZodObject<{
9148
9504
  lazyCompilation?: boolean | {
9149
9505
  entries?: boolean | undefined;
9150
9506
  test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
9507
+ backend?: {
9508
+ client?: string | undefined;
9509
+ listen?: number | {
9510
+ path?: string | undefined;
9511
+ port?: number | undefined;
9512
+ host?: string | undefined;
9513
+ backlog?: number | undefined;
9514
+ exclusive?: boolean | undefined;
9515
+ readableAll?: boolean | undefined;
9516
+ writableAll?: boolean | undefined;
9517
+ ipv6Only?: boolean | undefined;
9518
+ } | undefined;
9519
+ protocol?: "http" | "https" | undefined;
9520
+ } | undefined;
9151
9521
  imports?: boolean | undefined;
9152
9522
  } | undefined;
9153
9523
  asyncWebAssembly?: boolean | undefined;
@@ -9231,20 +9601,18 @@ export declare const rspackOptions: z.ZodObject<{
9231
9601
  children?: boolean | undefined;
9232
9602
  runtime?: boolean | undefined;
9233
9603
  modules?: boolean | undefined;
9234
- optimizationBailout?: boolean | undefined;
9235
- depth?: boolean | undefined;
9236
- assets?: boolean | undefined;
9237
- source?: boolean | undefined;
9238
- errors?: boolean | undefined;
9239
- warnings?: boolean | undefined;
9240
- reasons?: boolean | undefined;
9604
+ moduleTrace?: boolean | undefined;
9241
9605
  preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
9606
+ assets?: boolean | undefined;
9242
9607
  entrypoints?: boolean | "auto" | undefined;
9243
9608
  chunkGroups?: boolean | undefined;
9609
+ warnings?: boolean | undefined;
9244
9610
  warningsCount?: boolean | undefined;
9611
+ errors?: boolean | undefined;
9245
9612
  errorsCount?: boolean | undefined;
9246
9613
  colors?: boolean | undefined;
9247
9614
  version?: boolean | undefined;
9615
+ reasons?: boolean | undefined;
9248
9616
  outputPath?: boolean | undefined;
9249
9617
  chunkModules?: boolean | undefined;
9250
9618
  chunkRelations?: boolean | undefined;
@@ -9253,10 +9621,12 @@ export declare const rspackOptions: z.ZodObject<{
9253
9621
  builtAt?: boolean | undefined;
9254
9622
  moduleAssets?: boolean | undefined;
9255
9623
  nestedModules?: boolean | undefined;
9624
+ source?: boolean | undefined;
9256
9625
  logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
9257
9626
  loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
9258
9627
  loggingTrace?: boolean | undefined;
9259
9628
  runtimeModules?: boolean | undefined;
9629
+ optimizationBailout?: boolean | undefined;
9260
9630
  groupModulesByType?: boolean | undefined;
9261
9631
  groupModulesByCacheStatus?: boolean | undefined;
9262
9632
  groupModulesByLayer?: boolean | undefined;
@@ -9288,11 +9658,13 @@ export declare const rspackOptions: z.ZodObject<{
9288
9658
  chunkGroupMaxAssets?: number | undefined;
9289
9659
  dependentModules?: boolean | undefined;
9290
9660
  chunkOrigins?: boolean | undefined;
9661
+ depth?: boolean | undefined;
9291
9662
  reasonsSpace?: number | undefined;
9292
9663
  groupReasonsByOrigin?: boolean | undefined;
9293
9664
  errorDetails?: boolean | undefined;
9294
9665
  errorStack?: boolean | undefined;
9295
- moduleTrace?: boolean | undefined;
9666
+ cachedModules?: boolean | undefined;
9667
+ cached?: boolean | undefined;
9296
9668
  } | undefined;
9297
9669
  snapshot?: {} | undefined;
9298
9670
  optimization?: {