@rspack/core 0.3.1 → 0.3.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 (228) hide show
  1. package/dist/Compilation.d.ts.map +1 -1
  2. package/dist/Compilation.js +2 -0
  3. package/dist/Compilation.js.map +1 -1
  4. package/dist/Compiler.d.ts +3 -0
  5. package/dist/Compiler.d.ts.map +1 -1
  6. package/dist/Compiler.js +75 -31
  7. package/dist/Compiler.js.map +1 -1
  8. package/dist/Stats.d.ts +1 -1
  9. package/dist/Stats.d.ts.map +1 -1
  10. package/dist/Stats.js +2 -1
  11. package/dist/Stats.js.map +1 -1
  12. package/dist/builtin-plugin/BannerPlugin.d.ts +20 -0
  13. package/dist/builtin-plugin/BannerPlugin.d.ts.map +1 -0
  14. package/dist/builtin-plugin/BannerPlugin.js +43 -0
  15. package/dist/builtin-plugin/BannerPlugin.js.map +1 -0
  16. package/dist/builtin-plugin/CopyPlugin.d.ts +13 -0
  17. package/dist/builtin-plugin/CopyPlugin.d.ts.map +1 -0
  18. package/dist/builtin-plugin/CopyPlugin.js +21 -0
  19. package/dist/builtin-plugin/CopyPlugin.js.map +1 -0
  20. package/dist/builtin-plugin/DefinePlugin.d.ts +8 -0
  21. package/dist/builtin-plugin/DefinePlugin.d.ts.map +1 -0
  22. package/dist/builtin-plugin/DefinePlugin.js +13 -0
  23. package/dist/builtin-plugin/DefinePlugin.js.map +1 -0
  24. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +7 -0
  25. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts.map +1 -0
  26. package/dist/builtin-plugin/ElectronTargetPlugin.js +5 -0
  27. package/dist/builtin-plugin/ElectronTargetPlugin.js.map +1 -0
  28. package/dist/builtin-plugin/EntryPlugin.d.ts +18 -0
  29. package/dist/builtin-plugin/EntryPlugin.d.ts.map +1 -0
  30. package/dist/builtin-plugin/EntryPlugin.js +24 -0
  31. package/dist/builtin-plugin/EntryPlugin.js.map +1 -0
  32. package/dist/builtin-plugin/ExternalsPlugin.d.ts +24 -0
  33. package/dist/builtin-plugin/ExternalsPlugin.d.ts.map +1 -0
  34. package/dist/builtin-plugin/ExternalsPlugin.js +63 -0
  35. package/dist/builtin-plugin/ExternalsPlugin.js.map +1 -0
  36. package/dist/builtin-plugin/HtmlPlugin.d.ts +72 -0
  37. package/dist/builtin-plugin/HtmlPlugin.d.ts.map +1 -0
  38. package/dist/builtin-plugin/HtmlPlugin.js +39 -0
  39. package/dist/builtin-plugin/HtmlPlugin.js.map +1 -0
  40. package/dist/builtin-plugin/HttpExternalsPlugin.d.ts +8 -0
  41. package/dist/builtin-plugin/HttpExternalsPlugin.d.ts.map +1 -0
  42. package/dist/builtin-plugin/HttpExternalsPlugin.js +9 -0
  43. package/dist/builtin-plugin/HttpExternalsPlugin.js.map +1 -0
  44. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +7 -0
  45. package/dist/builtin-plugin/NodeTargetPlugin.d.ts.map +1 -0
  46. package/dist/builtin-plugin/NodeTargetPlugin.js +5 -0
  47. package/dist/builtin-plugin/NodeTargetPlugin.js.map +1 -0
  48. package/dist/builtin-plugin/ProgressPlugin.d.ts +9 -0
  49. package/dist/builtin-plugin/ProgressPlugin.d.ts.map +1 -0
  50. package/dist/builtin-plugin/ProgressPlugin.js +5 -0
  51. package/dist/builtin-plugin/ProgressPlugin.js.map +1 -0
  52. package/dist/builtin-plugin/ProvidePlugin.d.ts +8 -0
  53. package/dist/builtin-plugin/ProvidePlugin.d.ts.map +1 -0
  54. package/dist/builtin-plugin/ProvidePlugin.js +13 -0
  55. package/dist/builtin-plugin/ProvidePlugin.js.map +1 -0
  56. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +7 -0
  57. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts.map +1 -0
  58. package/dist/builtin-plugin/SwcCssMinimizerPlugin.js +5 -0
  59. package/dist/builtin-plugin/SwcCssMinimizerPlugin.js.map +1 -0
  60. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +22 -0
  61. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts.map +1 -0
  62. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +46 -0
  63. package/dist/builtin-plugin/SwcJsMinimizerPlugin.js.map +1 -0
  64. package/dist/builtin-plugin/base.d.ts +28 -0
  65. package/dist/builtin-plugin/base.d.ts.map +1 -0
  66. package/dist/builtin-plugin/base.js +43 -0
  67. package/dist/builtin-plugin/base.js.map +1 -0
  68. package/dist/builtin-plugin/index.d.ts +65 -0
  69. package/dist/builtin-plugin/index.d.ts.map +1 -0
  70. package/dist/builtin-plugin/index.js +240 -0
  71. package/dist/builtin-plugin/index.js.map +1 -0
  72. package/dist/config/adapter.d.ts +2 -1
  73. package/dist/config/adapter.d.ts.map +1 -1
  74. package/dist/config/adapter.js +70 -101
  75. package/dist/config/adapter.js.map +1 -1
  76. package/dist/config/adapterRuleUse.d.ts +1 -1
  77. package/dist/config/adapterRuleUse.d.ts.map +1 -1
  78. package/dist/config/defaults.d.ts +1 -1
  79. package/dist/config/defaults.d.ts.map +1 -1
  80. package/dist/config/defaults.js +13 -34
  81. package/dist/config/defaults.js.map +1 -1
  82. package/dist/config/index.d.ts +1 -2
  83. package/dist/config/index.d.ts.map +1 -1
  84. package/dist/config/index.js +1 -32
  85. package/dist/config/index.js.map +1 -1
  86. package/dist/config/normalization.d.ts +103 -1
  87. package/dist/config/normalization.d.ts.map +1 -1
  88. package/dist/config/normalization.js +3 -3
  89. package/dist/config/normalization.js.map +1 -1
  90. package/dist/config/target.d.ts +5 -1
  91. package/dist/config/target.d.ts.map +1 -1
  92. package/dist/config/target.js +4 -0
  93. package/dist/config/target.js.map +1 -1
  94. package/dist/config/zod.d.ts +3929 -0
  95. package/dist/config/zod.d.ts.map +1 -0
  96. package/dist/config/zod.js +648 -0
  97. package/dist/config/zod.js.map +1 -0
  98. package/dist/index.d.ts +20 -0
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +14 -1
  101. package/dist/index.js.map +1 -1
  102. package/dist/lib/EntryOptionPlugin.d.ts +16 -0
  103. package/dist/lib/EntryOptionPlugin.d.ts.map +1 -0
  104. package/dist/lib/EntryOptionPlugin.js +75 -0
  105. package/dist/lib/EntryOptionPlugin.js.map +1 -0
  106. package/dist/lib/EnvironmentPlugin.d.ts.map +1 -1
  107. package/dist/lib/EnvironmentPlugin.js +2 -7
  108. package/dist/lib/EnvironmentPlugin.js.map +1 -1
  109. package/dist/loader-runner/index.js.map +1 -1
  110. package/dist/rspack.d.ts.map +1 -1
  111. package/dist/rspack.js +2 -6
  112. package/dist/rspack.js.map +1 -1
  113. package/dist/rspackOptionsApply.d.ts.map +1 -1
  114. package/dist/rspackOptionsApply.js +52 -10
  115. package/dist/rspackOptionsApply.js.map +1 -1
  116. package/dist/stats/DefaultStatsFactoryPlugin.d.ts.map +1 -1
  117. package/dist/stats/DefaultStatsFactoryPlugin.js +1 -1
  118. package/dist/stats/DefaultStatsFactoryPlugin.js.map +1 -1
  119. package/dist/util/comparators.d.ts +1 -1
  120. package/dist/util/index.d.ts +10 -0
  121. package/dist/util/index.d.ts.map +1 -1
  122. package/dist/util/index.js +13 -1
  123. package/dist/util/index.js.map +1 -1
  124. package/dist/util/validate.d.ts +2 -0
  125. package/dist/util/validate.d.ts.map +1 -0
  126. package/dist/util/validate.js +32 -0
  127. package/dist/util/validate.js.map +1 -0
  128. package/package.json +9 -9
  129. package/dist/config/builtins.d.ts +0 -99
  130. package/dist/config/builtins.d.ts.map +0 -1
  131. package/dist/config/builtins.js +0 -356
  132. package/dist/config/builtins.js.map +0 -1
  133. package/dist/config/schema.check.d.ts +0 -10
  134. package/dist/config/schema.check.d.ts.map +0 -1
  135. package/dist/config/schema.check.js +0 -10576
  136. package/dist/config/schema.check.js.map +0 -1
  137. package/dist/config/schema.d.ts +0 -2717
  138. package/dist/config/schema.d.ts.map +0 -1
  139. package/dist/config/schema.js +0 -2200
  140. package/dist/config/schema.js.map +0 -1
  141. package/dist/config/types.d.ts +0 -484
  142. package/dist/config/types.d.ts.map +0 -1
  143. package/dist/config/types.js +0 -11
  144. package/dist/config/types.js.map +0 -1
  145. package/dist/config/zod/_rewrite.d.ts +0 -12
  146. package/dist/config/zod/_rewrite.d.ts.map +0 -1
  147. package/dist/config/zod/_rewrite.js +0 -2
  148. package/dist/config/zod/_rewrite.js.map +0 -1
  149. package/dist/config/zod/builtins.d.ts +0 -167
  150. package/dist/config/zod/builtins.d.ts.map +0 -1
  151. package/dist/config/zod/builtins.js +0 -47
  152. package/dist/config/zod/builtins.js.map +0 -1
  153. package/dist/config/zod/devtool.d.ts +0 -2
  154. package/dist/config/zod/devtool.d.ts.map +0 -1
  155. package/dist/config/zod/devtool.js +0 -34
  156. package/dist/config/zod/devtool.js.map +0 -1
  157. package/dist/config/zod/entry.d.ts +0 -29
  158. package/dist/config/zod/entry.d.ts.map +0 -1
  159. package/dist/config/zod/entry.js +0 -35
  160. package/dist/config/zod/entry.js.map +0 -1
  161. package/dist/config/zod/experiments.d.ts +0 -38
  162. package/dist/config/zod/experiments.d.ts.map +0 -1
  163. package/dist/config/zod/experiments.js +0 -21
  164. package/dist/config/zod/experiments.js.map +0 -1
  165. package/dist/config/zod/externals-presets.d.ts +0 -23
  166. package/dist/config/zod/externals-presets.d.ts.map +0 -1
  167. package/dist/config/zod/externals-presets.js +0 -17
  168. package/dist/config/zod/externals-presets.js.map +0 -1
  169. package/dist/config/zod/externals-type.d.ts +0 -2
  170. package/dist/config/zod/externals-type.d.ts.map +0 -1
  171. package/dist/config/zod/externals-type.js +0 -30
  172. package/dist/config/zod/externals-type.js.map +0 -1
  173. package/dist/config/zod/externals.d.ts +0 -2
  174. package/dist/config/zod/externals.d.ts.map +0 -1
  175. package/dist/config/zod/externals.js +0 -13
  176. package/dist/config/zod/externals.js.map +0 -1
  177. package/dist/config/zod/index.d.ts +0 -1708
  178. package/dist/config/zod/index.d.ts.map +0 -1
  179. package/dist/config/zod/index.js +0 -58
  180. package/dist/config/zod/index.js.map +0 -1
  181. package/dist/config/zod/infrastructure-logging.d.ts +0 -23
  182. package/dist/config/zod/infrastructure-logging.d.ts.map +0 -1
  183. package/dist/config/zod/infrastructure-logging.js +0 -19
  184. package/dist/config/zod/infrastructure-logging.js.map +0 -1
  185. package/dist/config/zod/module.d.ts +0 -0
  186. package/dist/config/zod/module.d.ts.map +0 -1
  187. package/dist/config/zod/module.js +0 -1
  188. package/dist/config/zod/module.js.map +0 -1
  189. package/dist/config/zod/node.d.ts +0 -14
  190. package/dist/config/zod/node.d.ts.map +0 -1
  191. package/dist/config/zod/node.js +0 -23
  192. package/dist/config/zod/node.js.map +0 -1
  193. package/dist/config/zod/optimization/index.d.ts +0 -257
  194. package/dist/config/zod/optimization/index.d.ts.map +0 -1
  195. package/dist/config/zod/optimization/index.js +0 -32
  196. package/dist/config/zod/optimization/index.js.map +0 -1
  197. package/dist/config/zod/optimization/split-chunks.d.ts +0 -184
  198. package/dist/config/zod/optimization/split-chunks.d.ts.map +0 -1
  199. package/dist/config/zod/optimization/split-chunks.js +0 -48
  200. package/dist/config/zod/optimization/split-chunks.js.map +0 -1
  201. package/dist/config/zod/output.d.ts +0 -275
  202. package/dist/config/zod/output.d.ts.map +0 -1
  203. package/dist/config/zod/output.js +0 -132
  204. package/dist/config/zod/output.js.map +0 -1
  205. package/dist/config/zod/plugins.d.ts +0 -12
  206. package/dist/config/zod/plugins.d.ts.map +0 -1
  207. package/dist/config/zod/plugins.js +0 -18
  208. package/dist/config/zod/plugins.js.map +0 -1
  209. package/dist/config/zod/resolve.d.ts +0 -49
  210. package/dist/config/zod/resolve.d.ts.map +0 -1
  211. package/dist/config/zod/resolve.js +0 -29
  212. package/dist/config/zod/resolve.js.map +0 -1
  213. package/dist/config/zod/snapshot.d.ts +0 -41
  214. package/dist/config/zod/snapshot.d.ts.map +0 -1
  215. package/dist/config/zod/snapshot.js +0 -21
  216. package/dist/config/zod/snapshot.js.map +0 -1
  217. package/dist/config/zod/stats.d.ts +0 -71
  218. package/dist/config/zod/stats.d.ts.map +0 -1
  219. package/dist/config/zod/stats.js +0 -36
  220. package/dist/config/zod/stats.js.map +0 -1
  221. package/dist/config/zod/target.d.ts +0 -2
  222. package/dist/config/zod/target.d.ts.map +0 -1
  223. package/dist/config/zod/target.js +0 -39
  224. package/dist/config/zod/target.js.map +0 -1
  225. package/dist/config/zod/watch-options.d.ts +0 -20
  226. package/dist/config/zod/watch-options.d.ts.map +0 -1
  227. package/dist/config/zod/watch-options.js +0 -21
  228. package/dist/config/zod/watch-options.js.map +0 -1
@@ -1,1708 +0,0 @@
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.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>]>, z.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.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022", "browserslist"]>, z.ZodLiteral<"node">]>, z.ZodLiteral<"async-node">]>, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>]>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>]>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>]>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>]>, z.ZodLiteral<"electron-main">]>, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>]>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>]>, z.ZodLiteral<"electron-renderer">]>, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>]>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>]>, z.ZodLiteral<"electron-preload">]>, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>]>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>]>, "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
- publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
9
- baseUri: z.ZodOptional<z.ZodString>;
10
- chunkLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodOptional<z.ZodUnion<[z.ZodEnum<["jsonp", "require", "async-node", "import", "import-scripts"]>, z.ZodString]>>]>;
11
- asyncChunks: z.ZodOptional<z.ZodBoolean>;
12
- wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>]>>;
13
- filename: z.ZodOptional<z.ZodString>;
14
- }, "strict", z.ZodTypeAny, {
15
- import: (string | string[]) & (string | string[] | undefined);
16
- runtime?: string | false | undefined;
17
- publicPath?: string | undefined;
18
- baseUri?: string | undefined;
19
- chunkLoading?: string | false | undefined;
20
- asyncChunks?: boolean | undefined;
21
- wasmLoading?: false | "async-node" | "fetch-streaming" | "fetch" | undefined;
22
- filename?: string | undefined;
23
- }, {
24
- import: (string | string[]) & (string | string[] | undefined);
25
- runtime?: string | false | undefined;
26
- publicPath?: string | undefined;
27
- baseUri?: string | undefined;
28
- chunkLoading?: string | false | undefined;
29
- asyncChunks?: boolean | undefined;
30
- wasmLoading?: false | "async-node" | "fetch-streaming" | "fetch" | undefined;
31
- filename?: string | undefined;
32
- }>]>>]>>;
33
- experiments: z.ZodOptional<z.ZodObject<{
34
- asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
35
- incrementalRebuild: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
36
- make: z.ZodOptional<z.ZodBoolean>;
37
- emitAsset: z.ZodOptional<z.ZodBoolean>;
38
- }, "strict", z.ZodTypeAny, {
39
- make?: boolean | undefined;
40
- emitAsset?: boolean | undefined;
41
- }, {
42
- make?: boolean | undefined;
43
- emitAsset?: boolean | undefined;
44
- }>]>>;
45
- lazyCompilation: z.ZodOptional<z.ZodBoolean>;
46
- outputModule: z.ZodOptional<z.ZodBoolean>;
47
- newSplitChunks: z.ZodOptional<z.ZodBoolean>;
48
- css: z.ZodOptional<z.ZodBoolean>;
49
- }, "strip", z.ZodTypeAny, {
50
- asyncWebAssembly?: boolean | undefined;
51
- incrementalRebuild?: boolean | {
52
- make?: boolean | undefined;
53
- emitAsset?: boolean | undefined;
54
- } | undefined;
55
- lazyCompilation?: boolean | undefined;
56
- outputModule?: boolean | undefined;
57
- newSplitChunks?: boolean | undefined;
58
- css?: boolean | undefined;
59
- }, {
60
- asyncWebAssembly?: boolean | undefined;
61
- incrementalRebuild?: boolean | {
62
- make?: boolean | undefined;
63
- emitAsset?: boolean | undefined;
64
- } | undefined;
65
- lazyCompilation?: boolean | undefined;
66
- outputModule?: boolean | undefined;
67
- newSplitChunks?: boolean | undefined;
68
- css?: boolean | undefined;
69
- }>>;
70
- 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">]>>;
71
- 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"]>>;
72
- externalsPresets: z.ZodOptional<z.ZodObject<{
73
- web: z.ZodOptional<z.ZodBoolean>;
74
- node: z.ZodOptional<z.ZodBoolean>;
75
- electron: z.ZodOptional<z.ZodBoolean>;
76
- electronMain: z.ZodOptional<z.ZodBoolean>;
77
- electronPreload: z.ZodOptional<z.ZodBoolean>;
78
- electronRenderer: z.ZodOptional<z.ZodBoolean>;
79
- }, "strict", z.ZodTypeAny, {
80
- web?: boolean | undefined;
81
- node?: boolean | undefined;
82
- electron?: boolean | undefined;
83
- electronMain?: boolean | undefined;
84
- electronPreload?: boolean | undefined;
85
- electronRenderer?: boolean | undefined;
86
- }, {
87
- web?: boolean | undefined;
88
- node?: boolean | undefined;
89
- electron?: boolean | undefined;
90
- electronMain?: boolean | undefined;
91
- electronPreload?: boolean | undefined;
92
- electronRenderer?: boolean | undefined;
93
- }>>;
94
- infrastructureLogging: z.ZodOptional<z.ZodObject<{
95
- appendOnly: z.ZodOptional<z.ZodBoolean>;
96
- colors: z.ZodOptional<z.ZodBoolean>;
97
- console: z.ZodOptional<z.ZodBoolean>;
98
- debug: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodAny]>>;
99
- level: z.ZodOptional<z.ZodEnum<["none", "error", "warn", "info", "log", "verbose"]>>;
100
- stream: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>]>>;
101
- }, "strict", z.ZodTypeAny, {
102
- appendOnly?: boolean | undefined;
103
- colors?: boolean | undefined;
104
- console?: boolean | undefined;
105
- debug?: any;
106
- level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
107
- stream?: boolean | {} | undefined;
108
- }, {
109
- appendOnly?: boolean | undefined;
110
- colors?: boolean | undefined;
111
- console?: boolean | undefined;
112
- debug?: any;
113
- level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
114
- stream?: boolean | {} | undefined;
115
- }>>;
116
- cache: z.ZodOptional<z.ZodBoolean>;
117
- context: z.ZodOptional<z.ZodString>;
118
- dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
119
- 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"]>]>>;
120
- node: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
121
- __dirname: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
122
- __filename: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn-mock", "mock", "eval-only"]>]>>;
123
- global: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["warn"]>]>>;
124
- }, "strict", z.ZodTypeAny, {
125
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
126
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
127
- global?: boolean | "warn" | undefined;
128
- }, {
129
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
130
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
131
- global?: boolean | "warn" | undefined;
132
- }>]>>;
133
- ignoreWarnings: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>, "many">>;
134
- watchOptions: z.ZodOptional<z.ZodObject<{
135
- aggregateTimeout: z.ZodOptional<z.ZodNumber>;
136
- followSymlinks: z.ZodOptional<z.ZodBoolean>;
137
- ignored: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodString]>>;
138
- poll: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
139
- stdin: z.ZodOptional<z.ZodBoolean>;
140
- }, "strict", z.ZodTypeAny, {
141
- aggregateTimeout?: number | undefined;
142
- followSymlinks?: boolean | undefined;
143
- ignored?: string | RegExp | string[] | undefined;
144
- poll?: number | boolean | undefined;
145
- stdin?: boolean | undefined;
146
- }, {
147
- aggregateTimeout?: number | undefined;
148
- followSymlinks?: boolean | undefined;
149
- ignored?: string | RegExp | string[] | undefined;
150
- poll?: number | boolean | undefined;
151
- stdin?: boolean | undefined;
152
- }>>;
153
- watch: z.ZodOptional<z.ZodBoolean>;
154
- stats: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-only", "errors-warnings", "normal", "verbose"]>, z.ZodBoolean]>, z.ZodObject<{
155
- all: z.ZodOptional<z.ZodBoolean>;
156
- assets: z.ZodOptional<z.ZodBoolean>;
157
- chunkGroups: z.ZodOptional<z.ZodBoolean>;
158
- chunks: z.ZodOptional<z.ZodBoolean>;
159
- colors: z.ZodOptional<z.ZodBoolean>;
160
- entrypoints: z.ZodOptional<z.ZodBoolean>;
161
- errors: z.ZodOptional<z.ZodBoolean>;
162
- errorsCount: z.ZodOptional<z.ZodBoolean>;
163
- hash: z.ZodOptional<z.ZodBoolean>;
164
- modules: z.ZodOptional<z.ZodBoolean>;
165
- preset: z.ZodOptional<z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings"]>>;
166
- publicPath: z.ZodOptional<z.ZodBoolean>;
167
- reasons: z.ZodOptional<z.ZodBoolean>;
168
- warnings: z.ZodOptional<z.ZodBoolean>;
169
- warningsCount: z.ZodOptional<z.ZodBoolean>;
170
- outputPath: z.ZodOptional<z.ZodBoolean>;
171
- chunkModules: z.ZodOptional<z.ZodBoolean>;
172
- chunkRelations: z.ZodOptional<z.ZodBoolean>;
173
- timings: z.ZodOptional<z.ZodBoolean>;
174
- builtAt: z.ZodOptional<z.ZodBoolean>;
175
- nestedModules: z.ZodOptional<z.ZodBoolean>;
176
- source: z.ZodOptional<z.ZodBoolean>;
177
- }, "strip", z.ZodTypeAny, {
178
- all?: boolean | undefined;
179
- assets?: boolean | undefined;
180
- chunkGroups?: boolean | undefined;
181
- chunks?: boolean | undefined;
182
- colors?: boolean | undefined;
183
- entrypoints?: boolean | undefined;
184
- errors?: boolean | undefined;
185
- errorsCount?: boolean | undefined;
186
- hash?: boolean | undefined;
187
- modules?: boolean | undefined;
188
- preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
189
- publicPath?: boolean | undefined;
190
- reasons?: boolean | undefined;
191
- warnings?: boolean | undefined;
192
- warningsCount?: boolean | undefined;
193
- outputPath?: boolean | undefined;
194
- chunkModules?: boolean | undefined;
195
- chunkRelations?: boolean | undefined;
196
- timings?: boolean | undefined;
197
- builtAt?: boolean | undefined;
198
- nestedModules?: boolean | undefined;
199
- source?: boolean | undefined;
200
- }, {
201
- all?: boolean | undefined;
202
- assets?: boolean | undefined;
203
- chunkGroups?: boolean | undefined;
204
- chunks?: boolean | undefined;
205
- colors?: boolean | undefined;
206
- entrypoints?: boolean | undefined;
207
- errors?: boolean | undefined;
208
- errorsCount?: boolean | undefined;
209
- hash?: boolean | undefined;
210
- modules?: boolean | undefined;
211
- preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
212
- publicPath?: boolean | undefined;
213
- reasons?: boolean | undefined;
214
- warnings?: boolean | undefined;
215
- warningsCount?: boolean | undefined;
216
- outputPath?: boolean | undefined;
217
- chunkModules?: boolean | undefined;
218
- chunkRelations?: boolean | undefined;
219
- timings?: boolean | undefined;
220
- builtAt?: boolean | undefined;
221
- nestedModules?: boolean | undefined;
222
- source?: boolean | undefined;
223
- }>]>>;
224
- snapshot: z.ZodOptional<z.ZodObject<{
225
- module: z.ZodOptional<z.ZodObject<{
226
- hash: z.ZodOptional<z.ZodBoolean>;
227
- timestamp: z.ZodOptional<z.ZodBoolean>;
228
- }, "strict", z.ZodTypeAny, {
229
- hash?: boolean | undefined;
230
- timestamp?: boolean | undefined;
231
- }, {
232
- hash?: boolean | undefined;
233
- timestamp?: boolean | undefined;
234
- }>>;
235
- resolve: z.ZodOptional<z.ZodObject<{
236
- hash: z.ZodOptional<z.ZodBoolean>;
237
- timestamp: z.ZodOptional<z.ZodBoolean>;
238
- }, "strict", z.ZodTypeAny, {
239
- hash?: boolean | undefined;
240
- timestamp?: boolean | undefined;
241
- }, {
242
- hash?: boolean | undefined;
243
- timestamp?: boolean | undefined;
244
- }>>;
245
- }, "strict", z.ZodTypeAny, {
246
- module?: {
247
- hash?: boolean | undefined;
248
- timestamp?: boolean | undefined;
249
- } | undefined;
250
- resolve?: {
251
- hash?: boolean | undefined;
252
- timestamp?: boolean | undefined;
253
- } | undefined;
254
- }, {
255
- module?: {
256
- hash?: boolean | undefined;
257
- timestamp?: boolean | undefined;
258
- } | undefined;
259
- resolve?: {
260
- hash?: boolean | undefined;
261
- timestamp?: boolean | undefined;
262
- } | undefined;
263
- }>>;
264
- optimization: z.ZodOptional<z.ZodObject<{
265
- moduleIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
266
- chunkIds: z.ZodOptional<z.ZodEnum<["named", "deterministic"]>>;
267
- minimize: z.ZodOptional<z.ZodBoolean>;
268
- minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodObject<{
269
- apply: z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>;
270
- }, "strip", z.ZodTypeAny, {
271
- apply: (...args: unknown[]) => unknown;
272
- }, {
273
- apply: (...args: unknown[]) => unknown;
274
- }>]>, "many">>;
275
- splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
276
- chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
277
- minChunks: z.ZodOptional<z.ZodNumber>;
278
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
279
- minSize: z.ZodOptional<z.ZodNumber>;
280
- maxSize: z.ZodOptional<z.ZodNumber>;
281
- maxAsyncSize: z.ZodOptional<z.ZodNumber>;
282
- maxInitialSize: z.ZodOptional<z.ZodNumber>;
283
- cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
284
- chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
285
- minChunks: z.ZodOptional<z.ZodNumber>;
286
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
287
- minSize: z.ZodOptional<z.ZodNumber>;
288
- maxSize: z.ZodOptional<z.ZodNumber>;
289
- maxAsyncSize: z.ZodOptional<z.ZodNumber>;
290
- maxInitialSize: z.ZodOptional<z.ZodNumber>;
291
- test: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
292
- priority: z.ZodOptional<z.ZodNumber>;
293
- enforce: z.ZodOptional<z.ZodBoolean>;
294
- reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
295
- type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
296
- idHint: z.ZodOptional<z.ZodString>;
297
- }, "strict", z.ZodTypeAny, {
298
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
299
- minChunks?: number | undefined;
300
- name?: string | false | undefined;
301
- minSize?: number | undefined;
302
- maxSize?: number | undefined;
303
- maxAsyncSize?: number | undefined;
304
- maxInitialSize?: number | undefined;
305
- test?: RegExp | undefined;
306
- priority?: number | undefined;
307
- enforce?: boolean | undefined;
308
- reuseExistingChunk?: boolean | undefined;
309
- type?: string | RegExp | undefined;
310
- idHint?: string | undefined;
311
- }, {
312
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
313
- minChunks?: number | undefined;
314
- name?: string | false | undefined;
315
- minSize?: number | undefined;
316
- maxSize?: number | undefined;
317
- maxAsyncSize?: number | undefined;
318
- maxInitialSize?: number | undefined;
319
- test?: RegExp | undefined;
320
- priority?: number | undefined;
321
- enforce?: boolean | undefined;
322
- reuseExistingChunk?: boolean | undefined;
323
- type?: string | RegExp | undefined;
324
- idHint?: string | undefined;
325
- }>]>>>;
326
- maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
327
- maxInitialRequests: z.ZodOptional<z.ZodNumber>;
328
- fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
329
- chunks: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
330
- minSize: z.ZodOptional<z.ZodNumber>;
331
- maxSize: z.ZodOptional<z.ZodNumber>;
332
- maxAsyncSize: z.ZodOptional<z.ZodNumber>;
333
- maxInitialSize: z.ZodOptional<z.ZodNumber>;
334
- }, "strict", z.ZodTypeAny, {
335
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
336
- minSize?: number | undefined;
337
- maxSize?: number | undefined;
338
- maxAsyncSize?: number | undefined;
339
- maxInitialSize?: number | undefined;
340
- }, {
341
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
342
- minSize?: number | undefined;
343
- maxSize?: number | undefined;
344
- maxAsyncSize?: number | undefined;
345
- maxInitialSize?: number | undefined;
346
- }>>;
347
- }, "strip", z.ZodTypeAny, {
348
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
349
- minChunks?: number | undefined;
350
- name?: string | false | undefined;
351
- minSize?: number | undefined;
352
- maxSize?: number | undefined;
353
- maxAsyncSize?: number | undefined;
354
- maxInitialSize?: number | undefined;
355
- cacheGroups?: Record<string, false | {
356
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
357
- minChunks?: number | undefined;
358
- name?: string | false | undefined;
359
- minSize?: number | undefined;
360
- maxSize?: number | undefined;
361
- maxAsyncSize?: number | undefined;
362
- maxInitialSize?: number | undefined;
363
- test?: RegExp | undefined;
364
- priority?: number | undefined;
365
- enforce?: boolean | undefined;
366
- reuseExistingChunk?: boolean | undefined;
367
- type?: string | RegExp | undefined;
368
- idHint?: string | undefined;
369
- }> | undefined;
370
- maxAsyncRequests?: number | undefined;
371
- maxInitialRequests?: number | undefined;
372
- fallbackCacheGroup?: {
373
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
374
- minSize?: number | undefined;
375
- maxSize?: number | undefined;
376
- maxAsyncSize?: number | undefined;
377
- maxInitialSize?: number | undefined;
378
- } | undefined;
379
- }, {
380
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
381
- minChunks?: number | undefined;
382
- name?: string | false | undefined;
383
- minSize?: number | undefined;
384
- maxSize?: number | undefined;
385
- maxAsyncSize?: number | undefined;
386
- maxInitialSize?: number | undefined;
387
- cacheGroups?: Record<string, false | {
388
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
389
- minChunks?: number | undefined;
390
- name?: string | false | undefined;
391
- minSize?: number | undefined;
392
- maxSize?: number | undefined;
393
- maxAsyncSize?: number | undefined;
394
- maxInitialSize?: number | undefined;
395
- test?: RegExp | undefined;
396
- priority?: number | undefined;
397
- enforce?: boolean | undefined;
398
- reuseExistingChunk?: boolean | undefined;
399
- type?: string | RegExp | undefined;
400
- idHint?: string | undefined;
401
- }> | undefined;
402
- maxAsyncRequests?: number | undefined;
403
- maxInitialRequests?: number | undefined;
404
- fallbackCacheGroup?: {
405
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
406
- minSize?: number | undefined;
407
- maxSize?: number | undefined;
408
- maxAsyncSize?: number | undefined;
409
- maxInitialSize?: number | undefined;
410
- } | undefined;
411
- }>]>>;
412
- runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
413
- name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodString, z.ZodUndefined]>>]>>;
414
- }, "strict", z.ZodTypeAny, {
415
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
416
- }, {
417
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
418
- }>]>>;
419
- removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
420
- removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
421
- realContentHash: z.ZodOptional<z.ZodBoolean>;
422
- sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
423
- }, "strict", z.ZodTypeAny, {
424
- moduleIds?: "named" | "deterministic" | undefined;
425
- chunkIds?: "named" | "deterministic" | undefined;
426
- minimize?: boolean | undefined;
427
- minimizer?: ("..." | {
428
- apply: (...args: unknown[]) => unknown;
429
- })[] | undefined;
430
- splitChunks?: false | {
431
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
432
- minChunks?: number | undefined;
433
- name?: string | false | undefined;
434
- minSize?: number | undefined;
435
- maxSize?: number | undefined;
436
- maxAsyncSize?: number | undefined;
437
- maxInitialSize?: number | undefined;
438
- cacheGroups?: Record<string, false | {
439
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
440
- minChunks?: number | undefined;
441
- name?: string | false | undefined;
442
- minSize?: number | undefined;
443
- maxSize?: number | undefined;
444
- maxAsyncSize?: number | undefined;
445
- maxInitialSize?: number | undefined;
446
- test?: RegExp | undefined;
447
- priority?: number | undefined;
448
- enforce?: boolean | undefined;
449
- reuseExistingChunk?: boolean | undefined;
450
- type?: string | RegExp | undefined;
451
- idHint?: string | undefined;
452
- }> | undefined;
453
- maxAsyncRequests?: number | undefined;
454
- maxInitialRequests?: number | undefined;
455
- fallbackCacheGroup?: {
456
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
457
- minSize?: number | undefined;
458
- maxSize?: number | undefined;
459
- maxAsyncSize?: number | undefined;
460
- maxInitialSize?: number | undefined;
461
- } | undefined;
462
- } | undefined;
463
- runtimeChunk?: boolean | "single" | "multiple" | {
464
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
465
- } | undefined;
466
- removeAvailableModules?: boolean | undefined;
467
- removeEmptyChunks?: boolean | undefined;
468
- realContentHash?: boolean | undefined;
469
- sideEffects?: boolean | "flag" | undefined;
470
- }, {
471
- moduleIds?: "named" | "deterministic" | undefined;
472
- chunkIds?: "named" | "deterministic" | undefined;
473
- minimize?: boolean | undefined;
474
- minimizer?: ("..." | {
475
- apply: (...args: unknown[]) => unknown;
476
- })[] | undefined;
477
- splitChunks?: false | {
478
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
479
- minChunks?: number | undefined;
480
- name?: string | false | undefined;
481
- minSize?: number | undefined;
482
- maxSize?: number | undefined;
483
- maxAsyncSize?: number | undefined;
484
- maxInitialSize?: number | undefined;
485
- cacheGroups?: Record<string, false | {
486
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
487
- minChunks?: number | undefined;
488
- name?: string | false | undefined;
489
- minSize?: number | undefined;
490
- maxSize?: number | undefined;
491
- maxAsyncSize?: number | undefined;
492
- maxInitialSize?: number | undefined;
493
- test?: RegExp | undefined;
494
- priority?: number | undefined;
495
- enforce?: boolean | undefined;
496
- reuseExistingChunk?: boolean | undefined;
497
- type?: string | RegExp | undefined;
498
- idHint?: string | undefined;
499
- }> | undefined;
500
- maxAsyncRequests?: number | undefined;
501
- maxInitialRequests?: number | undefined;
502
- fallbackCacheGroup?: {
503
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
504
- minSize?: number | undefined;
505
- maxSize?: number | undefined;
506
- maxAsyncSize?: number | undefined;
507
- maxInitialSize?: number | undefined;
508
- } | undefined;
509
- } | undefined;
510
- runtimeChunk?: boolean | "single" | "multiple" | {
511
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
512
- } | undefined;
513
- removeAvailableModules?: boolean | undefined;
514
- removeEmptyChunks?: boolean | undefined;
515
- realContentHash?: boolean | undefined;
516
- sideEffects?: boolean | "flag" | undefined;
517
- }>>;
518
- resolve: z.ZodOptional<z.ZodType<{
519
- alias?: Record<string, string | false | (string | false)[]> | undefined;
520
- browserField?: boolean | undefined;
521
- conditionNames?: string[] | undefined;
522
- extensions?: string[] | undefined;
523
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
524
- mainFields?: string[] | undefined;
525
- mainFiles?: string[] | undefined;
526
- modules?: string[] | undefined;
527
- preferRelative?: boolean | undefined;
528
- tsConfigPath?: string | undefined;
529
- fullySpecified?: boolean | undefined;
530
- exportsFields?: string[] | undefined;
531
- extensionAlias?: Record<string, string | string[]> | undefined;
532
- } & {
533
- byDependency?: Record<string, {
534
- alias?: Record<string, string | false | (string | false)[]> | undefined;
535
- browserField?: boolean | undefined;
536
- conditionNames?: string[] | undefined;
537
- extensions?: string[] | undefined;
538
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
539
- mainFields?: string[] | undefined;
540
- mainFiles?: string[] | undefined;
541
- modules?: string[] | undefined;
542
- preferRelative?: boolean | undefined;
543
- tsConfigPath?: string | undefined;
544
- fullySpecified?: boolean | undefined;
545
- exportsFields?: string[] | undefined;
546
- extensionAlias?: Record<string, string | string[]> | undefined;
547
- } & any> | undefined;
548
- }, z.ZodTypeDef, {
549
- alias?: Record<string, string | false | (string | false)[]> | undefined;
550
- browserField?: boolean | undefined;
551
- conditionNames?: string[] | undefined;
552
- extensions?: string[] | undefined;
553
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
554
- mainFields?: string[] | undefined;
555
- mainFiles?: string[] | undefined;
556
- modules?: string[] | undefined;
557
- preferRelative?: boolean | undefined;
558
- tsConfigPath?: string | undefined;
559
- fullySpecified?: boolean | undefined;
560
- exportsFields?: string[] | undefined;
561
- extensionAlias?: Record<string, string | string[]> | undefined;
562
- } & {
563
- byDependency?: Record<string, {
564
- alias?: Record<string, string | false | (string | false)[]> | undefined;
565
- browserField?: boolean | undefined;
566
- conditionNames?: string[] | undefined;
567
- extensions?: string[] | undefined;
568
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
569
- mainFields?: string[] | undefined;
570
- mainFiles?: string[] | undefined;
571
- modules?: string[] | undefined;
572
- preferRelative?: boolean | undefined;
573
- tsConfigPath?: string | undefined;
574
- fullySpecified?: boolean | undefined;
575
- exportsFields?: string[] | undefined;
576
- extensionAlias?: Record<string, string | string[]> | undefined;
577
- } & any> | undefined;
578
- }>>;
579
- resolveLoader: z.ZodOptional<z.ZodType<{
580
- alias?: Record<string, string | false | (string | false)[]> | undefined;
581
- browserField?: boolean | undefined;
582
- conditionNames?: string[] | undefined;
583
- extensions?: string[] | undefined;
584
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
585
- mainFields?: string[] | undefined;
586
- mainFiles?: string[] | undefined;
587
- modules?: string[] | undefined;
588
- preferRelative?: boolean | undefined;
589
- tsConfigPath?: string | undefined;
590
- fullySpecified?: boolean | undefined;
591
- exportsFields?: string[] | undefined;
592
- extensionAlias?: Record<string, string | string[]> | undefined;
593
- } & {
594
- byDependency?: Record<string, {
595
- alias?: Record<string, string | false | (string | false)[]> | undefined;
596
- browserField?: boolean | undefined;
597
- conditionNames?: string[] | undefined;
598
- extensions?: string[] | undefined;
599
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
600
- mainFields?: string[] | undefined;
601
- mainFiles?: string[] | undefined;
602
- modules?: string[] | undefined;
603
- preferRelative?: boolean | undefined;
604
- tsConfigPath?: string | undefined;
605
- fullySpecified?: boolean | undefined;
606
- exportsFields?: string[] | undefined;
607
- extensionAlias?: Record<string, string | string[]> | undefined;
608
- } & any> | undefined;
609
- }, z.ZodTypeDef, {
610
- alias?: Record<string, string | false | (string | false)[]> | undefined;
611
- browserField?: boolean | undefined;
612
- conditionNames?: string[] | undefined;
613
- extensions?: string[] | undefined;
614
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
615
- mainFields?: string[] | undefined;
616
- mainFiles?: string[] | undefined;
617
- modules?: string[] | undefined;
618
- preferRelative?: boolean | undefined;
619
- tsConfigPath?: string | undefined;
620
- fullySpecified?: boolean | undefined;
621
- exportsFields?: string[] | undefined;
622
- extensionAlias?: Record<string, string | string[]> | undefined;
623
- } & {
624
- byDependency?: Record<string, {
625
- alias?: Record<string, string | false | (string | false)[]> | undefined;
626
- browserField?: boolean | undefined;
627
- conditionNames?: string[] | undefined;
628
- extensions?: string[] | undefined;
629
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
630
- mainFields?: string[] | undefined;
631
- mainFiles?: string[] | undefined;
632
- modules?: string[] | undefined;
633
- preferRelative?: boolean | undefined;
634
- tsConfigPath?: string | undefined;
635
- fullySpecified?: boolean | undefined;
636
- exportsFields?: string[] | undefined;
637
- extensionAlias?: Record<string, string | string[]> | undefined;
638
- } & any> | undefined;
639
- }>>;
640
- plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodFunction<z.ZodTuple<[z.ZodType<import("../../Compiler").Compiler, z.ZodTypeDef, import("../../Compiler").Compiler>], z.ZodUnknown>, z.ZodVoid>, z.ZodObject<{
641
- name: z.ZodOptional<z.ZodString>;
642
- apply: z.ZodFunction<z.ZodTuple<[z.ZodType<import("../../Compiler").Compiler, z.ZodTypeDef, import("../../Compiler").Compiler>], z.ZodUnknown>, z.ZodVoid>;
643
- }, "strip", z.ZodTypeAny, {
644
- apply: (args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void;
645
- name?: string | undefined;
646
- }, {
647
- apply: (args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void;
648
- name?: string | undefined;
649
- }>]>, "many">>;
650
- name: z.ZodOptional<z.ZodString>;
651
- devServer: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
652
- output: z.ZodOptional<z.ZodObject<{
653
- iife: z.ZodOptional<z.ZodBoolean>;
654
- clean: z.ZodOptional<z.ZodBoolean>;
655
- assetModuleFilename: z.ZodOptional<z.ZodString>;
656
- auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
657
- amd: z.ZodOptional<z.ZodString>;
658
- commonjs: z.ZodOptional<z.ZodString>;
659
- commonjs2: z.ZodOptional<z.ZodString>;
660
- root: z.ZodOptional<z.ZodString>;
661
- }, "strict", z.ZodTypeAny, {
662
- amd?: string | undefined;
663
- commonjs?: string | undefined;
664
- commonjs2?: string | undefined;
665
- root?: string | undefined;
666
- }, {
667
- amd?: string | undefined;
668
- commonjs?: string | undefined;
669
- commonjs2?: string | undefined;
670
- root?: string | undefined;
671
- }>]>>;
672
- chunkFormat: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["array-push", "commonjs", "module"]>, z.ZodLiteral<false>]>>;
673
- chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
674
- enabledChunkLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">>;
675
- chunkFilename: z.ZodOptional<z.ZodString>;
676
- cssChunkFilename: z.ZodOptional<z.ZodString>;
677
- cssFilename: z.ZodOptional<z.ZodString>;
678
- hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
679
- hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
680
- webassemblyModuleFilename: z.ZodOptional<z.ZodString>;
681
- hashSalt: z.ZodOptional<z.ZodString>;
682
- filename: z.ZodOptional<z.ZodString>;
683
- sourceMapFilename: z.ZodOptional<z.ZodString>;
684
- importFunctionName: z.ZodOptional<z.ZodString>;
685
- publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodString]>>;
686
- uniqueName: z.ZodOptional<z.ZodString>;
687
- path: z.ZodOptional<z.ZodString>;
688
- crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
689
- enabledWasmLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<["...", "fetch-streaming", "fetch", "async-node"]>, "many">>;
690
- wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["...", "fetch-streaming", "fetch", "async-node"]>]>>;
691
- 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">]>>;
692
- globalObject: z.ZodOptional<z.ZodString>;
693
- libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
694
- 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"]>>;
695
- hashFunction: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnknown>]>>;
696
- module: z.ZodOptional<z.ZodAny>;
697
- strictModuleErrorHandling: z.ZodOptional<z.ZodBoolean>;
698
- umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
699
- chunkLoadingGlobal: z.ZodOptional<z.ZodString>;
700
- trustedTypes: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<true>, z.ZodString]>, z.ZodObject<{
701
- policyName: z.ZodOptional<z.ZodString>;
702
- }, "strict", z.ZodTypeAny, {
703
- policyName?: string | undefined;
704
- }, {
705
- policyName?: string | undefined;
706
- }>]>>;
707
- hashDigest: z.ZodOptional<z.ZodString>;
708
- hashDigestLength: z.ZodOptional<z.ZodNumber>;
709
- library: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
710
- amd: z.ZodOptional<z.ZodString>;
711
- commonjs: z.ZodOptional<z.ZodString>;
712
- root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
713
- }, "strict", z.ZodTypeAny, {
714
- amd?: string | undefined;
715
- commonjs?: string | undefined;
716
- root?: string | string[] | undefined;
717
- }, {
718
- amd?: string | undefined;
719
- commonjs?: string | undefined;
720
- root?: string | string[] | undefined;
721
- }>]>, z.ZodObject<{
722
- auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
723
- amd: z.ZodOptional<z.ZodString>;
724
- commonjs: z.ZodOptional<z.ZodString>;
725
- commonjs2: z.ZodOptional<z.ZodString>;
726
- root: z.ZodOptional<z.ZodString>;
727
- }, "strict", z.ZodTypeAny, {
728
- amd?: string | undefined;
729
- commonjs?: string | undefined;
730
- commonjs2?: string | undefined;
731
- root?: string | undefined;
732
- }, {
733
- amd?: string | undefined;
734
- commonjs?: string | undefined;
735
- commonjs2?: string | undefined;
736
- root?: string | undefined;
737
- }>]>>;
738
- export: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodString]>>;
739
- name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
740
- amd: z.ZodOptional<z.ZodString>;
741
- commonjs: z.ZodOptional<z.ZodString>;
742
- root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
743
- }, "strict", z.ZodTypeAny, {
744
- amd?: string | undefined;
745
- commonjs?: string | undefined;
746
- root?: string | string[] | undefined;
747
- }, {
748
- amd?: string | undefined;
749
- commonjs?: string | undefined;
750
- root?: string | string[] | undefined;
751
- }>]>>;
752
- type: 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"]>>;
753
- umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
754
- }, "strict", z.ZodTypeAny, {
755
- auxiliaryComment?: string | {
756
- amd?: string | undefined;
757
- commonjs?: string | undefined;
758
- commonjs2?: string | undefined;
759
- root?: string | undefined;
760
- } | undefined;
761
- export?: string | string[] | undefined;
762
- name?: string | string[] | {
763
- amd?: string | undefined;
764
- commonjs?: string | undefined;
765
- root?: string | string[] | undefined;
766
- } | undefined;
767
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
768
- umdNamedDefine?: boolean | undefined;
769
- }, {
770
- auxiliaryComment?: string | {
771
- amd?: string | undefined;
772
- commonjs?: string | undefined;
773
- commonjs2?: string | undefined;
774
- root?: string | undefined;
775
- } | undefined;
776
- export?: string | string[] | undefined;
777
- name?: string | string[] | {
778
- amd?: string | undefined;
779
- commonjs?: string | undefined;
780
- root?: string | string[] | undefined;
781
- } | undefined;
782
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
783
- umdNamedDefine?: boolean | undefined;
784
- }>]>>;
785
- asyncChunks: z.ZodOptional<z.ZodBoolean>;
786
- workerChunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
787
- workerWasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["...", "fetch-streaming", "fetch", "async-node"]>]>>;
788
- workerPublicPath: z.ZodOptional<z.ZodString>;
789
- }, "strict", z.ZodTypeAny, {
790
- iife?: boolean | undefined;
791
- clean?: boolean | undefined;
792
- assetModuleFilename?: string | undefined;
793
- auxiliaryComment?: string | {
794
- amd?: string | undefined;
795
- commonjs?: string | undefined;
796
- commonjs2?: string | undefined;
797
- root?: string | undefined;
798
- } | undefined;
799
- chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
800
- chunkLoading?: string | false | undefined;
801
- enabledChunkLoadingTypes?: string[] | undefined;
802
- chunkFilename?: string | undefined;
803
- cssChunkFilename?: string | undefined;
804
- cssFilename?: string | undefined;
805
- hotUpdateChunkFilename?: string | undefined;
806
- hotUpdateMainFilename?: string | undefined;
807
- webassemblyModuleFilename?: string | undefined;
808
- hashSalt?: string | undefined;
809
- filename?: string | undefined;
810
- sourceMapFilename?: string | undefined;
811
- importFunctionName?: string | undefined;
812
- publicPath?: string | undefined;
813
- uniqueName?: string | undefined;
814
- path?: string | undefined;
815
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
816
- enabledWasmLoadingTypes?: ("async-node" | "..." | "fetch-streaming" | "fetch")[] | undefined;
817
- wasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
818
- enabledLibraryTypes?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | ("jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system")[] | undefined;
819
- globalObject?: string | undefined;
820
- libraryExport?: string | string[] | undefined;
821
- libraryTarget?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
822
- hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
823
- module?: any;
824
- strictModuleErrorHandling?: boolean | undefined;
825
- umdNamedDefine?: boolean | undefined;
826
- chunkLoadingGlobal?: string | undefined;
827
- trustedTypes?: string | true | {
828
- policyName?: string | undefined;
829
- } | undefined;
830
- hashDigest?: string | undefined;
831
- hashDigestLength?: number | undefined;
832
- library?: string | string[] | {
833
- amd?: string | undefined;
834
- commonjs?: string | undefined;
835
- root?: string | string[] | undefined;
836
- } | {
837
- auxiliaryComment?: string | {
838
- amd?: string | undefined;
839
- commonjs?: string | undefined;
840
- commonjs2?: string | undefined;
841
- root?: string | undefined;
842
- } | undefined;
843
- export?: string | string[] | undefined;
844
- name?: string | string[] | {
845
- amd?: string | undefined;
846
- commonjs?: string | undefined;
847
- root?: string | string[] | undefined;
848
- } | undefined;
849
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
850
- umdNamedDefine?: boolean | undefined;
851
- } | undefined;
852
- asyncChunks?: boolean | undefined;
853
- workerChunkLoading?: string | false | undefined;
854
- workerWasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
855
- workerPublicPath?: string | undefined;
856
- }, {
857
- iife?: boolean | undefined;
858
- clean?: boolean | undefined;
859
- assetModuleFilename?: string | undefined;
860
- auxiliaryComment?: string | {
861
- amd?: string | undefined;
862
- commonjs?: string | undefined;
863
- commonjs2?: string | undefined;
864
- root?: string | undefined;
865
- } | undefined;
866
- chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
867
- chunkLoading?: string | false | undefined;
868
- enabledChunkLoadingTypes?: string[] | undefined;
869
- chunkFilename?: string | undefined;
870
- cssChunkFilename?: string | undefined;
871
- cssFilename?: string | undefined;
872
- hotUpdateChunkFilename?: string | undefined;
873
- hotUpdateMainFilename?: string | undefined;
874
- webassemblyModuleFilename?: string | undefined;
875
- hashSalt?: string | undefined;
876
- filename?: string | undefined;
877
- sourceMapFilename?: string | undefined;
878
- importFunctionName?: string | undefined;
879
- publicPath?: string | undefined;
880
- uniqueName?: string | undefined;
881
- path?: string | undefined;
882
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
883
- enabledWasmLoadingTypes?: ("async-node" | "..." | "fetch-streaming" | "fetch")[] | undefined;
884
- wasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
885
- enabledLibraryTypes?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | ("jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system")[] | undefined;
886
- globalObject?: string | undefined;
887
- libraryExport?: string | string[] | undefined;
888
- libraryTarget?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
889
- hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
890
- module?: any;
891
- strictModuleErrorHandling?: boolean | undefined;
892
- umdNamedDefine?: boolean | undefined;
893
- chunkLoadingGlobal?: string | undefined;
894
- trustedTypes?: string | true | {
895
- policyName?: string | undefined;
896
- } | undefined;
897
- hashDigest?: string | undefined;
898
- hashDigestLength?: number | undefined;
899
- library?: string | string[] | {
900
- amd?: string | undefined;
901
- commonjs?: string | undefined;
902
- root?: string | string[] | undefined;
903
- } | {
904
- auxiliaryComment?: string | {
905
- amd?: string | undefined;
906
- commonjs?: string | undefined;
907
- commonjs2?: string | undefined;
908
- root?: string | undefined;
909
- } | undefined;
910
- export?: string | string[] | undefined;
911
- name?: string | string[] | {
912
- amd?: string | undefined;
913
- commonjs?: string | undefined;
914
- root?: string | string[] | undefined;
915
- } | undefined;
916
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
917
- umdNamedDefine?: boolean | undefined;
918
- } | undefined;
919
- asyncChunks?: boolean | undefined;
920
- workerChunkLoading?: string | false | undefined;
921
- workerWasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
922
- workerPublicPath?: string | undefined;
923
- }>>;
924
- builtins: z.ZodOptional<z.ZodObject<{
925
- postcss: z.ZodOptional<z.ZodEffects<z.ZodObject<{
926
- pxtorem: z.ZodOptional<z.ZodObject<{
927
- rootValue: z.ZodOptional<z.ZodNumber>;
928
- unitPrecision: z.ZodOptional<z.ZodNumber>;
929
- selectorBlackList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
930
- propList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
931
- replace: z.ZodOptional<z.ZodBoolean>;
932
- mediaQuery: z.ZodOptional<z.ZodBoolean>;
933
- minPixelValue: z.ZodOptional<z.ZodNumber>;
934
- }, "strict", z.ZodTypeAny, {
935
- rootValue?: number | undefined;
936
- unitPrecision?: number | undefined;
937
- selectorBlackList?: string[] | undefined;
938
- propList?: string[] | undefined;
939
- replace?: boolean | undefined;
940
- mediaQuery?: boolean | undefined;
941
- minPixelValue?: number | undefined;
942
- }, {
943
- rootValue?: number | undefined;
944
- unitPrecision?: number | undefined;
945
- selectorBlackList?: string[] | undefined;
946
- propList?: string[] | undefined;
947
- replace?: boolean | undefined;
948
- mediaQuery?: boolean | undefined;
949
- minPixelValue?: number | undefined;
950
- }>>;
951
- }, "strict", z.ZodTypeAny, {
952
- pxtorem?: {
953
- rootValue?: number | undefined;
954
- unitPrecision?: number | undefined;
955
- selectorBlackList?: string[] | undefined;
956
- propList?: string[] | undefined;
957
- replace?: boolean | undefined;
958
- mediaQuery?: boolean | undefined;
959
- minPixelValue?: number | undefined;
960
- } | undefined;
961
- }, {
962
- pxtorem?: {
963
- rootValue?: number | undefined;
964
- unitPrecision?: number | undefined;
965
- selectorBlackList?: string[] | undefined;
966
- propList?: string[] | undefined;
967
- replace?: boolean | undefined;
968
- mediaQuery?: boolean | undefined;
969
- minPixelValue?: number | undefined;
970
- } | undefined;
971
- }>, {
972
- pxtorem?: {
973
- rootValue?: number | undefined;
974
- unitPrecision?: number | undefined;
975
- selectorBlackList?: string[] | undefined;
976
- propList?: string[] | undefined;
977
- replace?: boolean | undefined;
978
- mediaQuery?: boolean | undefined;
979
- minPixelValue?: number | undefined;
980
- } | undefined;
981
- }, {
982
- pxtorem?: {
983
- rootValue?: number | undefined;
984
- unitPrecision?: number | undefined;
985
- selectorBlackList?: string[] | undefined;
986
- propList?: string[] | undefined;
987
- replace?: boolean | undefined;
988
- mediaQuery?: boolean | undefined;
989
- minPixelValue?: number | undefined;
990
- } | undefined;
991
- }>>;
992
- html: z.ZodOptional<z.ZodArray<z.ZodObject<{
993
- title: z.ZodOptional<z.ZodString>;
994
- filename: z.ZodOptional<z.ZodString>;
995
- template: z.ZodOptional<z.ZodString>;
996
- templateParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
997
- inject: z.ZodOptional<z.ZodEnum<["head", "body"]>>;
998
- publicPath: z.ZodOptional<z.ZodString>;
999
- scriptLoading: z.ZodOptional<z.ZodEnum<["blocking", "defer", "module"]>>;
1000
- chunks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1001
- excludedChunks: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1002
- sri: z.ZodOptional<z.ZodEnum<["sha256", "sha384", "sha512"]>>;
1003
- minify: z.ZodOptional<z.ZodBoolean>;
1004
- favicon: z.ZodOptional<z.ZodString>;
1005
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
1006
- }, "strip", z.ZodTypeAny, {
1007
- title?: string | undefined;
1008
- filename?: string | undefined;
1009
- template?: string | undefined;
1010
- templateParameters?: Record<string, string> | undefined;
1011
- inject?: "head" | "body" | undefined;
1012
- publicPath?: string | undefined;
1013
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1014
- chunks?: string[] | undefined;
1015
- excludedChunks?: string[] | undefined;
1016
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1017
- minify?: boolean | undefined;
1018
- favicon?: string | undefined;
1019
- meta?: Record<string, string | Record<string, string>> | undefined;
1020
- }, {
1021
- title?: string | undefined;
1022
- filename?: string | undefined;
1023
- template?: string | undefined;
1024
- templateParameters?: Record<string, string> | undefined;
1025
- inject?: "head" | "body" | undefined;
1026
- publicPath?: string | undefined;
1027
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1028
- chunks?: string[] | undefined;
1029
- excludedChunks?: string[] | undefined;
1030
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1031
- minify?: boolean | undefined;
1032
- favicon?: string | undefined;
1033
- meta?: Record<string, string | Record<string, string>> | undefined;
1034
- }>, "many">>;
1035
- }, "strip", z.ZodTypeAny, {
1036
- postcss?: {
1037
- pxtorem?: {
1038
- rootValue?: number | undefined;
1039
- unitPrecision?: number | undefined;
1040
- selectorBlackList?: string[] | undefined;
1041
- propList?: string[] | undefined;
1042
- replace?: boolean | undefined;
1043
- mediaQuery?: boolean | undefined;
1044
- minPixelValue?: number | undefined;
1045
- } | undefined;
1046
- } | undefined;
1047
- html?: {
1048
- title?: string | undefined;
1049
- filename?: string | undefined;
1050
- template?: string | undefined;
1051
- templateParameters?: Record<string, string> | undefined;
1052
- inject?: "head" | "body" | undefined;
1053
- publicPath?: string | undefined;
1054
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1055
- chunks?: string[] | undefined;
1056
- excludedChunks?: string[] | undefined;
1057
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1058
- minify?: boolean | undefined;
1059
- favicon?: string | undefined;
1060
- meta?: Record<string, string | Record<string, string>> | undefined;
1061
- }[] | undefined;
1062
- }, {
1063
- postcss?: {
1064
- pxtorem?: {
1065
- rootValue?: number | undefined;
1066
- unitPrecision?: number | undefined;
1067
- selectorBlackList?: string[] | undefined;
1068
- propList?: string[] | undefined;
1069
- replace?: boolean | undefined;
1070
- mediaQuery?: boolean | undefined;
1071
- minPixelValue?: number | undefined;
1072
- } | undefined;
1073
- } | undefined;
1074
- html?: {
1075
- title?: string | undefined;
1076
- filename?: string | undefined;
1077
- template?: string | undefined;
1078
- templateParameters?: Record<string, string> | undefined;
1079
- inject?: "head" | "body" | undefined;
1080
- publicPath?: string | undefined;
1081
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1082
- chunks?: string[] | undefined;
1083
- excludedChunks?: string[] | undefined;
1084
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1085
- minify?: boolean | undefined;
1086
- favicon?: string | undefined;
1087
- meta?: Record<string, string | Record<string, string>> | undefined;
1088
- }[] | undefined;
1089
- }>>;
1090
- module: z.ZodOptional<z.ZodAny>;
1091
- profile: z.ZodOptional<z.ZodBoolean>;
1092
- }, "strict", z.ZodTypeAny, {
1093
- target?: false | "async-node" | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-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` | ("async-node" | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-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;
1094
- mode?: "none" | "development" | "production" | undefined;
1095
- entry?: string | string[] | Record<string, string | string[] | {
1096
- import: (string | string[]) & (string | string[] | undefined);
1097
- runtime?: string | false | undefined;
1098
- publicPath?: string | undefined;
1099
- baseUri?: string | undefined;
1100
- chunkLoading?: string | false | undefined;
1101
- asyncChunks?: boolean | undefined;
1102
- wasmLoading?: false | "async-node" | "fetch-streaming" | "fetch" | undefined;
1103
- filename?: string | undefined;
1104
- }> | undefined;
1105
- experiments?: {
1106
- asyncWebAssembly?: boolean | undefined;
1107
- incrementalRebuild?: boolean | {
1108
- make?: boolean | undefined;
1109
- emitAsset?: boolean | undefined;
1110
- } | undefined;
1111
- lazyCompilation?: boolean | undefined;
1112
- outputModule?: boolean | undefined;
1113
- newSplitChunks?: boolean | undefined;
1114
- css?: boolean | undefined;
1115
- } | undefined;
1116
- externals?: any;
1117
- externalsType?: "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "script" | "node-commonjs" | undefined;
1118
- externalsPresets?: {
1119
- web?: boolean | undefined;
1120
- node?: boolean | undefined;
1121
- electron?: boolean | undefined;
1122
- electronMain?: boolean | undefined;
1123
- electronPreload?: boolean | undefined;
1124
- electronRenderer?: boolean | undefined;
1125
- } | undefined;
1126
- infrastructureLogging?: {
1127
- appendOnly?: boolean | undefined;
1128
- colors?: boolean | undefined;
1129
- console?: boolean | undefined;
1130
- debug?: any;
1131
- level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
1132
- stream?: boolean | {} | undefined;
1133
- } | undefined;
1134
- cache?: boolean | undefined;
1135
- context?: string | undefined;
1136
- dependencies?: string[] | undefined;
1137
- 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;
1138
- node?: false | {
1139
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1140
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1141
- global?: boolean | "warn" | undefined;
1142
- } | undefined;
1143
- ignoreWarnings?: (RegExp | ((...args: unknown[]) => unknown))[] | undefined;
1144
- watchOptions?: {
1145
- aggregateTimeout?: number | undefined;
1146
- followSymlinks?: boolean | undefined;
1147
- ignored?: string | RegExp | string[] | undefined;
1148
- poll?: number | boolean | undefined;
1149
- stdin?: boolean | undefined;
1150
- } | undefined;
1151
- watch?: boolean | undefined;
1152
- stats?: boolean | "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | {
1153
- all?: boolean | undefined;
1154
- assets?: boolean | undefined;
1155
- chunkGroups?: boolean | undefined;
1156
- chunks?: boolean | undefined;
1157
- colors?: boolean | undefined;
1158
- entrypoints?: boolean | undefined;
1159
- errors?: boolean | undefined;
1160
- errorsCount?: boolean | undefined;
1161
- hash?: boolean | undefined;
1162
- modules?: boolean | undefined;
1163
- preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
1164
- publicPath?: boolean | undefined;
1165
- reasons?: boolean | undefined;
1166
- warnings?: boolean | undefined;
1167
- warningsCount?: boolean | undefined;
1168
- outputPath?: boolean | undefined;
1169
- chunkModules?: boolean | undefined;
1170
- chunkRelations?: boolean | undefined;
1171
- timings?: boolean | undefined;
1172
- builtAt?: boolean | undefined;
1173
- nestedModules?: boolean | undefined;
1174
- source?: boolean | undefined;
1175
- } | undefined;
1176
- snapshot?: {
1177
- module?: {
1178
- hash?: boolean | undefined;
1179
- timestamp?: boolean | undefined;
1180
- } | undefined;
1181
- resolve?: {
1182
- hash?: boolean | undefined;
1183
- timestamp?: boolean | undefined;
1184
- } | undefined;
1185
- } | undefined;
1186
- optimization?: {
1187
- moduleIds?: "named" | "deterministic" | undefined;
1188
- chunkIds?: "named" | "deterministic" | undefined;
1189
- minimize?: boolean | undefined;
1190
- minimizer?: ("..." | {
1191
- apply: (...args: unknown[]) => unknown;
1192
- })[] | undefined;
1193
- splitChunks?: false | {
1194
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1195
- minChunks?: number | undefined;
1196
- name?: string | false | undefined;
1197
- minSize?: number | undefined;
1198
- maxSize?: number | undefined;
1199
- maxAsyncSize?: number | undefined;
1200
- maxInitialSize?: number | undefined;
1201
- cacheGroups?: Record<string, false | {
1202
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1203
- minChunks?: number | undefined;
1204
- name?: string | false | undefined;
1205
- minSize?: number | undefined;
1206
- maxSize?: number | undefined;
1207
- maxAsyncSize?: number | undefined;
1208
- maxInitialSize?: number | undefined;
1209
- test?: RegExp | undefined;
1210
- priority?: number | undefined;
1211
- enforce?: boolean | undefined;
1212
- reuseExistingChunk?: boolean | undefined;
1213
- type?: string | RegExp | undefined;
1214
- idHint?: string | undefined;
1215
- }> | undefined;
1216
- maxAsyncRequests?: number | undefined;
1217
- maxInitialRequests?: number | undefined;
1218
- fallbackCacheGroup?: {
1219
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1220
- minSize?: number | undefined;
1221
- maxSize?: number | undefined;
1222
- maxAsyncSize?: number | undefined;
1223
- maxInitialSize?: number | undefined;
1224
- } | undefined;
1225
- } | undefined;
1226
- runtimeChunk?: boolean | "single" | "multiple" | {
1227
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
1228
- } | undefined;
1229
- removeAvailableModules?: boolean | undefined;
1230
- removeEmptyChunks?: boolean | undefined;
1231
- realContentHash?: boolean | undefined;
1232
- sideEffects?: boolean | "flag" | undefined;
1233
- } | undefined;
1234
- resolve?: ({
1235
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1236
- browserField?: boolean | undefined;
1237
- conditionNames?: string[] | undefined;
1238
- extensions?: string[] | undefined;
1239
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1240
- mainFields?: string[] | undefined;
1241
- mainFiles?: string[] | undefined;
1242
- modules?: string[] | undefined;
1243
- preferRelative?: boolean | undefined;
1244
- tsConfigPath?: string | undefined;
1245
- fullySpecified?: boolean | undefined;
1246
- exportsFields?: string[] | undefined;
1247
- extensionAlias?: Record<string, string | string[]> | undefined;
1248
- } & {
1249
- byDependency?: Record<string, {
1250
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1251
- browserField?: boolean | undefined;
1252
- conditionNames?: string[] | undefined;
1253
- extensions?: string[] | undefined;
1254
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1255
- mainFields?: string[] | undefined;
1256
- mainFiles?: string[] | undefined;
1257
- modules?: string[] | undefined;
1258
- preferRelative?: boolean | undefined;
1259
- tsConfigPath?: string | undefined;
1260
- fullySpecified?: boolean | undefined;
1261
- exportsFields?: string[] | undefined;
1262
- extensionAlias?: Record<string, string | string[]> | undefined;
1263
- } & any> | undefined;
1264
- }) | undefined;
1265
- resolveLoader?: ({
1266
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1267
- browserField?: boolean | undefined;
1268
- conditionNames?: string[] | undefined;
1269
- extensions?: string[] | undefined;
1270
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1271
- mainFields?: string[] | undefined;
1272
- mainFiles?: string[] | undefined;
1273
- modules?: string[] | undefined;
1274
- preferRelative?: boolean | undefined;
1275
- tsConfigPath?: string | undefined;
1276
- fullySpecified?: boolean | undefined;
1277
- exportsFields?: string[] | undefined;
1278
- extensionAlias?: Record<string, string | string[]> | undefined;
1279
- } & {
1280
- byDependency?: Record<string, {
1281
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1282
- browserField?: boolean | undefined;
1283
- conditionNames?: string[] | undefined;
1284
- extensions?: string[] | undefined;
1285
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1286
- mainFields?: string[] | undefined;
1287
- mainFiles?: string[] | undefined;
1288
- modules?: string[] | undefined;
1289
- preferRelative?: boolean | undefined;
1290
- tsConfigPath?: string | undefined;
1291
- fullySpecified?: boolean | undefined;
1292
- exportsFields?: string[] | undefined;
1293
- extensionAlias?: Record<string, string | string[]> | undefined;
1294
- } & any> | undefined;
1295
- }) | undefined;
1296
- plugins?: (((args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void) | {
1297
- apply: (args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void;
1298
- name?: string | undefined;
1299
- })[] | undefined;
1300
- name?: string | undefined;
1301
- devServer?: {} | undefined;
1302
- output?: {
1303
- iife?: boolean | undefined;
1304
- clean?: boolean | undefined;
1305
- assetModuleFilename?: string | undefined;
1306
- auxiliaryComment?: string | {
1307
- amd?: string | undefined;
1308
- commonjs?: string | undefined;
1309
- commonjs2?: string | undefined;
1310
- root?: string | undefined;
1311
- } | undefined;
1312
- chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
1313
- chunkLoading?: string | false | undefined;
1314
- enabledChunkLoadingTypes?: string[] | undefined;
1315
- chunkFilename?: string | undefined;
1316
- cssChunkFilename?: string | undefined;
1317
- cssFilename?: string | undefined;
1318
- hotUpdateChunkFilename?: string | undefined;
1319
- hotUpdateMainFilename?: string | undefined;
1320
- webassemblyModuleFilename?: string | undefined;
1321
- hashSalt?: string | undefined;
1322
- filename?: string | undefined;
1323
- sourceMapFilename?: string | undefined;
1324
- importFunctionName?: string | undefined;
1325
- publicPath?: string | undefined;
1326
- uniqueName?: string | undefined;
1327
- path?: string | undefined;
1328
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1329
- enabledWasmLoadingTypes?: ("async-node" | "..." | "fetch-streaming" | "fetch")[] | undefined;
1330
- wasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
1331
- enabledLibraryTypes?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | ("jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system")[] | undefined;
1332
- globalObject?: string | undefined;
1333
- libraryExport?: string | string[] | undefined;
1334
- libraryTarget?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
1335
- hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
1336
- module?: any;
1337
- strictModuleErrorHandling?: boolean | undefined;
1338
- umdNamedDefine?: boolean | undefined;
1339
- chunkLoadingGlobal?: string | undefined;
1340
- trustedTypes?: string | true | {
1341
- policyName?: string | undefined;
1342
- } | undefined;
1343
- hashDigest?: string | undefined;
1344
- hashDigestLength?: number | undefined;
1345
- library?: string | string[] | {
1346
- amd?: string | undefined;
1347
- commonjs?: string | undefined;
1348
- root?: string | string[] | undefined;
1349
- } | {
1350
- auxiliaryComment?: string | {
1351
- amd?: string | undefined;
1352
- commonjs?: string | undefined;
1353
- commonjs2?: string | undefined;
1354
- root?: string | undefined;
1355
- } | undefined;
1356
- export?: string | string[] | undefined;
1357
- name?: string | string[] | {
1358
- amd?: string | undefined;
1359
- commonjs?: string | undefined;
1360
- root?: string | string[] | undefined;
1361
- } | undefined;
1362
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
1363
- umdNamedDefine?: boolean | undefined;
1364
- } | undefined;
1365
- asyncChunks?: boolean | undefined;
1366
- workerChunkLoading?: string | false | undefined;
1367
- workerWasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
1368
- workerPublicPath?: string | undefined;
1369
- } | undefined;
1370
- builtins?: {
1371
- postcss?: {
1372
- pxtorem?: {
1373
- rootValue?: number | undefined;
1374
- unitPrecision?: number | undefined;
1375
- selectorBlackList?: string[] | undefined;
1376
- propList?: string[] | undefined;
1377
- replace?: boolean | undefined;
1378
- mediaQuery?: boolean | undefined;
1379
- minPixelValue?: number | undefined;
1380
- } | undefined;
1381
- } | undefined;
1382
- html?: {
1383
- title?: string | undefined;
1384
- filename?: string | undefined;
1385
- template?: string | undefined;
1386
- templateParameters?: Record<string, string> | undefined;
1387
- inject?: "head" | "body" | undefined;
1388
- publicPath?: string | undefined;
1389
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1390
- chunks?: string[] | undefined;
1391
- excludedChunks?: string[] | undefined;
1392
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1393
- minify?: boolean | undefined;
1394
- favicon?: string | undefined;
1395
- meta?: Record<string, string | Record<string, string>> | undefined;
1396
- }[] | undefined;
1397
- } | undefined;
1398
- module?: any;
1399
- profile?: boolean | undefined;
1400
- }, {
1401
- target?: false | "async-node" | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-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` | ("async-node" | "web" | "node" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-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;
1402
- mode?: "none" | "development" | "production" | undefined;
1403
- entry?: string | string[] | Record<string, string | string[] | {
1404
- import: (string | string[]) & (string | string[] | undefined);
1405
- runtime?: string | false | undefined;
1406
- publicPath?: string | undefined;
1407
- baseUri?: string | undefined;
1408
- chunkLoading?: string | false | undefined;
1409
- asyncChunks?: boolean | undefined;
1410
- wasmLoading?: false | "async-node" | "fetch-streaming" | "fetch" | undefined;
1411
- filename?: string | undefined;
1412
- }> | undefined;
1413
- experiments?: {
1414
- asyncWebAssembly?: boolean | undefined;
1415
- incrementalRebuild?: boolean | {
1416
- make?: boolean | undefined;
1417
- emitAsset?: boolean | undefined;
1418
- } | undefined;
1419
- lazyCompilation?: boolean | undefined;
1420
- outputModule?: boolean | undefined;
1421
- newSplitChunks?: boolean | undefined;
1422
- css?: boolean | undefined;
1423
- } | undefined;
1424
- externals?: any;
1425
- externalsType?: "jsonp" | "import" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "script" | "node-commonjs" | undefined;
1426
- externalsPresets?: {
1427
- web?: boolean | undefined;
1428
- node?: boolean | undefined;
1429
- electron?: boolean | undefined;
1430
- electronMain?: boolean | undefined;
1431
- electronPreload?: boolean | undefined;
1432
- electronRenderer?: boolean | undefined;
1433
- } | undefined;
1434
- infrastructureLogging?: {
1435
- appendOnly?: boolean | undefined;
1436
- colors?: boolean | undefined;
1437
- console?: boolean | undefined;
1438
- debug?: any;
1439
- level?: "error" | "none" | "warn" | "info" | "log" | "verbose" | undefined;
1440
- stream?: boolean | {} | undefined;
1441
- } | undefined;
1442
- cache?: boolean | undefined;
1443
- context?: string | undefined;
1444
- dependencies?: string[] | undefined;
1445
- 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;
1446
- node?: false | {
1447
- __dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1448
- __filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
1449
- global?: boolean | "warn" | undefined;
1450
- } | undefined;
1451
- ignoreWarnings?: (RegExp | ((...args: unknown[]) => unknown))[] | undefined;
1452
- watchOptions?: {
1453
- aggregateTimeout?: number | undefined;
1454
- followSymlinks?: boolean | undefined;
1455
- ignored?: string | RegExp | string[] | undefined;
1456
- poll?: number | boolean | undefined;
1457
- stdin?: boolean | undefined;
1458
- } | undefined;
1459
- watch?: boolean | undefined;
1460
- stats?: boolean | "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | {
1461
- all?: boolean | undefined;
1462
- assets?: boolean | undefined;
1463
- chunkGroups?: boolean | undefined;
1464
- chunks?: boolean | undefined;
1465
- colors?: boolean | undefined;
1466
- entrypoints?: boolean | undefined;
1467
- errors?: boolean | undefined;
1468
- errorsCount?: boolean | undefined;
1469
- hash?: boolean | undefined;
1470
- modules?: boolean | undefined;
1471
- preset?: "none" | "verbose" | "errors-only" | "errors-warnings" | "normal" | undefined;
1472
- publicPath?: boolean | undefined;
1473
- reasons?: boolean | undefined;
1474
- warnings?: boolean | undefined;
1475
- warningsCount?: boolean | undefined;
1476
- outputPath?: boolean | undefined;
1477
- chunkModules?: boolean | undefined;
1478
- chunkRelations?: boolean | undefined;
1479
- timings?: boolean | undefined;
1480
- builtAt?: boolean | undefined;
1481
- nestedModules?: boolean | undefined;
1482
- source?: boolean | undefined;
1483
- } | undefined;
1484
- snapshot?: {
1485
- module?: {
1486
- hash?: boolean | undefined;
1487
- timestamp?: boolean | undefined;
1488
- } | undefined;
1489
- resolve?: {
1490
- hash?: boolean | undefined;
1491
- timestamp?: boolean | undefined;
1492
- } | undefined;
1493
- } | undefined;
1494
- optimization?: {
1495
- moduleIds?: "named" | "deterministic" | undefined;
1496
- chunkIds?: "named" | "deterministic" | undefined;
1497
- minimize?: boolean | undefined;
1498
- minimizer?: ("..." | {
1499
- apply: (...args: unknown[]) => unknown;
1500
- })[] | undefined;
1501
- splitChunks?: false | {
1502
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1503
- minChunks?: number | undefined;
1504
- name?: string | false | undefined;
1505
- minSize?: number | undefined;
1506
- maxSize?: number | undefined;
1507
- maxAsyncSize?: number | undefined;
1508
- maxInitialSize?: number | undefined;
1509
- cacheGroups?: Record<string, false | {
1510
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1511
- minChunks?: number | undefined;
1512
- name?: string | false | undefined;
1513
- minSize?: number | undefined;
1514
- maxSize?: number | undefined;
1515
- maxAsyncSize?: number | undefined;
1516
- maxInitialSize?: number | undefined;
1517
- test?: RegExp | undefined;
1518
- priority?: number | undefined;
1519
- enforce?: boolean | undefined;
1520
- reuseExistingChunk?: boolean | undefined;
1521
- type?: string | RegExp | undefined;
1522
- idHint?: string | undefined;
1523
- }> | undefined;
1524
- maxAsyncRequests?: number | undefined;
1525
- maxInitialRequests?: number | undefined;
1526
- fallbackCacheGroup?: {
1527
- chunks?: RegExp | "async" | "all" | "initial" | undefined;
1528
- minSize?: number | undefined;
1529
- maxSize?: number | undefined;
1530
- maxAsyncSize?: number | undefined;
1531
- maxInitialSize?: number | undefined;
1532
- } | undefined;
1533
- } | undefined;
1534
- runtimeChunk?: boolean | "single" | "multiple" | {
1535
- name?: string | ((...args: unknown[]) => string | undefined) | undefined;
1536
- } | undefined;
1537
- removeAvailableModules?: boolean | undefined;
1538
- removeEmptyChunks?: boolean | undefined;
1539
- realContentHash?: boolean | undefined;
1540
- sideEffects?: boolean | "flag" | undefined;
1541
- } | undefined;
1542
- resolve?: ({
1543
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1544
- browserField?: boolean | undefined;
1545
- conditionNames?: string[] | undefined;
1546
- extensions?: string[] | undefined;
1547
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1548
- mainFields?: string[] | undefined;
1549
- mainFiles?: string[] | undefined;
1550
- modules?: string[] | undefined;
1551
- preferRelative?: boolean | undefined;
1552
- tsConfigPath?: string | undefined;
1553
- fullySpecified?: boolean | undefined;
1554
- exportsFields?: string[] | undefined;
1555
- extensionAlias?: Record<string, string | string[]> | undefined;
1556
- } & {
1557
- byDependency?: Record<string, {
1558
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1559
- browserField?: boolean | undefined;
1560
- conditionNames?: string[] | undefined;
1561
- extensions?: string[] | undefined;
1562
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1563
- mainFields?: string[] | undefined;
1564
- mainFiles?: string[] | undefined;
1565
- modules?: string[] | undefined;
1566
- preferRelative?: boolean | undefined;
1567
- tsConfigPath?: string | undefined;
1568
- fullySpecified?: boolean | undefined;
1569
- exportsFields?: string[] | undefined;
1570
- extensionAlias?: Record<string, string | string[]> | undefined;
1571
- } & any> | undefined;
1572
- }) | undefined;
1573
- resolveLoader?: ({
1574
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1575
- browserField?: boolean | undefined;
1576
- conditionNames?: string[] | undefined;
1577
- extensions?: string[] | undefined;
1578
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1579
- mainFields?: string[] | undefined;
1580
- mainFiles?: string[] | undefined;
1581
- modules?: string[] | undefined;
1582
- preferRelative?: boolean | undefined;
1583
- tsConfigPath?: string | undefined;
1584
- fullySpecified?: boolean | undefined;
1585
- exportsFields?: string[] | undefined;
1586
- extensionAlias?: Record<string, string | string[]> | undefined;
1587
- } & {
1588
- byDependency?: Record<string, {
1589
- alias?: Record<string, string | false | (string | false)[]> | undefined;
1590
- browserField?: boolean | undefined;
1591
- conditionNames?: string[] | undefined;
1592
- extensions?: string[] | undefined;
1593
- fallback?: Record<string, string | false | (string | false)[]> | undefined;
1594
- mainFields?: string[] | undefined;
1595
- mainFiles?: string[] | undefined;
1596
- modules?: string[] | undefined;
1597
- preferRelative?: boolean | undefined;
1598
- tsConfigPath?: string | undefined;
1599
- fullySpecified?: boolean | undefined;
1600
- exportsFields?: string[] | undefined;
1601
- extensionAlias?: Record<string, string | string[]> | undefined;
1602
- } & any> | undefined;
1603
- }) | undefined;
1604
- plugins?: (((args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void) | {
1605
- apply: (args_0: import("../../Compiler").Compiler, ...args_1: unknown[]) => void;
1606
- name?: string | undefined;
1607
- })[] | undefined;
1608
- name?: string | undefined;
1609
- devServer?: {} | undefined;
1610
- output?: {
1611
- iife?: boolean | undefined;
1612
- clean?: boolean | undefined;
1613
- assetModuleFilename?: string | undefined;
1614
- auxiliaryComment?: string | {
1615
- amd?: string | undefined;
1616
- commonjs?: string | undefined;
1617
- commonjs2?: string | undefined;
1618
- root?: string | undefined;
1619
- } | undefined;
1620
- chunkFormat?: false | "module" | "commonjs" | "array-push" | undefined;
1621
- chunkLoading?: string | false | undefined;
1622
- enabledChunkLoadingTypes?: string[] | undefined;
1623
- chunkFilename?: string | undefined;
1624
- cssChunkFilename?: string | undefined;
1625
- cssFilename?: string | undefined;
1626
- hotUpdateChunkFilename?: string | undefined;
1627
- hotUpdateMainFilename?: string | undefined;
1628
- webassemblyModuleFilename?: string | undefined;
1629
- hashSalt?: string | undefined;
1630
- filename?: string | undefined;
1631
- sourceMapFilename?: string | undefined;
1632
- importFunctionName?: string | undefined;
1633
- publicPath?: string | undefined;
1634
- uniqueName?: string | undefined;
1635
- path?: string | undefined;
1636
- crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
1637
- enabledWasmLoadingTypes?: ("async-node" | "..." | "fetch-streaming" | "fetch")[] | undefined;
1638
- wasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
1639
- enabledLibraryTypes?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | ("jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system")[] | undefined;
1640
- globalObject?: string | undefined;
1641
- libraryExport?: string | string[] | undefined;
1642
- libraryTarget?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
1643
- hashFunction?: string | ((...args: unknown[]) => unknown) | undefined;
1644
- module?: any;
1645
- strictModuleErrorHandling?: boolean | undefined;
1646
- umdNamedDefine?: boolean | undefined;
1647
- chunkLoadingGlobal?: string | undefined;
1648
- trustedTypes?: string | true | {
1649
- policyName?: string | undefined;
1650
- } | undefined;
1651
- hashDigest?: string | undefined;
1652
- hashDigestLength?: number | undefined;
1653
- library?: string | string[] | {
1654
- amd?: string | undefined;
1655
- commonjs?: string | undefined;
1656
- root?: string | string[] | undefined;
1657
- } | {
1658
- auxiliaryComment?: string | {
1659
- amd?: string | undefined;
1660
- commonjs?: string | undefined;
1661
- commonjs2?: string | undefined;
1662
- root?: string | undefined;
1663
- } | undefined;
1664
- export?: string | string[] | undefined;
1665
- name?: string | string[] | {
1666
- amd?: string | undefined;
1667
- commonjs?: string | undefined;
1668
- root?: string | string[] | undefined;
1669
- } | undefined;
1670
- type?: "jsonp" | "..." | "var" | "module" | "assign" | "assign-properties" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | undefined;
1671
- umdNamedDefine?: boolean | undefined;
1672
- } | undefined;
1673
- asyncChunks?: boolean | undefined;
1674
- workerChunkLoading?: string | false | undefined;
1675
- workerWasmLoading?: false | "async-node" | "..." | "fetch-streaming" | "fetch" | undefined;
1676
- workerPublicPath?: string | undefined;
1677
- } | undefined;
1678
- builtins?: {
1679
- postcss?: {
1680
- pxtorem?: {
1681
- rootValue?: number | undefined;
1682
- unitPrecision?: number | undefined;
1683
- selectorBlackList?: string[] | undefined;
1684
- propList?: string[] | undefined;
1685
- replace?: boolean | undefined;
1686
- mediaQuery?: boolean | undefined;
1687
- minPixelValue?: number | undefined;
1688
- } | undefined;
1689
- } | undefined;
1690
- html?: {
1691
- title?: string | undefined;
1692
- filename?: string | undefined;
1693
- template?: string | undefined;
1694
- templateParameters?: Record<string, string> | undefined;
1695
- inject?: "head" | "body" | undefined;
1696
- publicPath?: string | undefined;
1697
- scriptLoading?: "module" | "blocking" | "defer" | undefined;
1698
- chunks?: string[] | undefined;
1699
- excludedChunks?: string[] | undefined;
1700
- sri?: "sha256" | "sha384" | "sha512" | undefined;
1701
- minify?: boolean | undefined;
1702
- favicon?: string | undefined;
1703
- meta?: Record<string, string | Record<string, string>> | undefined;
1704
- }[] | undefined;
1705
- } | undefined;
1706
- module?: any;
1707
- profile?: boolean | undefined;
1708
- }>;