@rspack/core 0.1.12 → 0.2.1

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 (130) hide show
  1. package/dist/compilation.d.ts +4 -2
  2. package/dist/compilation.d.ts.map +1 -1
  3. package/dist/compilation.js +3 -1
  4. package/dist/compilation.js.map +1 -1
  5. package/dist/compiler.d.ts +5 -1
  6. package/dist/compiler.d.ts.map +1 -1
  7. package/dist/compiler.js +71 -16
  8. package/dist/compiler.js.map +1 -1
  9. package/dist/config/adapter-rule-use.d.ts +1 -1
  10. package/dist/config/adapter-rule-use.d.ts.map +1 -1
  11. package/dist/config/adapter-rule-use.js +7 -16
  12. package/dist/config/adapter-rule-use.js.map +1 -1
  13. package/dist/config/adapter.d.ts.map +1 -1
  14. package/dist/config/adapter.js +44 -41
  15. package/dist/config/adapter.js.map +1 -1
  16. package/dist/config/defaults.js +18 -6
  17. package/dist/config/defaults.js.map +1 -1
  18. package/dist/config/index.d.ts +1 -0
  19. package/dist/config/index.d.ts.map +1 -1
  20. package/dist/config/index.js +31 -0
  21. package/dist/config/index.js.map +1 -1
  22. package/dist/config/normalization.d.ts.map +1 -1
  23. package/dist/config/normalization.js +28 -2
  24. package/dist/config/normalization.js.map +1 -1
  25. package/dist/config/schema.check.d.ts.map +1 -1
  26. package/dist/config/schema.check.js +1293 -792
  27. package/dist/config/schema.check.js.map +1 -1
  28. package/dist/config/schema.d.ts +1083 -959
  29. package/dist/config/schema.js +99 -6
  30. package/dist/config/schema.js.map +1 -1
  31. package/dist/config/types.d.ts +22 -79
  32. package/dist/config/types.d.ts.map +1 -1
  33. package/dist/config/zod/_rewrite.d.ts +15 -0
  34. package/dist/config/zod/_rewrite.d.ts.map +1 -0
  35. package/dist/config/zod/_rewrite.js +3 -0
  36. package/dist/config/zod/_rewrite.js.map +1 -0
  37. package/dist/config/zod/builtins.d.ts +3 -0
  38. package/dist/config/zod/builtins.d.ts.map +1 -0
  39. package/dist/config/zod/builtins.js +10 -0
  40. package/dist/config/zod/builtins.js.map +1 -0
  41. package/dist/config/zod/devtool.d.ts +3 -0
  42. package/dist/config/zod/devtool.d.ts.map +1 -0
  43. package/dist/config/zod/devtool.js +35 -0
  44. package/dist/config/zod/devtool.js.map +1 -0
  45. package/dist/config/zod/entry.d.ts +15 -0
  46. package/dist/config/zod/entry.d.ts.map +1 -0
  47. package/dist/config/zod/entry.js +25 -0
  48. package/dist/config/zod/entry.js.map +1 -0
  49. package/dist/config/zod/experiments.d.ts +24 -0
  50. package/dist/config/zod/experiments.d.ts.map +1 -0
  51. package/dist/config/zod/experiments.js +16 -0
  52. package/dist/config/zod/experiments.js.map +1 -0
  53. package/dist/config/zod/externals-presets.d.ts +24 -0
  54. package/dist/config/zod/externals-presets.d.ts.map +1 -0
  55. package/dist/config/zod/externals-presets.js +18 -0
  56. package/dist/config/zod/externals-presets.js.map +1 -0
  57. package/dist/config/zod/externals-type.d.ts +3 -0
  58. package/dist/config/zod/externals-type.d.ts.map +1 -0
  59. package/dist/config/zod/externals-type.js +31 -0
  60. package/dist/config/zod/externals-type.js.map +1 -0
  61. package/dist/config/zod/externals.d.ts +3 -0
  62. package/dist/config/zod/externals.d.ts.map +1 -0
  63. package/dist/config/zod/externals.js +14 -0
  64. package/dist/config/zod/externals.js.map +1 -0
  65. package/dist/config/zod/index.d.ts +970 -0
  66. package/dist/config/zod/index.d.ts.map +1 -0
  67. package/dist/config/zod/index.js +55 -0
  68. package/dist/config/zod/index.js.map +1 -0
  69. package/dist/config/zod/infrastructure-logging.d.ts +24 -0
  70. package/dist/config/zod/infrastructure-logging.d.ts.map +1 -0
  71. package/dist/config/zod/infrastructure-logging.js +20 -0
  72. package/dist/config/zod/infrastructure-logging.js.map +1 -0
  73. package/dist/config/zod/module.d.ts +1 -0
  74. package/dist/config/zod/module.d.ts.map +1 -0
  75. package/dist/config/zod/module.js +2 -0
  76. package/dist/config/zod/module.js.map +1 -0
  77. package/dist/config/zod/node.d.ts +15 -0
  78. package/dist/config/zod/node.d.ts.map +1 -0
  79. package/dist/config/zod/node.js +24 -0
  80. package/dist/config/zod/node.js.map +1 -0
  81. package/dist/config/zod/optimization/index.d.ts +241 -0
  82. package/dist/config/zod/optimization/index.d.ts.map +1 -0
  83. package/dist/config/zod/optimization/index.js +32 -0
  84. package/dist/config/zod/optimization/index.js.map +1 -0
  85. package/dist/config/zod/optimization/split-chunks.d.ts +169 -0
  86. package/dist/config/zod/optimization/split-chunks.d.ts.map +1 -0
  87. package/dist/config/zod/optimization/split-chunks.js +47 -0
  88. package/dist/config/zod/optimization/split-chunks.js.map +1 -0
  89. package/dist/config/zod/output.d.ts +139 -0
  90. package/dist/config/zod/output.d.ts.map +1 -0
  91. package/dist/config/zod/output.js +92 -0
  92. package/dist/config/zod/output.js.map +1 -0
  93. package/dist/config/zod/snapshot.d.ts +42 -0
  94. package/dist/config/zod/snapshot.d.ts.map +1 -0
  95. package/dist/config/zod/snapshot.js +22 -0
  96. package/dist/config/zod/snapshot.js.map +1 -0
  97. package/dist/config/zod/stats.d.ts +69 -0
  98. package/dist/config/zod/stats.d.ts.map +1 -0
  99. package/dist/config/zod/stats.js +36 -0
  100. package/dist/config/zod/stats.js.map +1 -0
  101. package/dist/config/zod/target.d.ts +3 -0
  102. package/dist/config/zod/target.d.ts.map +1 -0
  103. package/dist/config/zod/target.js +37 -0
  104. package/dist/config/zod/target.js.map +1 -0
  105. package/dist/config/zod/watch-options.d.ts +21 -0
  106. package/dist/config/zod/watch-options.d.ts.map +1 -0
  107. package/dist/config/zod/watch-options.js +22 -0
  108. package/dist/config/zod/watch-options.js.map +1 -0
  109. package/dist/fileSystem.d.ts +1 -0
  110. package/dist/fileSystem.d.ts.map +1 -1
  111. package/dist/fileSystem.js +1 -0
  112. package/dist/fileSystem.js.map +1 -1
  113. package/dist/index.d.ts +2 -0
  114. package/dist/index.d.ts.map +1 -1
  115. package/dist/loader-runner/index.d.ts.map +1 -1
  116. package/dist/loader-runner/index.js +16 -16
  117. package/dist/loader-runner/index.js.map +1 -1
  118. package/dist/rspack.d.ts.map +1 -1
  119. package/dist/rspack.js +3 -27
  120. package/dist/rspack.js.map +1 -1
  121. package/dist/stats.d.ts +1 -1
  122. package/dist/stats.d.ts.map +1 -1
  123. package/dist/util/index.d.ts.map +1 -1
  124. package/dist/util/index.js +1 -0
  125. package/dist/util/index.js.map +1 -1
  126. package/package.json +11 -12
  127. package/dist/error/InvalidateConfiguration.d.ts +0 -4
  128. package/dist/error/InvalidateConfiguration.d.ts.map +0 -1
  129. package/dist/error/InvalidateConfiguration.js +0 -10
  130. package/dist/error/InvalidateConfiguration.js.map +0 -1
@@ -0,0 +1,970 @@
1
+ import { z } from "zod";
2
+ export declare function configSchema(): z.ZodObject<{
3
+ target: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "many">]>>;
4
+ mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
5
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
6
+ import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
7
+ runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
8
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>]>>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ import: (string | string[]) & (string | string[] | undefined);
11
+ runtime?: string | false | undefined;
12
+ wasmLoading?: false | "fetch-streaming" | "fetch" | "async-node" | undefined;
13
+ }, {
14
+ import: (string | string[]) & (string | string[] | undefined);
15
+ runtime?: string | false | undefined;
16
+ wasmLoading?: false | "fetch-streaming" | "fetch" | "async-node" | undefined;
17
+ }>]>>]>>;
18
+ experiments: z.ZodOptional<z.ZodObject<{
19
+ asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
20
+ incrementalRebuild: z.ZodOptional<z.ZodBoolean>;
21
+ lazyCompilation: z.ZodOptional<z.ZodBoolean>;
22
+ outputModule: z.ZodOptional<z.ZodBoolean>;
23
+ newSplitChunks: z.ZodOptional<z.ZodBoolean>;
24
+ css: z.ZodOptional<z.ZodBoolean>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ asyncWebAssembly?: boolean | undefined;
27
+ incrementalRebuild?: boolean | undefined;
28
+ lazyCompilation?: boolean | undefined;
29
+ outputModule?: boolean | undefined;
30
+ newSplitChunks?: boolean | undefined;
31
+ css?: boolean | undefined;
32
+ }, {
33
+ asyncWebAssembly?: boolean | undefined;
34
+ incrementalRebuild?: boolean | undefined;
35
+ lazyCompilation?: boolean | undefined;
36
+ outputModule?: boolean | undefined;
37
+ newSplitChunks?: boolean | undefined;
38
+ css?: boolean | undefined;
39
+ }>>;
40
+ externals: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodAny]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>, z.ZodAny]>, "many">]>>;
41
+ externalsType: z.ZodOptional<z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>>;
42
+ externalsPresets: z.ZodOptional<z.ZodObject<{
43
+ web: z.ZodOptional<z.ZodBoolean>;
44
+ node: z.ZodOptional<z.ZodBoolean>;
45
+ electron: z.ZodOptional<z.ZodBoolean>;
46
+ electronMain: z.ZodOptional<z.ZodBoolean>;
47
+ electronPreload: z.ZodOptional<z.ZodBoolean>;
48
+ electronRenderer: z.ZodOptional<z.ZodBoolean>;
49
+ }, "strict", z.ZodTypeAny, {
50
+ web?: boolean | undefined;
51
+ node?: boolean | undefined;
52
+ electron?: boolean | undefined;
53
+ electronMain?: boolean | undefined;
54
+ electronPreload?: boolean | undefined;
55
+ electronRenderer?: boolean | undefined;
56
+ }, {
57
+ web?: boolean | undefined;
58
+ node?: boolean | undefined;
59
+ electron?: boolean | undefined;
60
+ electronMain?: boolean | undefined;
61
+ electronPreload?: boolean | undefined;
62
+ electronRenderer?: boolean | undefined;
63
+ }>>;
64
+ infrastructureLogging: z.ZodOptional<z.ZodObject<{
65
+ appendOnly: z.ZodOptional<z.ZodBoolean>;
66
+ colors: z.ZodOptional<z.ZodBoolean>;
67
+ console: z.ZodOptional<z.ZodBoolean>;
68
+ debug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodAny]>>;
69
+ level: z.ZodOptional<z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>>;
70
+ stream: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
71
+ }, "strict", z.ZodTypeAny, {
72
+ appendOnly?: boolean | undefined;
73
+ colors?: boolean | undefined;
74
+ console?: boolean | undefined;
75
+ debug?: any;
76
+ level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
77
+ stream?: boolean | {} | undefined;
78
+ }, {
79
+ appendOnly?: boolean | undefined;
80
+ colors?: boolean | undefined;
81
+ console?: boolean | undefined;
82
+ debug?: any;
83
+ level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
84
+ stream?: boolean | {} | undefined;
85
+ }>>;
86
+ cache: z.ZodOptional<z.ZodBoolean>;
87
+ context: z.ZodOptional<z.ZodString>;
88
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
89
+ devtool: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["cheap-source-map", "cheap-module-source-map", "source-map", "inline-cheap-source-map", "inline-cheap-module-source-map", "inline-source-map", "inline-nosources-cheap-module-source-map", "inline-nosources-source-map", "nosources-cheap-source-map", "nosources-cheap-module-source-map", "nosources-source-map", "hidden-nosources-cheap-source-map", "hidden-nosources-cheap-module-source-map", "hidden-nosources-source-map", "hidden-cheap-source-map", "hidden-cheap-module-source-map", "hidden-source-map", "eval-cheap-source-map", "eval-cheap-module-source-map", "eval-source-map", "eval-nosources-cheap-source-map", "eval-nosources-cheap-module-source-map", "eval-nosources-source-map"]>]>>;
90
+ node: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
91
+ __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
92
+ __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
93
+ global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn"]>]>>;
94
+ }, "strict", z.ZodTypeAny, {
95
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
96
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
97
+ global?: boolean | "warn" | undefined;
98
+ }, {
99
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
100
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
101
+ global?: boolean | "warn" | undefined;
102
+ }>]>>;
103
+ ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>, "many">>;
104
+ watchOptions: z.ZodOptional<z.ZodObject<{
105
+ aggregateTimeout: z.ZodOptional<z.ZodNumber>;
106
+ followSymlinks: z.ZodOptional<z.ZodBoolean>;
107
+ ignored: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodString]>>;
108
+ poll: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
109
+ stdin: z.ZodOptional<z.ZodBoolean>;
110
+ }, "strict", z.ZodTypeAny, {
111
+ aggregateTimeout?: number | undefined;
112
+ followSymlinks?: boolean | undefined;
113
+ ignored?: string | RegExp | string[] | undefined;
114
+ poll?: number | boolean | undefined;
115
+ stdin?: boolean | undefined;
116
+ }, {
117
+ aggregateTimeout?: number | undefined;
118
+ followSymlinks?: boolean | undefined;
119
+ ignored?: string | RegExp | string[] | undefined;
120
+ poll?: number | boolean | undefined;
121
+ stdin?: boolean | undefined;
122
+ }>>;
123
+ watch: z.ZodOptional<z.ZodBoolean>;
124
+ stats: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
125
+ all: z.ZodOptional<z.ZodBoolean>;
126
+ assets: z.ZodOptional<z.ZodBoolean>;
127
+ chunkGroups: z.ZodOptional<z.ZodBoolean>;
128
+ chunks: z.ZodOptional<z.ZodBoolean>;
129
+ colors: z.ZodOptional<z.ZodBoolean>;
130
+ entrypoints: z.ZodOptional<z.ZodBoolean>;
131
+ errors: z.ZodOptional<z.ZodBoolean>;
132
+ errorsCount: z.ZodOptional<z.ZodBoolean>;
133
+ hash: z.ZodOptional<z.ZodBoolean>;
134
+ modules: z.ZodOptional<z.ZodBoolean>;
135
+ preset: z.ZodOptional<z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings"]>>;
136
+ publicPath: z.ZodOptional<z.ZodBoolean>;
137
+ reasons: z.ZodOptional<z.ZodBoolean>;
138
+ warnings: z.ZodOptional<z.ZodBoolean>;
139
+ warningsCount: z.ZodOptional<z.ZodBoolean>;
140
+ outputPath: z.ZodOptional<z.ZodBoolean>;
141
+ chunkModules: z.ZodOptional<z.ZodBoolean>;
142
+ chunkRelations: z.ZodOptional<z.ZodBoolean>;
143
+ timings: z.ZodOptional<z.ZodBoolean>;
144
+ builtAt: z.ZodOptional<z.ZodBoolean>;
145
+ nestedModules: z.ZodOptional<z.ZodBoolean>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ all?: boolean | undefined;
148
+ assets?: boolean | undefined;
149
+ chunkGroups?: boolean | undefined;
150
+ chunks?: boolean | undefined;
151
+ colors?: boolean | undefined;
152
+ entrypoints?: boolean | undefined;
153
+ errors?: boolean | undefined;
154
+ errorsCount?: boolean | undefined;
155
+ hash?: boolean | undefined;
156
+ modules?: boolean | undefined;
157
+ preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
158
+ publicPath?: boolean | undefined;
159
+ reasons?: boolean | undefined;
160
+ warnings?: boolean | undefined;
161
+ warningsCount?: boolean | undefined;
162
+ outputPath?: boolean | undefined;
163
+ chunkModules?: boolean | undefined;
164
+ chunkRelations?: boolean | undefined;
165
+ timings?: boolean | undefined;
166
+ builtAt?: boolean | undefined;
167
+ nestedModules?: boolean | undefined;
168
+ }, {
169
+ all?: boolean | undefined;
170
+ assets?: boolean | undefined;
171
+ chunkGroups?: boolean | undefined;
172
+ chunks?: boolean | undefined;
173
+ colors?: boolean | undefined;
174
+ entrypoints?: boolean | undefined;
175
+ errors?: boolean | undefined;
176
+ errorsCount?: boolean | undefined;
177
+ hash?: boolean | undefined;
178
+ modules?: boolean | undefined;
179
+ preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
180
+ publicPath?: boolean | undefined;
181
+ reasons?: boolean | undefined;
182
+ warnings?: boolean | undefined;
183
+ warningsCount?: boolean | undefined;
184
+ outputPath?: boolean | undefined;
185
+ chunkModules?: boolean | undefined;
186
+ chunkRelations?: boolean | undefined;
187
+ timings?: boolean | undefined;
188
+ builtAt?: boolean | undefined;
189
+ nestedModules?: boolean | undefined;
190
+ }>]>>;
191
+ snapshot: z.ZodOptional<z.ZodObject<{
192
+ module: z.ZodOptional<z.ZodObject<{
193
+ hash: z.ZodOptional<z.ZodBoolean>;
194
+ timestamp: z.ZodOptional<z.ZodBoolean>;
195
+ }, "strict", z.ZodTypeAny, {
196
+ hash?: boolean | undefined;
197
+ timestamp?: boolean | undefined;
198
+ }, {
199
+ hash?: boolean | undefined;
200
+ timestamp?: boolean | undefined;
201
+ }>>;
202
+ resolve: z.ZodOptional<z.ZodObject<{
203
+ hash: z.ZodOptional<z.ZodBoolean>;
204
+ timestamp: z.ZodOptional<z.ZodBoolean>;
205
+ }, "strict", z.ZodTypeAny, {
206
+ hash?: boolean | undefined;
207
+ timestamp?: boolean | undefined;
208
+ }, {
209
+ hash?: boolean | undefined;
210
+ timestamp?: boolean | undefined;
211
+ }>>;
212
+ }, "strict", z.ZodTypeAny, {
213
+ module?: {
214
+ hash?: boolean | undefined;
215
+ timestamp?: boolean | undefined;
216
+ } | undefined;
217
+ resolve?: {
218
+ hash?: boolean | undefined;
219
+ timestamp?: boolean | undefined;
220
+ } | undefined;
221
+ }, {
222
+ module?: {
223
+ hash?: boolean | undefined;
224
+ timestamp?: boolean | undefined;
225
+ } | undefined;
226
+ resolve?: {
227
+ hash?: boolean | undefined;
228
+ timestamp?: boolean | undefined;
229
+ } | undefined;
230
+ }>>;
231
+ optimization: z.ZodOptional<z.ZodObject<{
232
+ moduleIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
233
+ minimize: z.ZodOptional<z.ZodBoolean>;
234
+ minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodObject<{
235
+ apply: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ apply: (...args: unknown[]) => unknown;
238
+ }, {
239
+ apply: (...args: unknown[]) => unknown;
240
+ }>]>, "many">>;
241
+ splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
242
+ chunks: z.ZodOptional<z.ZodEnum<["initial", "async", "all"]>>;
243
+ minChunks: z.ZodOptional<z.ZodNumber>;
244
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
245
+ minSize: z.ZodOptional<z.ZodNumber>;
246
+ maxSize: z.ZodOptional<z.ZodNumber>;
247
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
248
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
249
+ cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
250
+ chunks: z.ZodOptional<z.ZodEnum<["initial", "async", "all"]>>;
251
+ minChunks: z.ZodOptional<z.ZodNumber>;
252
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
253
+ minSize: z.ZodOptional<z.ZodNumber>;
254
+ maxSize: z.ZodOptional<z.ZodNumber>;
255
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
256
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
257
+ test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
258
+ priority: z.ZodOptional<z.ZodNumber>;
259
+ enforce: z.ZodOptional<z.ZodBoolean>;
260
+ reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
261
+ }, "strict", z.ZodTypeAny, {
262
+ chunks?: "async" | "all" | "initial" | undefined;
263
+ minChunks?: number | undefined;
264
+ name?: string | false | undefined;
265
+ minSize?: number | undefined;
266
+ maxSize?: number | undefined;
267
+ maxAsyncSize?: number | undefined;
268
+ maxInitialSize?: number | undefined;
269
+ test?: RegExp | undefined;
270
+ priority?: number | undefined;
271
+ enforce?: boolean | undefined;
272
+ reuseExistingChunk?: boolean | undefined;
273
+ }, {
274
+ chunks?: "async" | "all" | "initial" | undefined;
275
+ minChunks?: number | undefined;
276
+ name?: string | false | undefined;
277
+ minSize?: number | undefined;
278
+ maxSize?: number | undefined;
279
+ maxAsyncSize?: number | undefined;
280
+ maxInitialSize?: number | undefined;
281
+ test?: RegExp | undefined;
282
+ priority?: number | undefined;
283
+ enforce?: boolean | undefined;
284
+ reuseExistingChunk?: boolean | undefined;
285
+ }>]>>>;
286
+ maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
287
+ maxInitialRequests: z.ZodOptional<z.ZodNumber>;
288
+ fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
289
+ chunks: z.ZodOptional<z.ZodEnum<["initial", "async", "all"]>>;
290
+ minSize: z.ZodOptional<z.ZodNumber>;
291
+ maxSize: z.ZodOptional<z.ZodNumber>;
292
+ maxAsyncSize: z.ZodOptional<z.ZodNumber>;
293
+ maxInitialSize: z.ZodOptional<z.ZodNumber>;
294
+ }, "strict", z.ZodTypeAny, {
295
+ chunks?: "async" | "all" | "initial" | undefined;
296
+ minSize?: number | undefined;
297
+ maxSize?: number | undefined;
298
+ maxAsyncSize?: number | undefined;
299
+ maxInitialSize?: number | undefined;
300
+ }, {
301
+ chunks?: "async" | "all" | "initial" | undefined;
302
+ minSize?: number | undefined;
303
+ maxSize?: number | undefined;
304
+ maxAsyncSize?: number | undefined;
305
+ maxInitialSize?: number | undefined;
306
+ }>>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ chunks?: "async" | "all" | "initial" | undefined;
309
+ minChunks?: number | undefined;
310
+ name?: string | false | undefined;
311
+ minSize?: number | undefined;
312
+ maxSize?: number | undefined;
313
+ maxAsyncSize?: number | undefined;
314
+ maxInitialSize?: number | undefined;
315
+ cacheGroups?: Record<string, false | {
316
+ chunks?: "async" | "all" | "initial" | undefined;
317
+ minChunks?: number | undefined;
318
+ name?: string | false | undefined;
319
+ minSize?: number | undefined;
320
+ maxSize?: number | undefined;
321
+ maxAsyncSize?: number | undefined;
322
+ maxInitialSize?: number | undefined;
323
+ test?: RegExp | undefined;
324
+ priority?: number | undefined;
325
+ enforce?: boolean | undefined;
326
+ reuseExistingChunk?: boolean | undefined;
327
+ }> | undefined;
328
+ maxAsyncRequests?: number | undefined;
329
+ maxInitialRequests?: number | undefined;
330
+ fallbackCacheGroup?: {
331
+ chunks?: "async" | "all" | "initial" | undefined;
332
+ minSize?: number | undefined;
333
+ maxSize?: number | undefined;
334
+ maxAsyncSize?: number | undefined;
335
+ maxInitialSize?: number | undefined;
336
+ } | undefined;
337
+ }, {
338
+ chunks?: "async" | "all" | "initial" | undefined;
339
+ minChunks?: number | undefined;
340
+ name?: string | false | undefined;
341
+ minSize?: number | undefined;
342
+ maxSize?: number | undefined;
343
+ maxAsyncSize?: number | undefined;
344
+ maxInitialSize?: number | undefined;
345
+ cacheGroups?: Record<string, false | {
346
+ chunks?: "async" | "all" | "initial" | undefined;
347
+ minChunks?: number | undefined;
348
+ name?: string | false | undefined;
349
+ minSize?: number | undefined;
350
+ maxSize?: number | undefined;
351
+ maxAsyncSize?: number | undefined;
352
+ maxInitialSize?: number | undefined;
353
+ test?: RegExp | undefined;
354
+ priority?: number | undefined;
355
+ enforce?: boolean | undefined;
356
+ reuseExistingChunk?: boolean | undefined;
357
+ }> | undefined;
358
+ maxAsyncRequests?: number | undefined;
359
+ maxInitialRequests?: number | undefined;
360
+ fallbackCacheGroup?: {
361
+ chunks?: "async" | "all" | "initial" | undefined;
362
+ minSize?: number | undefined;
363
+ maxSize?: number | undefined;
364
+ maxAsyncSize?: number | undefined;
365
+ maxInitialSize?: number | undefined;
366
+ } | undefined;
367
+ }>]>>;
368
+ runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
369
+ name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
370
+ }, "strict", z.ZodTypeAny, {
371
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
372
+ }, {
373
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
374
+ }>]>>;
375
+ removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
376
+ removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
377
+ realContentHash: z.ZodOptional<z.ZodBoolean>;
378
+ sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
379
+ }, "strict", z.ZodTypeAny, {
380
+ moduleIds?: "named" | "deterministic" | undefined;
381
+ minimize?: boolean | undefined;
382
+ minimizer?: ("..." | {
383
+ apply: (...args: unknown[]) => unknown;
384
+ })[] | undefined;
385
+ splitChunks?: false | {
386
+ chunks?: "async" | "all" | "initial" | undefined;
387
+ minChunks?: number | undefined;
388
+ name?: string | false | undefined;
389
+ minSize?: number | undefined;
390
+ maxSize?: number | undefined;
391
+ maxAsyncSize?: number | undefined;
392
+ maxInitialSize?: number | undefined;
393
+ cacheGroups?: Record<string, false | {
394
+ chunks?: "async" | "all" | "initial" | undefined;
395
+ minChunks?: number | undefined;
396
+ name?: string | false | undefined;
397
+ minSize?: number | undefined;
398
+ maxSize?: number | undefined;
399
+ maxAsyncSize?: number | undefined;
400
+ maxInitialSize?: number | undefined;
401
+ test?: RegExp | undefined;
402
+ priority?: number | undefined;
403
+ enforce?: boolean | undefined;
404
+ reuseExistingChunk?: boolean | undefined;
405
+ }> | undefined;
406
+ maxAsyncRequests?: number | undefined;
407
+ maxInitialRequests?: number | undefined;
408
+ fallbackCacheGroup?: {
409
+ chunks?: "async" | "all" | "initial" | undefined;
410
+ minSize?: number | undefined;
411
+ maxSize?: number | undefined;
412
+ maxAsyncSize?: number | undefined;
413
+ maxInitialSize?: number | undefined;
414
+ } | undefined;
415
+ } | undefined;
416
+ runtimeChunk?: boolean | "single" | "multiple" | {
417
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
418
+ } | undefined;
419
+ removeAvailableModules?: boolean | undefined;
420
+ removeEmptyChunks?: boolean | undefined;
421
+ realContentHash?: boolean | undefined;
422
+ sideEffects?: boolean | "flag" | undefined;
423
+ }, {
424
+ moduleIds?: "named" | "deterministic" | undefined;
425
+ minimize?: boolean | undefined;
426
+ minimizer?: ("..." | {
427
+ apply: (...args: unknown[]) => unknown;
428
+ })[] | undefined;
429
+ splitChunks?: false | {
430
+ chunks?: "async" | "all" | "initial" | undefined;
431
+ minChunks?: number | undefined;
432
+ name?: string | false | undefined;
433
+ minSize?: number | undefined;
434
+ maxSize?: number | undefined;
435
+ maxAsyncSize?: number | undefined;
436
+ maxInitialSize?: number | undefined;
437
+ cacheGroups?: Record<string, false | {
438
+ chunks?: "async" | "all" | "initial" | undefined;
439
+ minChunks?: number | undefined;
440
+ name?: string | false | undefined;
441
+ minSize?: number | undefined;
442
+ maxSize?: number | undefined;
443
+ maxAsyncSize?: number | undefined;
444
+ maxInitialSize?: number | undefined;
445
+ test?: RegExp | undefined;
446
+ priority?: number | undefined;
447
+ enforce?: boolean | undefined;
448
+ reuseExistingChunk?: boolean | undefined;
449
+ }> | undefined;
450
+ maxAsyncRequests?: number | undefined;
451
+ maxInitialRequests?: number | undefined;
452
+ fallbackCacheGroup?: {
453
+ chunks?: "async" | "all" | "initial" | undefined;
454
+ minSize?: number | undefined;
455
+ maxSize?: number | undefined;
456
+ maxAsyncSize?: number | undefined;
457
+ maxInitialSize?: number | undefined;
458
+ } | undefined;
459
+ } | undefined;
460
+ runtimeChunk?: boolean | "single" | "multiple" | {
461
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
462
+ } | undefined;
463
+ removeAvailableModules?: boolean | undefined;
464
+ removeEmptyChunks?: boolean | undefined;
465
+ realContentHash?: boolean | undefined;
466
+ sideEffects?: boolean | "flag" | undefined;
467
+ }>>;
468
+ name: z.ZodOptional<z.ZodString>;
469
+ devServer: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
470
+ output: z.ZodOptional<z.ZodObject<{
471
+ iife: z.ZodOptional<z.ZodBoolean>;
472
+ clean: z.ZodOptional<z.ZodBoolean>;
473
+ assetModuleFilename: z.ZodOptional<z.ZodString>;
474
+ auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
475
+ amd: z.ZodOptional<z.ZodString>;
476
+ commonjs: z.ZodOptional<z.ZodString>;
477
+ commonjs2: z.ZodOptional<z.ZodString>;
478
+ root: z.ZodOptional<z.ZodString>;
479
+ }, "strict", z.ZodTypeAny, {
480
+ amd?: string | undefined;
481
+ commonjs?: string | undefined;
482
+ commonjs2?: string | undefined;
483
+ root?: string | undefined;
484
+ }, {
485
+ amd?: string | undefined;
486
+ commonjs?: string | undefined;
487
+ commonjs2?: string | undefined;
488
+ root?: string | undefined;
489
+ }>]>>;
490
+ chunkFormat: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["array-push", "commonjs", "module"]>, z.ZodLiteral<false>]>>;
491
+ chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
492
+ enabledChunkLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">>;
493
+ chunkFilename: z.ZodOptional<z.ZodString>;
494
+ cssChunkFilename: z.ZodOptional<z.ZodString>;
495
+ cssFilename: z.ZodOptional<z.ZodString>;
496
+ hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
497
+ hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
498
+ webassemblyModuleFilename: z.ZodOptional<z.ZodString>;
499
+ hashSalt: z.ZodOptional<z.ZodString>;
500
+ filename: z.ZodOptional<z.ZodString>;
501
+ sourceMapFilename: z.ZodOptional<z.ZodString>;
502
+ importFunctionName: z.ZodOptional<z.ZodString>;
503
+ publicPath: z.ZodOptional<z.ZodString>;
504
+ uniqueName: z.ZodOptional<z.ZodString>;
505
+ path: z.ZodOptional<z.ZodString>;
506
+ crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
507
+ enabledWasmLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["...", "fetch-streaming", "fetch", "async-node"]>, "many">>;
508
+ wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["...", "fetch-streaming", "fetch", "async-node"]>]>>;
509
+ enabledLibraryTypes: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["...", "var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodArray<z.ZodEnum<["...", "var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, "many">]>>;
510
+ globalObject: z.ZodOptional<z.ZodString>;
511
+ libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
512
+ libraryTarget: z.ZodOptional<z.ZodEnum<["...", "var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>>;
513
+ hashFunction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>>;
514
+ module: z.ZodOptional<z.ZodAny>;
515
+ strictModuleErrorHandling: z.ZodOptional<z.ZodAny>;
516
+ umdNamedDefine: z.ZodOptional<z.ZodAny>;
517
+ chunkLoadingGlobal: z.ZodOptional<z.ZodAny>;
518
+ trustedTypes: z.ZodOptional<z.ZodAny>;
519
+ hashDigest: z.ZodOptional<z.ZodAny>;
520
+ hashDigestLength: z.ZodOptional<z.ZodAny>;
521
+ library: z.ZodOptional<z.ZodAny>;
522
+ }, "strict", z.ZodTypeAny, {
523
+ iife?: boolean | undefined;
524
+ clean?: boolean | undefined;
525
+ assetModuleFilename?: string | undefined;
526
+ auxiliaryComment?: string | {
527
+ amd?: string | undefined;
528
+ commonjs?: string | undefined;
529
+ commonjs2?: string | undefined;
530
+ root?: string | undefined;
531
+ } | undefined;
532
+ chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
533
+ chunkLoading?: string | false | undefined;
534
+ enabledChunkLoadingTypes?: string[] | undefined;
535
+ chunkFilename?: string | undefined;
536
+ cssChunkFilename?: string | undefined;
537
+ cssFilename?: string | undefined;
538
+ hotUpdateChunkFilename?: string | undefined;
539
+ hotUpdateMainFilename?: string | undefined;
540
+ webassemblyModuleFilename?: string | undefined;
541
+ hashSalt?: string | undefined;
542
+ filename?: string | undefined;
543
+ sourceMapFilename?: string | undefined;
544
+ importFunctionName?: string | undefined;
545
+ publicPath?: string | undefined;
546
+ uniqueName?: string | undefined;
547
+ path?: string | undefined;
548
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
549
+ enabledWasmLoadingTypes?: ("..." | "fetch-streaming" | "fetch" | "async-node")[] | undefined;
550
+ wasmLoading?: false | "..." | "fetch-streaming" | "fetch" | "async-node" | undefined;
551
+ enabledLibraryTypes?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | ("..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties")[] | undefined;
552
+ globalObject?: string | undefined;
553
+ libraryExport?: string | string[] | undefined;
554
+ libraryTarget?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | undefined;
555
+ hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
556
+ module?: any;
557
+ strictModuleErrorHandling?: any;
558
+ umdNamedDefine?: any;
559
+ chunkLoadingGlobal?: any;
560
+ trustedTypes?: any;
561
+ hashDigest?: any;
562
+ hashDigestLength?: any;
563
+ library?: any;
564
+ }, {
565
+ iife?: boolean | undefined;
566
+ clean?: boolean | undefined;
567
+ assetModuleFilename?: string | undefined;
568
+ auxiliaryComment?: string | {
569
+ amd?: string | undefined;
570
+ commonjs?: string | undefined;
571
+ commonjs2?: string | undefined;
572
+ root?: string | undefined;
573
+ } | undefined;
574
+ chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
575
+ chunkLoading?: string | false | undefined;
576
+ enabledChunkLoadingTypes?: string[] | undefined;
577
+ chunkFilename?: string | undefined;
578
+ cssChunkFilename?: string | undefined;
579
+ cssFilename?: string | undefined;
580
+ hotUpdateChunkFilename?: string | undefined;
581
+ hotUpdateMainFilename?: string | undefined;
582
+ webassemblyModuleFilename?: string | undefined;
583
+ hashSalt?: string | undefined;
584
+ filename?: string | undefined;
585
+ sourceMapFilename?: string | undefined;
586
+ importFunctionName?: string | undefined;
587
+ publicPath?: string | undefined;
588
+ uniqueName?: string | undefined;
589
+ path?: string | undefined;
590
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
591
+ enabledWasmLoadingTypes?: ("..." | "fetch-streaming" | "fetch" | "async-node")[] | undefined;
592
+ wasmLoading?: false | "..." | "fetch-streaming" | "fetch" | "async-node" | undefined;
593
+ enabledLibraryTypes?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | ("..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties")[] | undefined;
594
+ globalObject?: string | undefined;
595
+ libraryExport?: string | string[] | undefined;
596
+ libraryTarget?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | undefined;
597
+ hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
598
+ module?: any;
599
+ strictModuleErrorHandling?: any;
600
+ umdNamedDefine?: any;
601
+ chunkLoadingGlobal?: any;
602
+ trustedTypes?: any;
603
+ hashDigest?: any;
604
+ hashDigestLength?: any;
605
+ library?: any;
606
+ }>>;
607
+ resolve: z.ZodOptional<z.ZodAny>;
608
+ plugins: z.ZodOptional<z.ZodAny>;
609
+ builtins: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
610
+ module: z.ZodOptional<z.ZodAny>;
611
+ }, "strict", z.ZodTypeAny, {
612
+ target?: false | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
613
+ mode?: "none" | "development" | "production" | undefined;
614
+ entry?: string | string[] | Record<string, string | string[] | {
615
+ import: (string | string[]) & (string | string[] | undefined);
616
+ runtime?: string | false | undefined;
617
+ wasmLoading?: false | "fetch-streaming" | "fetch" | "async-node" | undefined;
618
+ }> | undefined;
619
+ experiments?: {
620
+ asyncWebAssembly?: boolean | undefined;
621
+ incrementalRebuild?: boolean | undefined;
622
+ lazyCompilation?: boolean | undefined;
623
+ outputModule?: boolean | undefined;
624
+ newSplitChunks?: boolean | undefined;
625
+ css?: boolean | undefined;
626
+ } | undefined;
627
+ externals?: any;
628
+ externalsType?: "promise" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined;
629
+ externalsPresets?: {
630
+ web?: boolean | undefined;
631
+ node?: boolean | undefined;
632
+ electron?: boolean | undefined;
633
+ electronMain?: boolean | undefined;
634
+ electronPreload?: boolean | undefined;
635
+ electronRenderer?: boolean | undefined;
636
+ } | undefined;
637
+ infrastructureLogging?: {
638
+ appendOnly?: boolean | undefined;
639
+ colors?: boolean | undefined;
640
+ console?: boolean | undefined;
641
+ debug?: any;
642
+ level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
643
+ stream?: boolean | {} | undefined;
644
+ } | undefined;
645
+ cache?: boolean | undefined;
646
+ context?: string | undefined;
647
+ dependencies?: string[] | undefined;
648
+ devtool?: false | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
649
+ node?: false | {
650
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
651
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
652
+ global?: boolean | "warn" | undefined;
653
+ } | undefined;
654
+ ignoreWarnings?: (RegExp | ((...args: unknown[]) => unknown))[] | undefined;
655
+ watchOptions?: {
656
+ aggregateTimeout?: number | undefined;
657
+ followSymlinks?: boolean | undefined;
658
+ ignored?: string | RegExp | string[] | undefined;
659
+ poll?: number | boolean | undefined;
660
+ stdin?: boolean | undefined;
661
+ } | undefined;
662
+ watch?: boolean | undefined;
663
+ stats?: boolean | "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | {
664
+ all?: boolean | undefined;
665
+ assets?: boolean | undefined;
666
+ chunkGroups?: boolean | undefined;
667
+ chunks?: boolean | undefined;
668
+ colors?: boolean | undefined;
669
+ entrypoints?: boolean | undefined;
670
+ errors?: boolean | undefined;
671
+ errorsCount?: boolean | undefined;
672
+ hash?: boolean | undefined;
673
+ modules?: boolean | undefined;
674
+ preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
675
+ publicPath?: boolean | undefined;
676
+ reasons?: boolean | undefined;
677
+ warnings?: boolean | undefined;
678
+ warningsCount?: boolean | undefined;
679
+ outputPath?: boolean | undefined;
680
+ chunkModules?: boolean | undefined;
681
+ chunkRelations?: boolean | undefined;
682
+ timings?: boolean | undefined;
683
+ builtAt?: boolean | undefined;
684
+ nestedModules?: boolean | undefined;
685
+ } | undefined;
686
+ snapshot?: {
687
+ module?: {
688
+ hash?: boolean | undefined;
689
+ timestamp?: boolean | undefined;
690
+ } | undefined;
691
+ resolve?: {
692
+ hash?: boolean | undefined;
693
+ timestamp?: boolean | undefined;
694
+ } | undefined;
695
+ } | undefined;
696
+ optimization?: {
697
+ moduleIds?: "named" | "deterministic" | undefined;
698
+ minimize?: boolean | undefined;
699
+ minimizer?: ("..." | {
700
+ apply: (...args: unknown[]) => unknown;
701
+ })[] | undefined;
702
+ splitChunks?: false | {
703
+ chunks?: "async" | "all" | "initial" | undefined;
704
+ minChunks?: number | undefined;
705
+ name?: string | false | undefined;
706
+ minSize?: number | undefined;
707
+ maxSize?: number | undefined;
708
+ maxAsyncSize?: number | undefined;
709
+ maxInitialSize?: number | undefined;
710
+ cacheGroups?: Record<string, false | {
711
+ chunks?: "async" | "all" | "initial" | undefined;
712
+ minChunks?: number | undefined;
713
+ name?: string | false | undefined;
714
+ minSize?: number | undefined;
715
+ maxSize?: number | undefined;
716
+ maxAsyncSize?: number | undefined;
717
+ maxInitialSize?: number | undefined;
718
+ test?: RegExp | undefined;
719
+ priority?: number | undefined;
720
+ enforce?: boolean | undefined;
721
+ reuseExistingChunk?: boolean | undefined;
722
+ }> | undefined;
723
+ maxAsyncRequests?: number | undefined;
724
+ maxInitialRequests?: number | undefined;
725
+ fallbackCacheGroup?: {
726
+ chunks?: "async" | "all" | "initial" | undefined;
727
+ minSize?: number | undefined;
728
+ maxSize?: number | undefined;
729
+ maxAsyncSize?: number | undefined;
730
+ maxInitialSize?: number | undefined;
731
+ } | undefined;
732
+ } | undefined;
733
+ runtimeChunk?: boolean | "single" | "multiple" | {
734
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
735
+ } | undefined;
736
+ removeAvailableModules?: boolean | undefined;
737
+ removeEmptyChunks?: boolean | undefined;
738
+ realContentHash?: boolean | undefined;
739
+ sideEffects?: boolean | "flag" | undefined;
740
+ } | undefined;
741
+ name?: string | undefined;
742
+ devServer?: {} | undefined;
743
+ output?: {
744
+ iife?: boolean | undefined;
745
+ clean?: boolean | undefined;
746
+ assetModuleFilename?: string | undefined;
747
+ auxiliaryComment?: string | {
748
+ amd?: string | undefined;
749
+ commonjs?: string | undefined;
750
+ commonjs2?: string | undefined;
751
+ root?: string | undefined;
752
+ } | undefined;
753
+ chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
754
+ chunkLoading?: string | false | undefined;
755
+ enabledChunkLoadingTypes?: string[] | undefined;
756
+ chunkFilename?: string | undefined;
757
+ cssChunkFilename?: string | undefined;
758
+ cssFilename?: string | undefined;
759
+ hotUpdateChunkFilename?: string | undefined;
760
+ hotUpdateMainFilename?: string | undefined;
761
+ webassemblyModuleFilename?: string | undefined;
762
+ hashSalt?: string | undefined;
763
+ filename?: string | undefined;
764
+ sourceMapFilename?: string | undefined;
765
+ importFunctionName?: string | undefined;
766
+ publicPath?: string | undefined;
767
+ uniqueName?: string | undefined;
768
+ path?: string | undefined;
769
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
770
+ enabledWasmLoadingTypes?: ("..." | "fetch-streaming" | "fetch" | "async-node")[] | undefined;
771
+ wasmLoading?: false | "..." | "fetch-streaming" | "fetch" | "async-node" | undefined;
772
+ enabledLibraryTypes?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | ("..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties")[] | undefined;
773
+ globalObject?: string | undefined;
774
+ libraryExport?: string | string[] | undefined;
775
+ libraryTarget?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | undefined;
776
+ hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
777
+ module?: any;
778
+ strictModuleErrorHandling?: any;
779
+ umdNamedDefine?: any;
780
+ chunkLoadingGlobal?: any;
781
+ trustedTypes?: any;
782
+ hashDigest?: any;
783
+ hashDigestLength?: any;
784
+ library?: any;
785
+ } | undefined;
786
+ resolve?: any;
787
+ plugins?: any;
788
+ builtins?: Record<string, any> | undefined;
789
+ module?: any;
790
+ }, {
791
+ target?: false | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
792
+ mode?: "none" | "development" | "production" | undefined;
793
+ entry?: string | string[] | Record<string, string | string[] | {
794
+ import: (string | string[]) & (string | string[] | undefined);
795
+ runtime?: string | false | undefined;
796
+ wasmLoading?: false | "fetch-streaming" | "fetch" | "async-node" | undefined;
797
+ }> | undefined;
798
+ experiments?: {
799
+ asyncWebAssembly?: boolean | undefined;
800
+ incrementalRebuild?: boolean | undefined;
801
+ lazyCompilation?: boolean | undefined;
802
+ outputModule?: boolean | undefined;
803
+ newSplitChunks?: boolean | undefined;
804
+ css?: boolean | undefined;
805
+ } | undefined;
806
+ externals?: any;
807
+ externalsType?: "promise" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "script" | "node-commonjs" | undefined;
808
+ externalsPresets?: {
809
+ web?: boolean | undefined;
810
+ node?: boolean | undefined;
811
+ electron?: boolean | undefined;
812
+ electronMain?: boolean | undefined;
813
+ electronPreload?: boolean | undefined;
814
+ electronRenderer?: boolean | undefined;
815
+ } | undefined;
816
+ infrastructureLogging?: {
817
+ appendOnly?: boolean | undefined;
818
+ colors?: boolean | undefined;
819
+ console?: boolean | undefined;
820
+ debug?: any;
821
+ level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
822
+ stream?: boolean | {} | undefined;
823
+ } | undefined;
824
+ cache?: boolean | undefined;
825
+ context?: string | undefined;
826
+ dependencies?: string[] | undefined;
827
+ devtool?: false | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
828
+ node?: false | {
829
+ __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
830
+ __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
831
+ global?: boolean | "warn" | undefined;
832
+ } | undefined;
833
+ ignoreWarnings?: (RegExp | ((...args: unknown[]) => unknown))[] | undefined;
834
+ watchOptions?: {
835
+ aggregateTimeout?: number | undefined;
836
+ followSymlinks?: boolean | undefined;
837
+ ignored?: string | RegExp | string[] | undefined;
838
+ poll?: number | boolean | undefined;
839
+ stdin?: boolean | undefined;
840
+ } | undefined;
841
+ watch?: boolean | undefined;
842
+ stats?: boolean | "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | {
843
+ all?: boolean | undefined;
844
+ assets?: boolean | undefined;
845
+ chunkGroups?: boolean | undefined;
846
+ chunks?: boolean | undefined;
847
+ colors?: boolean | undefined;
848
+ entrypoints?: boolean | undefined;
849
+ errors?: boolean | undefined;
850
+ errorsCount?: boolean | undefined;
851
+ hash?: boolean | undefined;
852
+ modules?: boolean | undefined;
853
+ preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
854
+ publicPath?: boolean | undefined;
855
+ reasons?: boolean | undefined;
856
+ warnings?: boolean | undefined;
857
+ warningsCount?: boolean | undefined;
858
+ outputPath?: boolean | undefined;
859
+ chunkModules?: boolean | undefined;
860
+ chunkRelations?: boolean | undefined;
861
+ timings?: boolean | undefined;
862
+ builtAt?: boolean | undefined;
863
+ nestedModules?: boolean | undefined;
864
+ } | undefined;
865
+ snapshot?: {
866
+ module?: {
867
+ hash?: boolean | undefined;
868
+ timestamp?: boolean | undefined;
869
+ } | undefined;
870
+ resolve?: {
871
+ hash?: boolean | undefined;
872
+ timestamp?: boolean | undefined;
873
+ } | undefined;
874
+ } | undefined;
875
+ optimization?: {
876
+ moduleIds?: "named" | "deterministic" | undefined;
877
+ minimize?: boolean | undefined;
878
+ minimizer?: ("..." | {
879
+ apply: (...args: unknown[]) => unknown;
880
+ })[] | undefined;
881
+ splitChunks?: false | {
882
+ chunks?: "async" | "all" | "initial" | undefined;
883
+ minChunks?: number | undefined;
884
+ name?: string | false | undefined;
885
+ minSize?: number | undefined;
886
+ maxSize?: number | undefined;
887
+ maxAsyncSize?: number | undefined;
888
+ maxInitialSize?: number | undefined;
889
+ cacheGroups?: Record<string, false | {
890
+ chunks?: "async" | "all" | "initial" | undefined;
891
+ minChunks?: number | undefined;
892
+ name?: string | false | undefined;
893
+ minSize?: number | undefined;
894
+ maxSize?: number | undefined;
895
+ maxAsyncSize?: number | undefined;
896
+ maxInitialSize?: number | undefined;
897
+ test?: RegExp | undefined;
898
+ priority?: number | undefined;
899
+ enforce?: boolean | undefined;
900
+ reuseExistingChunk?: boolean | undefined;
901
+ }> | undefined;
902
+ maxAsyncRequests?: number | undefined;
903
+ maxInitialRequests?: number | undefined;
904
+ fallbackCacheGroup?: {
905
+ chunks?: "async" | "all" | "initial" | undefined;
906
+ minSize?: number | undefined;
907
+ maxSize?: number | undefined;
908
+ maxAsyncSize?: number | undefined;
909
+ maxInitialSize?: number | undefined;
910
+ } | undefined;
911
+ } | undefined;
912
+ runtimeChunk?: boolean | "single" | "multiple" | {
913
+ name?: string | ((...args: unknown[]) => string | undefined) | undefined;
914
+ } | undefined;
915
+ removeAvailableModules?: boolean | undefined;
916
+ removeEmptyChunks?: boolean | undefined;
917
+ realContentHash?: boolean | undefined;
918
+ sideEffects?: boolean | "flag" | undefined;
919
+ } | undefined;
920
+ name?: string | undefined;
921
+ devServer?: {} | undefined;
922
+ output?: {
923
+ iife?: boolean | undefined;
924
+ clean?: boolean | undefined;
925
+ assetModuleFilename?: string | undefined;
926
+ auxiliaryComment?: string | {
927
+ amd?: string | undefined;
928
+ commonjs?: string | undefined;
929
+ commonjs2?: string | undefined;
930
+ root?: string | undefined;
931
+ } | undefined;
932
+ chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
933
+ chunkLoading?: string | false | undefined;
934
+ enabledChunkLoadingTypes?: string[] | undefined;
935
+ chunkFilename?: string | undefined;
936
+ cssChunkFilename?: string | undefined;
937
+ cssFilename?: string | undefined;
938
+ hotUpdateChunkFilename?: string | undefined;
939
+ hotUpdateMainFilename?: string | undefined;
940
+ webassemblyModuleFilename?: string | undefined;
941
+ hashSalt?: string | undefined;
942
+ filename?: string | undefined;
943
+ sourceMapFilename?: string | undefined;
944
+ importFunctionName?: string | undefined;
945
+ publicPath?: string | undefined;
946
+ uniqueName?: string | undefined;
947
+ path?: string | undefined;
948
+ crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
949
+ enabledWasmLoadingTypes?: ("..." | "fetch-streaming" | "fetch" | "async-node")[] | undefined;
950
+ wasmLoading?: false | "..." | "fetch-streaming" | "fetch" | "async-node" | undefined;
951
+ enabledLibraryTypes?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | ("..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties")[] | undefined;
952
+ globalObject?: string | undefined;
953
+ libraryExport?: string | string[] | undefined;
954
+ libraryTarget?: "..." | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "jsonp" | "system" | "assign-properties" | undefined;
955
+ hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
956
+ module?: any;
957
+ strictModuleErrorHandling?: any;
958
+ umdNamedDefine?: any;
959
+ chunkLoadingGlobal?: any;
960
+ trustedTypes?: any;
961
+ hashDigest?: any;
962
+ hashDigestLength?: any;
963
+ library?: any;
964
+ } | undefined;
965
+ resolve?: any;
966
+ plugins?: any;
967
+ builtins?: Record<string, any> | undefined;
968
+ module?: any;
969
+ }>;
970
+ //# sourceMappingURL=index.d.ts.map