@rspack/core 0.6.5-canary-5042eed-20240515115707 → 0.6.5-canary-b7b5c75-20240821125908
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Chunk.d.ts +1 -1
- package/dist/Chunk.js +1 -1
- package/dist/ChunkGroup.d.ts +1 -1
- package/dist/ChunkGroup.js +3 -3
- package/dist/Compilation.d.ts +65 -46
- package/dist/Compilation.js +222 -128
- package/dist/Compiler.d.ts +44 -75
- package/dist/Compiler.js +260 -301
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/Entrypoint.js +1 -1
- package/dist/ExecuteModulePlugin.js +1 -1
- package/dist/Module.js +2 -2
- package/dist/MultiCompiler.d.ts +25 -10
- package/dist/MultiCompiler.js +3 -3
- package/dist/MultiStats.d.ts +1 -1
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Stats.d.ts +2 -2
- package/dist/Watching.d.ts +9 -1
- package/dist/Watching.js +2 -15
- package/dist/builtin-loader/swc/index.d.ts +6 -6
- package/dist/builtin-loader/swc/index.js +3 -3
- package/dist/builtin-loader/swc/types.d.ts +2 -2
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BannerPlugin.d.ts +2 -2
- package/dist/builtin-plugin/BannerPlugin.js +1 -1
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.js +1 -1
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.js +1 -1
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +2 -2
- package/dist/builtin-plugin/HtmlRspackPlugin.js +2 -2
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.js +1 -1
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SplitChunksPlugin.js +4 -4
- package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
- package/dist/builtin-plugin/WorkerPlugin.d.ts +2 -2
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/base.js +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +4 -5
- package/dist/builtin-plugin/css-extract/loader.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/loader.js +2 -2
- package/dist/builtin-plugin/index.d.ts +43 -44
- package/dist/builtin-plugin/index.js +43 -44
- package/dist/config/adapter.d.ts +2 -2
- package/dist/config/adapter.js +5 -6
- package/dist/config/adapterRuleUse.d.ts +1 -2
- package/dist/config/adapterRuleUse.js +2 -2
- package/dist/config/defaults.js +4 -6
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/config/normalization.d.ts +3 -2
- package/dist/config/normalization.js +1 -2
- package/dist/config/zod.d.ts +192 -328
- package/dist/config/zod.js +29 -17
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.js +1 -1
- package/dist/container/ModuleFederationPlugin.js +1 -1
- package/dist/container/ModuleFederationPluginV1.d.ts +1 -1
- package/dist/container/ModuleFederationPluginV1.js +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +30 -32
- package/dist/exports.js +17 -15
- package/dist/fileSystem.d.ts +8 -12
- package/dist/fileSystem.js +48 -25
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/loader-runner/index.js +13 -13
- package/dist/logging/Logger.d.ts +1 -1
- package/dist/logging/createConsoleLogger.js +14 -0
- package/dist/node/NodeEnvironmentPlugin.d.ts +1 -1
- package/dist/node/NodeEnvironmentPlugin.js +1 -1
- package/dist/node/nodeConsole.js +4 -0
- package/dist/rspack.d.ts +13 -4
- package/dist/rspack.js +8 -8
- package/dist/rspackOptionsApply.d.ts +10 -1
- package/dist/rspackOptionsApply.js +6 -34
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ConsumeSharedPlugin.js +1 -1
- package/dist/stats/DefaultStatsFactoryPlugin.js +2 -2
- package/dist/stats/StatsFactory.d.ts +2 -2
- package/dist/stats/StatsFactory.js +9 -0
- package/dist/stats/StatsPrinter.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +1 -1
- package/dist/util/comparators.d.ts +1 -1
- package/dist/util/createSource.d.ts +5 -0
- package/dist/util/createSource.js +65 -0
- package/dist/util/fs.d.ts +0 -64
- package/dist/util/fs.js +0 -122
- package/dist/util/index.d.ts +1 -2
- package/dist/util/index.js +11 -16
- package/package.json +4 -4
- package/dist/builtin-plugin/lazy-compilation/backend.d.ts +0 -50
- package/dist/builtin-plugin/lazy-compilation/backend.js +0 -139
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +0 -30
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.js +0 -6
- package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +0 -13
- package/dist/builtin-plugin/lazy-compilation/plugin.js +0 -60
- package/dist/util/source.d.ts +0 -18
- package/dist/util/source.js +0 -66
package/dist/config/zod.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
3
|
-
import type * as webpackDevServer from "webpack-dev-server";
|
|
2
|
+
import { RawFuncUseCtx, JsAssetInfo } from "@rspack/binding";
|
|
4
3
|
import { z } from "../../compiled/zod";
|
|
5
4
|
import { Compilation, Compiler } from "..";
|
|
6
5
|
import type { Builtins as BuiltinsType } from "../builtin-plugin";
|
|
7
|
-
import
|
|
6
|
+
import type * as webpackDevServer from "webpack-dev-server";
|
|
8
7
|
import { Module } from "../Module";
|
|
8
|
+
import { Chunk } from "../Chunk";
|
|
9
9
|
declare const name: z.ZodString;
|
|
10
10
|
export type Name = z.infer<typeof name>;
|
|
11
11
|
declare const dependencies: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1320,6 +1320,11 @@ declare const resolveTsconfig: z.ZodObject<{
|
|
|
1320
1320
|
export type ResolveTsconfig = z.infer<typeof resolveTsconfig>;
|
|
1321
1321
|
declare const baseResolveOptions: z.ZodObject<{
|
|
1322
1322
|
alias: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, "many">]>>>;
|
|
1323
|
+
/**
|
|
1324
|
+
* This is `aliasField: ["browser"]` in webpack, because no one
|
|
1325
|
+
* uses aliasField other than "browser". ---@bvanjoi
|
|
1326
|
+
*/
|
|
1327
|
+
browserField: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
1323
1328
|
conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1324
1329
|
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1325
1330
|
fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, "many">]>>>;
|
|
@@ -1351,6 +1356,7 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1351
1356
|
roots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1352
1357
|
}, "strict", z.ZodTypeAny, {
|
|
1353
1358
|
alias?: Record<string, string | false | (string | false)[]> | undefined;
|
|
1359
|
+
browserField?: boolean | undefined;
|
|
1354
1360
|
conditionNames?: string[] | undefined;
|
|
1355
1361
|
extensions?: string[] | undefined;
|
|
1356
1362
|
fallback?: Record<string, string | false | (string | false)[]> | undefined;
|
|
@@ -1376,6 +1382,7 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1376
1382
|
roots?: string[] | undefined;
|
|
1377
1383
|
}, {
|
|
1378
1384
|
alias?: Record<string, string | false | (string | false)[]> | undefined;
|
|
1385
|
+
browserField?: boolean | undefined;
|
|
1379
1386
|
conditionNames?: string[] | undefined;
|
|
1380
1387
|
extensions?: string[] | undefined;
|
|
1381
1388
|
fallback?: Record<string, string | false | (string | false)[]> | undefined;
|
|
@@ -2159,11 +2166,11 @@ declare const assetGeneratorDataUrlFunction: z.ZodFunction<z.ZodTuple<[z.ZodObje
|
|
|
2159
2166
|
content: z.ZodString;
|
|
2160
2167
|
filename: z.ZodString;
|
|
2161
2168
|
}, "strict", z.ZodTypeAny, {
|
|
2162
|
-
content: string;
|
|
2163
2169
|
filename: string;
|
|
2164
|
-
}, {
|
|
2165
2170
|
content: string;
|
|
2171
|
+
}, {
|
|
2166
2172
|
filename: string;
|
|
2173
|
+
content: string;
|
|
2167
2174
|
}>], z.ZodUnknown>, z.ZodString>;
|
|
2168
2175
|
export type AssetGeneratorDataUrlFunction = z.infer<typeof assetGeneratorDataUrlFunction>;
|
|
2169
2176
|
declare const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2179,11 +2186,11 @@ declare const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{
|
|
|
2179
2186
|
content: z.ZodString;
|
|
2180
2187
|
filename: z.ZodString;
|
|
2181
2188
|
}, "strict", z.ZodTypeAny, {
|
|
2182
|
-
content: string;
|
|
2183
2189
|
filename: string;
|
|
2184
|
-
}, {
|
|
2185
2190
|
content: string;
|
|
2191
|
+
}, {
|
|
2186
2192
|
filename: string;
|
|
2193
|
+
content: string;
|
|
2187
2194
|
}>], z.ZodUnknown>, z.ZodString>]>;
|
|
2188
2195
|
export type AssetGeneratorDataUrl = z.infer<typeof assetGeneratorDataUrl>;
|
|
2189
2196
|
declare const assetInlineGeneratorOptions: z.ZodObject<{
|
|
@@ -2200,27 +2207,27 @@ declare const assetInlineGeneratorOptions: z.ZodObject<{
|
|
|
2200
2207
|
content: z.ZodString;
|
|
2201
2208
|
filename: z.ZodString;
|
|
2202
2209
|
}, "strict", z.ZodTypeAny, {
|
|
2203
|
-
content: string;
|
|
2204
2210
|
filename: string;
|
|
2205
|
-
}, {
|
|
2206
2211
|
content: string;
|
|
2212
|
+
}, {
|
|
2207
2213
|
filename: string;
|
|
2214
|
+
content: string;
|
|
2208
2215
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2209
2216
|
}, "strict", z.ZodTypeAny, {
|
|
2210
2217
|
dataUrl?: {
|
|
2211
2218
|
encoding?: false | "base64" | undefined;
|
|
2212
2219
|
mimetype?: string | undefined;
|
|
2213
2220
|
} | ((args_0: {
|
|
2214
|
-
content: string;
|
|
2215
2221
|
filename: string;
|
|
2222
|
+
content: string;
|
|
2216
2223
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2217
2224
|
}, {
|
|
2218
2225
|
dataUrl?: {
|
|
2219
2226
|
encoding?: false | "base64" | undefined;
|
|
2220
2227
|
mimetype?: string | undefined;
|
|
2221
2228
|
} | ((args_0: {
|
|
2222
|
-
content: string;
|
|
2223
2229
|
filename: string;
|
|
2230
|
+
content: string;
|
|
2224
2231
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2225
2232
|
}>;
|
|
2226
2233
|
export type AssetInlineGeneratorOptions = z.infer<typeof assetInlineGeneratorOptions>;
|
|
@@ -2252,11 +2259,11 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2252
2259
|
content: z.ZodString;
|
|
2253
2260
|
filename: z.ZodString;
|
|
2254
2261
|
}, "strict", z.ZodTypeAny, {
|
|
2255
|
-
content: string;
|
|
2256
2262
|
filename: string;
|
|
2257
|
-
}, {
|
|
2258
2263
|
content: string;
|
|
2264
|
+
}, {
|
|
2259
2265
|
filename: string;
|
|
2266
|
+
content: string;
|
|
2260
2267
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2261
2268
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2262
2269
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2266,8 +2273,8 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2266
2273
|
encoding?: false | "base64" | undefined;
|
|
2267
2274
|
mimetype?: string | undefined;
|
|
2268
2275
|
} | ((args_0: {
|
|
2269
|
-
content: string;
|
|
2270
2276
|
filename: string;
|
|
2277
|
+
content: string;
|
|
2271
2278
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2272
2279
|
emit?: boolean | undefined;
|
|
2273
2280
|
filename?: string | undefined;
|
|
@@ -2277,8 +2284,8 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2277
2284
|
encoding?: false | "base64" | undefined;
|
|
2278
2285
|
mimetype?: string | undefined;
|
|
2279
2286
|
} | ((args_0: {
|
|
2280
|
-
content: string;
|
|
2281
2287
|
filename: string;
|
|
2288
|
+
content: string;
|
|
2282
2289
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2283
2290
|
emit?: boolean | undefined;
|
|
2284
2291
|
filename?: string | undefined;
|
|
@@ -2291,54 +2298,43 @@ declare const cssGeneratorExportsOnly: z.ZodBoolean;
|
|
|
2291
2298
|
export type CssGeneratorExportsOnly = z.infer<typeof cssGeneratorExportsOnly>;
|
|
2292
2299
|
declare const cssGeneratorLocalIdentName: z.ZodString;
|
|
2293
2300
|
export type CssGeneratorLocalIdentName = z.infer<typeof cssGeneratorLocalIdentName>;
|
|
2294
|
-
declare const cssGeneratorEsModule: z.ZodBoolean;
|
|
2295
|
-
export type CssGeneratorEsModule = z.infer<typeof cssGeneratorEsModule>;
|
|
2296
2301
|
declare const cssGeneratorOptions: z.ZodObject<{
|
|
2297
2302
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2298
2303
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2299
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2300
2304
|
}, "strict", z.ZodTypeAny, {
|
|
2301
2305
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2302
2306
|
exportsOnly?: boolean | undefined;
|
|
2303
|
-
esModule?: boolean | undefined;
|
|
2304
2307
|
}, {
|
|
2305
2308
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2306
2309
|
exportsOnly?: boolean | undefined;
|
|
2307
|
-
esModule?: boolean | undefined;
|
|
2308
2310
|
}>;
|
|
2309
2311
|
export type CssGeneratorOptions = z.infer<typeof cssGeneratorOptions>;
|
|
2310
2312
|
declare const cssAutoGeneratorOptions: z.ZodObject<{
|
|
2311
2313
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2312
2314
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2313
2315
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2314
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2315
2316
|
}, "strict", z.ZodTypeAny, {
|
|
2316
2317
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2317
2318
|
exportsOnly?: boolean | undefined;
|
|
2318
2319
|
localIdentName?: string | undefined;
|
|
2319
|
-
esModule?: boolean | undefined;
|
|
2320
2320
|
}, {
|
|
2321
2321
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2322
2322
|
exportsOnly?: boolean | undefined;
|
|
2323
2323
|
localIdentName?: string | undefined;
|
|
2324
|
-
esModule?: boolean | undefined;
|
|
2325
2324
|
}>;
|
|
2326
2325
|
export type CssAutoGeneratorOptions = z.infer<typeof cssAutoGeneratorOptions>;
|
|
2327
2326
|
declare const cssModuleGeneratorOptions: z.ZodObject<{
|
|
2328
2327
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2329
2328
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2330
2329
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2332
2330
|
}, "strict", z.ZodTypeAny, {
|
|
2333
2331
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2334
2332
|
exportsOnly?: boolean | undefined;
|
|
2335
2333
|
localIdentName?: string | undefined;
|
|
2336
|
-
esModule?: boolean | undefined;
|
|
2337
2334
|
}, {
|
|
2338
2335
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2339
2336
|
exportsOnly?: boolean | undefined;
|
|
2340
2337
|
localIdentName?: string | undefined;
|
|
2341
|
-
esModule?: boolean | undefined;
|
|
2342
2338
|
}>;
|
|
2343
2339
|
export type CssModuleGeneratorOptions = z.infer<typeof cssModuleGeneratorOptions>;
|
|
2344
2340
|
declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
@@ -2356,11 +2352,11 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2356
2352
|
content: z.ZodString;
|
|
2357
2353
|
filename: z.ZodString;
|
|
2358
2354
|
}, "strict", z.ZodTypeAny, {
|
|
2359
|
-
content: string;
|
|
2360
2355
|
filename: string;
|
|
2361
|
-
}, {
|
|
2362
2356
|
content: string;
|
|
2357
|
+
}, {
|
|
2363
2358
|
filename: string;
|
|
2359
|
+
content: string;
|
|
2364
2360
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2365
2361
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2366
2362
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2370,8 +2366,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2370
2366
|
encoding?: false | "base64" | undefined;
|
|
2371
2367
|
mimetype?: string | undefined;
|
|
2372
2368
|
} | ((args_0: {
|
|
2373
|
-
content: string;
|
|
2374
2369
|
filename: string;
|
|
2370
|
+
content: string;
|
|
2375
2371
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2376
2372
|
emit?: boolean | undefined;
|
|
2377
2373
|
filename?: string | undefined;
|
|
@@ -2381,8 +2377,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2381
2377
|
encoding?: false | "base64" | undefined;
|
|
2382
2378
|
mimetype?: string | undefined;
|
|
2383
2379
|
} | ((args_0: {
|
|
2384
|
-
content: string;
|
|
2385
2380
|
filename: string;
|
|
2381
|
+
content: string;
|
|
2386
2382
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2387
2383
|
emit?: boolean | undefined;
|
|
2388
2384
|
filename?: string | undefined;
|
|
@@ -2402,27 +2398,27 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2402
2398
|
content: z.ZodString;
|
|
2403
2399
|
filename: z.ZodString;
|
|
2404
2400
|
}, "strict", z.ZodTypeAny, {
|
|
2405
|
-
content: string;
|
|
2406
2401
|
filename: string;
|
|
2407
|
-
}, {
|
|
2408
2402
|
content: string;
|
|
2403
|
+
}, {
|
|
2409
2404
|
filename: string;
|
|
2405
|
+
content: string;
|
|
2410
2406
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2411
2407
|
}, "strict", z.ZodTypeAny, {
|
|
2412
2408
|
dataUrl?: {
|
|
2413
2409
|
encoding?: false | "base64" | undefined;
|
|
2414
2410
|
mimetype?: string | undefined;
|
|
2415
2411
|
} | ((args_0: {
|
|
2416
|
-
content: string;
|
|
2417
2412
|
filename: string;
|
|
2413
|
+
content: string;
|
|
2418
2414
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2419
2415
|
}, {
|
|
2420
2416
|
dataUrl?: {
|
|
2421
2417
|
encoding?: false | "base64" | undefined;
|
|
2422
2418
|
mimetype?: string | undefined;
|
|
2423
2419
|
} | ((args_0: {
|
|
2424
|
-
content: string;
|
|
2425
2420
|
filename: string;
|
|
2421
|
+
content: string;
|
|
2426
2422
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2427
2423
|
}>>;
|
|
2428
2424
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -2441,47 +2437,38 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2441
2437
|
css: z.ZodOptional<z.ZodObject<{
|
|
2442
2438
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2443
2439
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2444
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2445
2440
|
}, "strict", z.ZodTypeAny, {
|
|
2446
2441
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2447
2442
|
exportsOnly?: boolean | undefined;
|
|
2448
|
-
esModule?: boolean | undefined;
|
|
2449
2443
|
}, {
|
|
2450
2444
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2451
2445
|
exportsOnly?: boolean | undefined;
|
|
2452
|
-
esModule?: boolean | undefined;
|
|
2453
2446
|
}>>;
|
|
2454
2447
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2455
2448
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2456
2449
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2457
2450
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2458
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2459
2451
|
}, "strict", z.ZodTypeAny, {
|
|
2460
2452
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2461
2453
|
exportsOnly?: boolean | undefined;
|
|
2462
2454
|
localIdentName?: string | undefined;
|
|
2463
|
-
esModule?: boolean | undefined;
|
|
2464
2455
|
}, {
|
|
2465
2456
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2466
2457
|
exportsOnly?: boolean | undefined;
|
|
2467
2458
|
localIdentName?: string | undefined;
|
|
2468
|
-
esModule?: boolean | undefined;
|
|
2469
2459
|
}>>;
|
|
2470
2460
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2471
2461
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2472
2462
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2473
2463
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2474
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2475
2464
|
}, "strict", z.ZodTypeAny, {
|
|
2476
2465
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2477
2466
|
exportsOnly?: boolean | undefined;
|
|
2478
2467
|
localIdentName?: string | undefined;
|
|
2479
|
-
esModule?: boolean | undefined;
|
|
2480
2468
|
}, {
|
|
2481
2469
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2482
2470
|
exportsOnly?: boolean | undefined;
|
|
2483
2471
|
localIdentName?: string | undefined;
|
|
2484
|
-
esModule?: boolean | undefined;
|
|
2485
2472
|
}>>;
|
|
2486
2473
|
}, "strict", z.ZodTypeAny, {
|
|
2487
2474
|
asset?: {
|
|
@@ -2489,8 +2476,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2489
2476
|
encoding?: false | "base64" | undefined;
|
|
2490
2477
|
mimetype?: string | undefined;
|
|
2491
2478
|
} | ((args_0: {
|
|
2492
|
-
content: string;
|
|
2493
2479
|
filename: string;
|
|
2480
|
+
content: string;
|
|
2494
2481
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2495
2482
|
emit?: boolean | undefined;
|
|
2496
2483
|
filename?: string | undefined;
|
|
@@ -2501,8 +2488,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2501
2488
|
encoding?: false | "base64" | undefined;
|
|
2502
2489
|
mimetype?: string | undefined;
|
|
2503
2490
|
} | ((args_0: {
|
|
2504
|
-
content: string;
|
|
2505
2491
|
filename: string;
|
|
2492
|
+
content: string;
|
|
2506
2493
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2507
2494
|
} | undefined;
|
|
2508
2495
|
"asset/resource"?: {
|
|
@@ -2513,19 +2500,16 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2513
2500
|
css?: {
|
|
2514
2501
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2515
2502
|
exportsOnly?: boolean | undefined;
|
|
2516
|
-
esModule?: boolean | undefined;
|
|
2517
2503
|
} | undefined;
|
|
2518
2504
|
"css/auto"?: {
|
|
2519
2505
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2520
2506
|
exportsOnly?: boolean | undefined;
|
|
2521
2507
|
localIdentName?: string | undefined;
|
|
2522
|
-
esModule?: boolean | undefined;
|
|
2523
2508
|
} | undefined;
|
|
2524
2509
|
"css/module"?: {
|
|
2525
2510
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2526
2511
|
exportsOnly?: boolean | undefined;
|
|
2527
2512
|
localIdentName?: string | undefined;
|
|
2528
|
-
esModule?: boolean | undefined;
|
|
2529
2513
|
} | undefined;
|
|
2530
2514
|
}, {
|
|
2531
2515
|
asset?: {
|
|
@@ -2533,8 +2517,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2533
2517
|
encoding?: false | "base64" | undefined;
|
|
2534
2518
|
mimetype?: string | undefined;
|
|
2535
2519
|
} | ((args_0: {
|
|
2536
|
-
content: string;
|
|
2537
2520
|
filename: string;
|
|
2521
|
+
content: string;
|
|
2538
2522
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2539
2523
|
emit?: boolean | undefined;
|
|
2540
2524
|
filename?: string | undefined;
|
|
@@ -2545,8 +2529,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2545
2529
|
encoding?: false | "base64" | undefined;
|
|
2546
2530
|
mimetype?: string | undefined;
|
|
2547
2531
|
} | ((args_0: {
|
|
2548
|
-
content: string;
|
|
2549
2532
|
filename: string;
|
|
2533
|
+
content: string;
|
|
2550
2534
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2551
2535
|
} | undefined;
|
|
2552
2536
|
"asset/resource"?: {
|
|
@@ -2557,19 +2541,16 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2557
2541
|
css?: {
|
|
2558
2542
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2559
2543
|
exportsOnly?: boolean | undefined;
|
|
2560
|
-
esModule?: boolean | undefined;
|
|
2561
2544
|
} | undefined;
|
|
2562
2545
|
"css/auto"?: {
|
|
2563
2546
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2564
2547
|
exportsOnly?: boolean | undefined;
|
|
2565
2548
|
localIdentName?: string | undefined;
|
|
2566
|
-
esModule?: boolean | undefined;
|
|
2567
2549
|
} | undefined;
|
|
2568
2550
|
"css/module"?: {
|
|
2569
2551
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2570
2552
|
exportsOnly?: boolean | undefined;
|
|
2571
2553
|
localIdentName?: string | undefined;
|
|
2572
|
-
esModule?: boolean | undefined;
|
|
2573
2554
|
} | undefined;
|
|
2574
2555
|
}>;
|
|
2575
2556
|
export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
|
|
@@ -2590,11 +2571,11 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2590
2571
|
content: z.ZodString;
|
|
2591
2572
|
filename: z.ZodString;
|
|
2592
2573
|
}, "strict", z.ZodTypeAny, {
|
|
2593
|
-
content: string;
|
|
2594
2574
|
filename: string;
|
|
2595
|
-
}, {
|
|
2596
2575
|
content: string;
|
|
2576
|
+
}, {
|
|
2597
2577
|
filename: string;
|
|
2578
|
+
content: string;
|
|
2598
2579
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2599
2580
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2600
2581
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2604,8 +2585,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2604
2585
|
encoding?: false | "base64" | undefined;
|
|
2605
2586
|
mimetype?: string | undefined;
|
|
2606
2587
|
} | ((args_0: {
|
|
2607
|
-
content: string;
|
|
2608
2588
|
filename: string;
|
|
2589
|
+
content: string;
|
|
2609
2590
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2610
2591
|
emit?: boolean | undefined;
|
|
2611
2592
|
filename?: string | undefined;
|
|
@@ -2615,8 +2596,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2615
2596
|
encoding?: false | "base64" | undefined;
|
|
2616
2597
|
mimetype?: string | undefined;
|
|
2617
2598
|
} | ((args_0: {
|
|
2618
|
-
content: string;
|
|
2619
2599
|
filename: string;
|
|
2600
|
+
content: string;
|
|
2620
2601
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2621
2602
|
emit?: boolean | undefined;
|
|
2622
2603
|
filename?: string | undefined;
|
|
@@ -2636,27 +2617,27 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2636
2617
|
content: z.ZodString;
|
|
2637
2618
|
filename: z.ZodString;
|
|
2638
2619
|
}, "strict", z.ZodTypeAny, {
|
|
2639
|
-
content: string;
|
|
2640
2620
|
filename: string;
|
|
2641
|
-
}, {
|
|
2642
2621
|
content: string;
|
|
2622
|
+
}, {
|
|
2643
2623
|
filename: string;
|
|
2624
|
+
content: string;
|
|
2644
2625
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2645
2626
|
}, "strict", z.ZodTypeAny, {
|
|
2646
2627
|
dataUrl?: {
|
|
2647
2628
|
encoding?: false | "base64" | undefined;
|
|
2648
2629
|
mimetype?: string | undefined;
|
|
2649
2630
|
} | ((args_0: {
|
|
2650
|
-
content: string;
|
|
2651
2631
|
filename: string;
|
|
2632
|
+
content: string;
|
|
2652
2633
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2653
2634
|
}, {
|
|
2654
2635
|
dataUrl?: {
|
|
2655
2636
|
encoding?: false | "base64" | undefined;
|
|
2656
2637
|
mimetype?: string | undefined;
|
|
2657
2638
|
} | ((args_0: {
|
|
2658
|
-
content: string;
|
|
2659
2639
|
filename: string;
|
|
2640
|
+
content: string;
|
|
2660
2641
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2661
2642
|
}>>;
|
|
2662
2643
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -2675,47 +2656,38 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2675
2656
|
css: z.ZodOptional<z.ZodObject<{
|
|
2676
2657
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2677
2658
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2678
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2679
2659
|
}, "strict", z.ZodTypeAny, {
|
|
2680
2660
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2681
2661
|
exportsOnly?: boolean | undefined;
|
|
2682
|
-
esModule?: boolean | undefined;
|
|
2683
2662
|
}, {
|
|
2684
2663
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2685
2664
|
exportsOnly?: boolean | undefined;
|
|
2686
|
-
esModule?: boolean | undefined;
|
|
2687
2665
|
}>>;
|
|
2688
2666
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2689
2667
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2690
2668
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2691
2669
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2692
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2693
2670
|
}, "strict", z.ZodTypeAny, {
|
|
2694
2671
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2695
2672
|
exportsOnly?: boolean | undefined;
|
|
2696
2673
|
localIdentName?: string | undefined;
|
|
2697
|
-
esModule?: boolean | undefined;
|
|
2698
2674
|
}, {
|
|
2699
2675
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2700
2676
|
exportsOnly?: boolean | undefined;
|
|
2701
2677
|
localIdentName?: string | undefined;
|
|
2702
|
-
esModule?: boolean | undefined;
|
|
2703
2678
|
}>>;
|
|
2704
2679
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2705
2680
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2706
2681
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2707
2682
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2708
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2709
2683
|
}, "strict", z.ZodTypeAny, {
|
|
2710
2684
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2711
2685
|
exportsOnly?: boolean | undefined;
|
|
2712
2686
|
localIdentName?: string | undefined;
|
|
2713
|
-
esModule?: boolean | undefined;
|
|
2714
2687
|
}, {
|
|
2715
2688
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2716
2689
|
exportsOnly?: boolean | undefined;
|
|
2717
2690
|
localIdentName?: string | undefined;
|
|
2718
|
-
esModule?: boolean | undefined;
|
|
2719
2691
|
}>>;
|
|
2720
2692
|
}, "strict", z.ZodTypeAny, {
|
|
2721
2693
|
asset?: {
|
|
@@ -2723,8 +2695,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2723
2695
|
encoding?: false | "base64" | undefined;
|
|
2724
2696
|
mimetype?: string | undefined;
|
|
2725
2697
|
} | ((args_0: {
|
|
2726
|
-
content: string;
|
|
2727
2698
|
filename: string;
|
|
2699
|
+
content: string;
|
|
2728
2700
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2729
2701
|
emit?: boolean | undefined;
|
|
2730
2702
|
filename?: string | undefined;
|
|
@@ -2735,8 +2707,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2735
2707
|
encoding?: false | "base64" | undefined;
|
|
2736
2708
|
mimetype?: string | undefined;
|
|
2737
2709
|
} | ((args_0: {
|
|
2738
|
-
content: string;
|
|
2739
2710
|
filename: string;
|
|
2711
|
+
content: string;
|
|
2740
2712
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2741
2713
|
} | undefined;
|
|
2742
2714
|
"asset/resource"?: {
|
|
@@ -2747,19 +2719,16 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2747
2719
|
css?: {
|
|
2748
2720
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2749
2721
|
exportsOnly?: boolean | undefined;
|
|
2750
|
-
esModule?: boolean | undefined;
|
|
2751
2722
|
} | undefined;
|
|
2752
2723
|
"css/auto"?: {
|
|
2753
2724
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2754
2725
|
exportsOnly?: boolean | undefined;
|
|
2755
2726
|
localIdentName?: string | undefined;
|
|
2756
|
-
esModule?: boolean | undefined;
|
|
2757
2727
|
} | undefined;
|
|
2758
2728
|
"css/module"?: {
|
|
2759
2729
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2760
2730
|
exportsOnly?: boolean | undefined;
|
|
2761
2731
|
localIdentName?: string | undefined;
|
|
2762
|
-
esModule?: boolean | undefined;
|
|
2763
2732
|
} | undefined;
|
|
2764
2733
|
}, {
|
|
2765
2734
|
asset?: {
|
|
@@ -2767,8 +2736,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2767
2736
|
encoding?: false | "base64" | undefined;
|
|
2768
2737
|
mimetype?: string | undefined;
|
|
2769
2738
|
} | ((args_0: {
|
|
2770
|
-
content: string;
|
|
2771
2739
|
filename: string;
|
|
2740
|
+
content: string;
|
|
2772
2741
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2773
2742
|
emit?: boolean | undefined;
|
|
2774
2743
|
filename?: string | undefined;
|
|
@@ -2779,8 +2748,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2779
2748
|
encoding?: false | "base64" | undefined;
|
|
2780
2749
|
mimetype?: string | undefined;
|
|
2781
2750
|
} | ((args_0: {
|
|
2782
|
-
content: string;
|
|
2783
2751
|
filename: string;
|
|
2752
|
+
content: string;
|
|
2784
2753
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2785
2754
|
} | undefined;
|
|
2786
2755
|
"asset/resource"?: {
|
|
@@ -2791,19 +2760,16 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2791
2760
|
css?: {
|
|
2792
2761
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2793
2762
|
exportsOnly?: boolean | undefined;
|
|
2794
|
-
esModule?: boolean | undefined;
|
|
2795
2763
|
} | undefined;
|
|
2796
2764
|
"css/auto"?: {
|
|
2797
2765
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2798
2766
|
exportsOnly?: boolean | undefined;
|
|
2799
2767
|
localIdentName?: string | undefined;
|
|
2800
|
-
esModule?: boolean | undefined;
|
|
2801
2768
|
} | undefined;
|
|
2802
2769
|
"css/module"?: {
|
|
2803
2770
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2804
2771
|
exportsOnly?: boolean | undefined;
|
|
2805
2772
|
localIdentName?: string | undefined;
|
|
2806
|
-
esModule?: boolean | undefined;
|
|
2807
2773
|
} | undefined;
|
|
2808
2774
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
2809
2775
|
export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
|
|
@@ -3049,11 +3015,11 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3049
3015
|
content: z.ZodString;
|
|
3050
3016
|
filename: z.ZodString;
|
|
3051
3017
|
}, "strict", z.ZodTypeAny, {
|
|
3052
|
-
content: string;
|
|
3053
3018
|
filename: string;
|
|
3054
|
-
}, {
|
|
3055
3019
|
content: string;
|
|
3020
|
+
}, {
|
|
3056
3021
|
filename: string;
|
|
3022
|
+
content: string;
|
|
3057
3023
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3058
3024
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
3059
3025
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -3063,8 +3029,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3063
3029
|
encoding?: false | "base64" | undefined;
|
|
3064
3030
|
mimetype?: string | undefined;
|
|
3065
3031
|
} | ((args_0: {
|
|
3066
|
-
content: string;
|
|
3067
3032
|
filename: string;
|
|
3033
|
+
content: string;
|
|
3068
3034
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3069
3035
|
emit?: boolean | undefined;
|
|
3070
3036
|
filename?: string | undefined;
|
|
@@ -3074,8 +3040,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3074
3040
|
encoding?: false | "base64" | undefined;
|
|
3075
3041
|
mimetype?: string | undefined;
|
|
3076
3042
|
} | ((args_0: {
|
|
3077
|
-
content: string;
|
|
3078
3043
|
filename: string;
|
|
3044
|
+
content: string;
|
|
3079
3045
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3080
3046
|
emit?: boolean | undefined;
|
|
3081
3047
|
filename?: string | undefined;
|
|
@@ -3095,27 +3061,27 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3095
3061
|
content: z.ZodString;
|
|
3096
3062
|
filename: z.ZodString;
|
|
3097
3063
|
}, "strict", z.ZodTypeAny, {
|
|
3098
|
-
content: string;
|
|
3099
3064
|
filename: string;
|
|
3100
|
-
}, {
|
|
3101
3065
|
content: string;
|
|
3066
|
+
}, {
|
|
3102
3067
|
filename: string;
|
|
3068
|
+
content: string;
|
|
3103
3069
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3104
3070
|
}, "strict", z.ZodTypeAny, {
|
|
3105
3071
|
dataUrl?: {
|
|
3106
3072
|
encoding?: false | "base64" | undefined;
|
|
3107
3073
|
mimetype?: string | undefined;
|
|
3108
3074
|
} | ((args_0: {
|
|
3109
|
-
content: string;
|
|
3110
3075
|
filename: string;
|
|
3076
|
+
content: string;
|
|
3111
3077
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3112
3078
|
}, {
|
|
3113
3079
|
dataUrl?: {
|
|
3114
3080
|
encoding?: false | "base64" | undefined;
|
|
3115
3081
|
mimetype?: string | undefined;
|
|
3116
3082
|
} | ((args_0: {
|
|
3117
|
-
content: string;
|
|
3118
3083
|
filename: string;
|
|
3084
|
+
content: string;
|
|
3119
3085
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3120
3086
|
}>>;
|
|
3121
3087
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -3134,47 +3100,38 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3134
3100
|
css: z.ZodOptional<z.ZodObject<{
|
|
3135
3101
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3136
3102
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3137
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3138
3103
|
}, "strict", z.ZodTypeAny, {
|
|
3139
3104
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3140
3105
|
exportsOnly?: boolean | undefined;
|
|
3141
|
-
esModule?: boolean | undefined;
|
|
3142
3106
|
}, {
|
|
3143
3107
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3144
3108
|
exportsOnly?: boolean | undefined;
|
|
3145
|
-
esModule?: boolean | undefined;
|
|
3146
3109
|
}>>;
|
|
3147
3110
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
3148
3111
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3149
3112
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3150
3113
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3151
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3152
3114
|
}, "strict", z.ZodTypeAny, {
|
|
3153
3115
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3154
3116
|
exportsOnly?: boolean | undefined;
|
|
3155
3117
|
localIdentName?: string | undefined;
|
|
3156
|
-
esModule?: boolean | undefined;
|
|
3157
3118
|
}, {
|
|
3158
3119
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3159
3120
|
exportsOnly?: boolean | undefined;
|
|
3160
3121
|
localIdentName?: string | undefined;
|
|
3161
|
-
esModule?: boolean | undefined;
|
|
3162
3122
|
}>>;
|
|
3163
3123
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
3164
3124
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3165
3125
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3166
3126
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3167
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3168
3127
|
}, "strict", z.ZodTypeAny, {
|
|
3169
3128
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3170
3129
|
exportsOnly?: boolean | undefined;
|
|
3171
3130
|
localIdentName?: string | undefined;
|
|
3172
|
-
esModule?: boolean | undefined;
|
|
3173
3131
|
}, {
|
|
3174
3132
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3175
3133
|
exportsOnly?: boolean | undefined;
|
|
3176
3134
|
localIdentName?: string | undefined;
|
|
3177
|
-
esModule?: boolean | undefined;
|
|
3178
3135
|
}>>;
|
|
3179
3136
|
}, "strict", z.ZodTypeAny, {
|
|
3180
3137
|
asset?: {
|
|
@@ -3182,8 +3139,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3182
3139
|
encoding?: false | "base64" | undefined;
|
|
3183
3140
|
mimetype?: string | undefined;
|
|
3184
3141
|
} | ((args_0: {
|
|
3185
|
-
content: string;
|
|
3186
3142
|
filename: string;
|
|
3143
|
+
content: string;
|
|
3187
3144
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3188
3145
|
emit?: boolean | undefined;
|
|
3189
3146
|
filename?: string | undefined;
|
|
@@ -3194,8 +3151,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3194
3151
|
encoding?: false | "base64" | undefined;
|
|
3195
3152
|
mimetype?: string | undefined;
|
|
3196
3153
|
} | ((args_0: {
|
|
3197
|
-
content: string;
|
|
3198
3154
|
filename: string;
|
|
3155
|
+
content: string;
|
|
3199
3156
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3200
3157
|
} | undefined;
|
|
3201
3158
|
"asset/resource"?: {
|
|
@@ -3206,19 +3163,16 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3206
3163
|
css?: {
|
|
3207
3164
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3208
3165
|
exportsOnly?: boolean | undefined;
|
|
3209
|
-
esModule?: boolean | undefined;
|
|
3210
3166
|
} | undefined;
|
|
3211
3167
|
"css/auto"?: {
|
|
3212
3168
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3213
3169
|
exportsOnly?: boolean | undefined;
|
|
3214
3170
|
localIdentName?: string | undefined;
|
|
3215
|
-
esModule?: boolean | undefined;
|
|
3216
3171
|
} | undefined;
|
|
3217
3172
|
"css/module"?: {
|
|
3218
3173
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3219
3174
|
exportsOnly?: boolean | undefined;
|
|
3220
3175
|
localIdentName?: string | undefined;
|
|
3221
|
-
esModule?: boolean | undefined;
|
|
3222
3176
|
} | undefined;
|
|
3223
3177
|
}, {
|
|
3224
3178
|
asset?: {
|
|
@@ -3226,8 +3180,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3226
3180
|
encoding?: false | "base64" | undefined;
|
|
3227
3181
|
mimetype?: string | undefined;
|
|
3228
3182
|
} | ((args_0: {
|
|
3229
|
-
content: string;
|
|
3230
3183
|
filename: string;
|
|
3184
|
+
content: string;
|
|
3231
3185
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3232
3186
|
emit?: boolean | undefined;
|
|
3233
3187
|
filename?: string | undefined;
|
|
@@ -3238,8 +3192,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3238
3192
|
encoding?: false | "base64" | undefined;
|
|
3239
3193
|
mimetype?: string | undefined;
|
|
3240
3194
|
} | ((args_0: {
|
|
3241
|
-
content: string;
|
|
3242
3195
|
filename: string;
|
|
3196
|
+
content: string;
|
|
3243
3197
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3244
3198
|
} | undefined;
|
|
3245
3199
|
"asset/resource"?: {
|
|
@@ -3250,19 +3204,16 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3250
3204
|
css?: {
|
|
3251
3205
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3252
3206
|
exportsOnly?: boolean | undefined;
|
|
3253
|
-
esModule?: boolean | undefined;
|
|
3254
3207
|
} | undefined;
|
|
3255
3208
|
"css/auto"?: {
|
|
3256
3209
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3257
3210
|
exportsOnly?: boolean | undefined;
|
|
3258
3211
|
localIdentName?: string | undefined;
|
|
3259
|
-
esModule?: boolean | undefined;
|
|
3260
3212
|
} | undefined;
|
|
3261
3213
|
"css/module"?: {
|
|
3262
3214
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3263
3215
|
exportsOnly?: boolean | undefined;
|
|
3264
3216
|
localIdentName?: string | undefined;
|
|
3265
|
-
esModule?: boolean | undefined;
|
|
3266
3217
|
} | undefined;
|
|
3267
3218
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
3268
3219
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
@@ -3323,8 +3274,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3323
3274
|
encoding?: false | "base64" | undefined;
|
|
3324
3275
|
mimetype?: string | undefined;
|
|
3325
3276
|
} | ((args_0: {
|
|
3326
|
-
content: string;
|
|
3327
3277
|
filename: string;
|
|
3278
|
+
content: string;
|
|
3328
3279
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3329
3280
|
emit?: boolean | undefined;
|
|
3330
3281
|
filename?: string | undefined;
|
|
@@ -3335,8 +3286,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3335
3286
|
encoding?: false | "base64" | undefined;
|
|
3336
3287
|
mimetype?: string | undefined;
|
|
3337
3288
|
} | ((args_0: {
|
|
3338
|
-
content: string;
|
|
3339
3289
|
filename: string;
|
|
3290
|
+
content: string;
|
|
3340
3291
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3341
3292
|
} | undefined;
|
|
3342
3293
|
"asset/resource"?: {
|
|
@@ -3347,19 +3298,16 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3347
3298
|
css?: {
|
|
3348
3299
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3349
3300
|
exportsOnly?: boolean | undefined;
|
|
3350
|
-
esModule?: boolean | undefined;
|
|
3351
3301
|
} | undefined;
|
|
3352
3302
|
"css/auto"?: {
|
|
3353
3303
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3354
3304
|
exportsOnly?: boolean | undefined;
|
|
3355
3305
|
localIdentName?: string | undefined;
|
|
3356
|
-
esModule?: boolean | undefined;
|
|
3357
3306
|
} | undefined;
|
|
3358
3307
|
"css/module"?: {
|
|
3359
3308
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3360
3309
|
exportsOnly?: boolean | undefined;
|
|
3361
3310
|
localIdentName?: string | undefined;
|
|
3362
|
-
esModule?: boolean | undefined;
|
|
3363
3311
|
} | undefined;
|
|
3364
3312
|
} | undefined;
|
|
3365
3313
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -3420,8 +3368,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3420
3368
|
encoding?: false | "base64" | undefined;
|
|
3421
3369
|
mimetype?: string | undefined;
|
|
3422
3370
|
} | ((args_0: {
|
|
3423
|
-
content: string;
|
|
3424
3371
|
filename: string;
|
|
3372
|
+
content: string;
|
|
3425
3373
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3426
3374
|
emit?: boolean | undefined;
|
|
3427
3375
|
filename?: string | undefined;
|
|
@@ -3432,8 +3380,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3432
3380
|
encoding?: false | "base64" | undefined;
|
|
3433
3381
|
mimetype?: string | undefined;
|
|
3434
3382
|
} | ((args_0: {
|
|
3435
|
-
content: string;
|
|
3436
3383
|
filename: string;
|
|
3384
|
+
content: string;
|
|
3437
3385
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3438
3386
|
} | undefined;
|
|
3439
3387
|
"asset/resource"?: {
|
|
@@ -3444,19 +3392,16 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3444
3392
|
css?: {
|
|
3445
3393
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3446
3394
|
exportsOnly?: boolean | undefined;
|
|
3447
|
-
esModule?: boolean | undefined;
|
|
3448
3395
|
} | undefined;
|
|
3449
3396
|
"css/auto"?: {
|
|
3450
3397
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3451
3398
|
exportsOnly?: boolean | undefined;
|
|
3452
3399
|
localIdentName?: string | undefined;
|
|
3453
|
-
esModule?: boolean | undefined;
|
|
3454
3400
|
} | undefined;
|
|
3455
3401
|
"css/module"?: {
|
|
3456
3402
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3457
3403
|
exportsOnly?: boolean | undefined;
|
|
3458
3404
|
localIdentName?: string | undefined;
|
|
3459
|
-
esModule?: boolean | undefined;
|
|
3460
3405
|
} | undefined;
|
|
3461
3406
|
} | undefined;
|
|
3462
3407
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -3602,14 +3547,14 @@ declare const infrastructureLogging: z.ZodObject<{
|
|
|
3602
3547
|
colors?: boolean | undefined;
|
|
3603
3548
|
console?: Console | undefined;
|
|
3604
3549
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3605
|
-
level?: "
|
|
3550
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3606
3551
|
stream?: NodeJS.WritableStream | undefined;
|
|
3607
3552
|
}, {
|
|
3608
3553
|
appendOnly?: boolean | undefined;
|
|
3609
3554
|
colors?: boolean | undefined;
|
|
3610
3555
|
console?: Console | undefined;
|
|
3611
3556
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3612
|
-
level?: "
|
|
3557
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3613
3558
|
stream?: NodeJS.WritableStream | undefined;
|
|
3614
3559
|
}>;
|
|
3615
3560
|
export type InfrastructureLogging = z.infer<typeof infrastructureLogging>;
|
|
@@ -3724,7 +3669,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3724
3669
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
3725
3670
|
}, "strict", z.ZodTypeAny, {
|
|
3726
3671
|
all?: boolean | undefined;
|
|
3727
|
-
preset?: "
|
|
3672
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3728
3673
|
assets?: boolean | undefined;
|
|
3729
3674
|
chunks?: boolean | undefined;
|
|
3730
3675
|
modules?: boolean | undefined;
|
|
@@ -3749,7 +3694,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3749
3694
|
modulesSpace?: number | undefined;
|
|
3750
3695
|
nestedModules?: boolean | undefined;
|
|
3751
3696
|
source?: boolean | undefined;
|
|
3752
|
-
logging?: boolean | "
|
|
3697
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3753
3698
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3754
3699
|
loggingTrace?: boolean | undefined;
|
|
3755
3700
|
runtimeModules?: boolean | undefined;
|
|
@@ -3760,7 +3705,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3760
3705
|
orphanModules?: boolean | undefined;
|
|
3761
3706
|
}, {
|
|
3762
3707
|
all?: boolean | undefined;
|
|
3763
|
-
preset?: "
|
|
3708
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3764
3709
|
assets?: boolean | undefined;
|
|
3765
3710
|
chunks?: boolean | undefined;
|
|
3766
3711
|
modules?: boolean | undefined;
|
|
@@ -3785,7 +3730,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3785
3730
|
modulesSpace?: number | undefined;
|
|
3786
3731
|
nestedModules?: boolean | undefined;
|
|
3787
3732
|
source?: boolean | undefined;
|
|
3788
|
-
logging?: boolean | "
|
|
3733
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3789
3734
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3790
3735
|
loggingTrace?: boolean | undefined;
|
|
3791
3736
|
runtimeModules?: boolean | undefined;
|
|
@@ -3834,7 +3779,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3834
3779
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
3835
3780
|
}, "strict", z.ZodTypeAny, {
|
|
3836
3781
|
all?: boolean | undefined;
|
|
3837
|
-
preset?: "
|
|
3782
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3838
3783
|
assets?: boolean | undefined;
|
|
3839
3784
|
chunks?: boolean | undefined;
|
|
3840
3785
|
modules?: boolean | undefined;
|
|
@@ -3859,7 +3804,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3859
3804
|
modulesSpace?: number | undefined;
|
|
3860
3805
|
nestedModules?: boolean | undefined;
|
|
3861
3806
|
source?: boolean | undefined;
|
|
3862
|
-
logging?: boolean | "
|
|
3807
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3863
3808
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3864
3809
|
loggingTrace?: boolean | undefined;
|
|
3865
3810
|
runtimeModules?: boolean | undefined;
|
|
@@ -3870,7 +3815,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3870
3815
|
orphanModules?: boolean | undefined;
|
|
3871
3816
|
}, {
|
|
3872
3817
|
all?: boolean | undefined;
|
|
3873
|
-
preset?: "
|
|
3818
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3874
3819
|
assets?: boolean | undefined;
|
|
3875
3820
|
chunks?: boolean | undefined;
|
|
3876
3821
|
modules?: boolean | undefined;
|
|
@@ -3895,7 +3840,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3895
3840
|
modulesSpace?: number | undefined;
|
|
3896
3841
|
nestedModules?: boolean | undefined;
|
|
3897
3842
|
source?: boolean | undefined;
|
|
3898
|
-
logging?: boolean | "
|
|
3843
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
3899
3844
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3900
3845
|
loggingTrace?: boolean | undefined;
|
|
3901
3846
|
runtimeModules?: boolean | undefined;
|
|
@@ -3951,7 +3896,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
3951
3896
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
3952
3897
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3953
3898
|
}, "strict", z.ZodTypeAny, {
|
|
3954
|
-
chunks?: RegExp | "async" | "
|
|
3899
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3955
3900
|
defaultSizeTypes?: string[] | undefined;
|
|
3956
3901
|
minChunks?: number | undefined;
|
|
3957
3902
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -3968,7 +3913,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
3968
3913
|
type?: string | RegExp | undefined;
|
|
3969
3914
|
idHint?: string | undefined;
|
|
3970
3915
|
}, {
|
|
3971
|
-
chunks?: RegExp | "async" | "
|
|
3916
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3972
3917
|
defaultSizeTypes?: string[] | undefined;
|
|
3973
3918
|
minChunks?: number | undefined;
|
|
3974
3919
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4014,7 +3959,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4014
3959
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4015
3960
|
idHint: z.ZodOptional<z.ZodString>;
|
|
4016
3961
|
}, "strict", z.ZodTypeAny, {
|
|
4017
|
-
chunks?: RegExp | "async" | "
|
|
3962
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4018
3963
|
defaultSizeTypes?: string[] | undefined;
|
|
4019
3964
|
minChunks?: number | undefined;
|
|
4020
3965
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4031,7 +3976,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4031
3976
|
type?: string | RegExp | undefined;
|
|
4032
3977
|
idHint?: string | undefined;
|
|
4033
3978
|
}, {
|
|
4034
|
-
chunks?: RegExp | "async" | "
|
|
3979
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4035
3980
|
defaultSizeTypes?: string[] | undefined;
|
|
4036
3981
|
minChunks?: number | undefined;
|
|
4037
3982
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4058,14 +4003,14 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4058
4003
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4059
4004
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4060
4005
|
}, "strict", z.ZodTypeAny, {
|
|
4061
|
-
chunks?: RegExp | "async" | "
|
|
4006
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4062
4007
|
minSize?: number | undefined;
|
|
4063
4008
|
maxSize?: number | undefined;
|
|
4064
4009
|
maxAsyncSize?: number | undefined;
|
|
4065
4010
|
maxInitialSize?: number | undefined;
|
|
4066
4011
|
automaticNameDelimiter?: string | undefined;
|
|
4067
4012
|
}, {
|
|
4068
|
-
chunks?: RegExp | "async" | "
|
|
4013
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4069
4014
|
minSize?: number | undefined;
|
|
4070
4015
|
maxSize?: number | undefined;
|
|
4071
4016
|
maxAsyncSize?: number | undefined;
|
|
@@ -4074,7 +4019,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4074
4019
|
}>>;
|
|
4075
4020
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4076
4021
|
}, "strict", z.ZodTypeAny, {
|
|
4077
|
-
chunks?: RegExp | "async" | "
|
|
4022
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4078
4023
|
defaultSizeTypes?: string[] | undefined;
|
|
4079
4024
|
minChunks?: number | undefined;
|
|
4080
4025
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4084,7 +4029,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4084
4029
|
maxInitialSize?: number | undefined;
|
|
4085
4030
|
automaticNameDelimiter?: string | undefined;
|
|
4086
4031
|
cacheGroups?: Record<string, false | {
|
|
4087
|
-
chunks?: RegExp | "async" | "
|
|
4032
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4088
4033
|
defaultSizeTypes?: string[] | undefined;
|
|
4089
4034
|
minChunks?: number | undefined;
|
|
4090
4035
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4104,7 +4049,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4104
4049
|
maxAsyncRequests?: number | undefined;
|
|
4105
4050
|
maxInitialRequests?: number | undefined;
|
|
4106
4051
|
fallbackCacheGroup?: {
|
|
4107
|
-
chunks?: RegExp | "async" | "
|
|
4052
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4108
4053
|
minSize?: number | undefined;
|
|
4109
4054
|
maxSize?: number | undefined;
|
|
4110
4055
|
maxAsyncSize?: number | undefined;
|
|
@@ -4113,7 +4058,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4113
4058
|
} | undefined;
|
|
4114
4059
|
hidePathInfo?: boolean | undefined;
|
|
4115
4060
|
}, {
|
|
4116
|
-
chunks?: RegExp | "async" | "
|
|
4061
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4117
4062
|
defaultSizeTypes?: string[] | undefined;
|
|
4118
4063
|
minChunks?: number | undefined;
|
|
4119
4064
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4123,7 +4068,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4123
4068
|
maxInitialSize?: number | undefined;
|
|
4124
4069
|
automaticNameDelimiter?: string | undefined;
|
|
4125
4070
|
cacheGroups?: Record<string, false | {
|
|
4126
|
-
chunks?: RegExp | "async" | "
|
|
4071
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4127
4072
|
defaultSizeTypes?: string[] | undefined;
|
|
4128
4073
|
minChunks?: number | undefined;
|
|
4129
4074
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4143,7 +4088,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4143
4088
|
maxAsyncRequests?: number | undefined;
|
|
4144
4089
|
maxInitialRequests?: number | undefined;
|
|
4145
4090
|
fallbackCacheGroup?: {
|
|
4146
|
-
chunks?: RegExp | "async" | "
|
|
4091
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4147
4092
|
minSize?: number | undefined;
|
|
4148
4093
|
maxSize?: number | undefined;
|
|
4149
4094
|
maxAsyncSize?: number | undefined;
|
|
@@ -4187,7 +4132,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4187
4132
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4188
4133
|
idHint: z.ZodOptional<z.ZodString>;
|
|
4189
4134
|
}, "strict", z.ZodTypeAny, {
|
|
4190
|
-
chunks?: RegExp | "async" | "
|
|
4135
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4191
4136
|
defaultSizeTypes?: string[] | undefined;
|
|
4192
4137
|
minChunks?: number | undefined;
|
|
4193
4138
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4204,7 +4149,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4204
4149
|
type?: string | RegExp | undefined;
|
|
4205
4150
|
idHint?: string | undefined;
|
|
4206
4151
|
}, {
|
|
4207
|
-
chunks?: RegExp | "async" | "
|
|
4152
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4208
4153
|
defaultSizeTypes?: string[] | undefined;
|
|
4209
4154
|
minChunks?: number | undefined;
|
|
4210
4155
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4231,14 +4176,14 @@ declare const optimization: z.ZodObject<{
|
|
|
4231
4176
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4232
4177
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4233
4178
|
}, "strict", z.ZodTypeAny, {
|
|
4234
|
-
chunks?: RegExp | "async" | "
|
|
4179
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4235
4180
|
minSize?: number | undefined;
|
|
4236
4181
|
maxSize?: number | undefined;
|
|
4237
4182
|
maxAsyncSize?: number | undefined;
|
|
4238
4183
|
maxInitialSize?: number | undefined;
|
|
4239
4184
|
automaticNameDelimiter?: string | undefined;
|
|
4240
4185
|
}, {
|
|
4241
|
-
chunks?: RegExp | "async" | "
|
|
4186
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4242
4187
|
minSize?: number | undefined;
|
|
4243
4188
|
maxSize?: number | undefined;
|
|
4244
4189
|
maxAsyncSize?: number | undefined;
|
|
@@ -4247,7 +4192,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4247
4192
|
}>>;
|
|
4248
4193
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4249
4194
|
}, "strict", z.ZodTypeAny, {
|
|
4250
|
-
chunks?: RegExp | "async" | "
|
|
4195
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4251
4196
|
defaultSizeTypes?: string[] | undefined;
|
|
4252
4197
|
minChunks?: number | undefined;
|
|
4253
4198
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4257,7 +4202,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4257
4202
|
maxInitialSize?: number | undefined;
|
|
4258
4203
|
automaticNameDelimiter?: string | undefined;
|
|
4259
4204
|
cacheGroups?: Record<string, false | {
|
|
4260
|
-
chunks?: RegExp | "async" | "
|
|
4205
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4261
4206
|
defaultSizeTypes?: string[] | undefined;
|
|
4262
4207
|
minChunks?: number | undefined;
|
|
4263
4208
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4277,7 +4222,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4277
4222
|
maxAsyncRequests?: number | undefined;
|
|
4278
4223
|
maxInitialRequests?: number | undefined;
|
|
4279
4224
|
fallbackCacheGroup?: {
|
|
4280
|
-
chunks?: RegExp | "async" | "
|
|
4225
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4281
4226
|
minSize?: number | undefined;
|
|
4282
4227
|
maxSize?: number | undefined;
|
|
4283
4228
|
maxAsyncSize?: number | undefined;
|
|
@@ -4286,7 +4231,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4286
4231
|
} | undefined;
|
|
4287
4232
|
hidePathInfo?: boolean | undefined;
|
|
4288
4233
|
}, {
|
|
4289
|
-
chunks?: RegExp | "async" | "
|
|
4234
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4290
4235
|
defaultSizeTypes?: string[] | undefined;
|
|
4291
4236
|
minChunks?: number | undefined;
|
|
4292
4237
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4296,7 +4241,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4296
4241
|
maxInitialSize?: number | undefined;
|
|
4297
4242
|
automaticNameDelimiter?: string | undefined;
|
|
4298
4243
|
cacheGroups?: Record<string, false | {
|
|
4299
|
-
chunks?: RegExp | "async" | "
|
|
4244
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4300
4245
|
defaultSizeTypes?: string[] | undefined;
|
|
4301
4246
|
minChunks?: number | undefined;
|
|
4302
4247
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4316,7 +4261,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4316
4261
|
maxAsyncRequests?: number | undefined;
|
|
4317
4262
|
maxInitialRequests?: number | undefined;
|
|
4318
4263
|
fallbackCacheGroup?: {
|
|
4319
|
-
chunks?: RegExp | "async" | "
|
|
4264
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4320
4265
|
minSize?: number | undefined;
|
|
4321
4266
|
maxSize?: number | undefined;
|
|
4322
4267
|
maxAsyncSize?: number | undefined;
|
|
@@ -4356,10 +4301,10 @@ declare const optimization: z.ZodObject<{
|
|
|
4356
4301
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
4357
4302
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
4358
4303
|
minimize?: boolean | undefined;
|
|
4359
|
-
minimizer?: (false | "" | 0 |
|
|
4304
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4360
4305
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4361
4306
|
splitChunks?: false | {
|
|
4362
|
-
chunks?: RegExp | "async" | "
|
|
4307
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4363
4308
|
defaultSizeTypes?: string[] | undefined;
|
|
4364
4309
|
minChunks?: number | undefined;
|
|
4365
4310
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4369,7 +4314,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4369
4314
|
maxInitialSize?: number | undefined;
|
|
4370
4315
|
automaticNameDelimiter?: string | undefined;
|
|
4371
4316
|
cacheGroups?: Record<string, false | {
|
|
4372
|
-
chunks?: RegExp | "async" | "
|
|
4317
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4373
4318
|
defaultSizeTypes?: string[] | undefined;
|
|
4374
4319
|
minChunks?: number | undefined;
|
|
4375
4320
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4389,7 +4334,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4389
4334
|
maxAsyncRequests?: number | undefined;
|
|
4390
4335
|
maxInitialRequests?: number | undefined;
|
|
4391
4336
|
fallbackCacheGroup?: {
|
|
4392
|
-
chunks?: RegExp | "async" | "
|
|
4337
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4393
4338
|
minSize?: number | undefined;
|
|
4394
4339
|
maxSize?: number | undefined;
|
|
4395
4340
|
maxAsyncSize?: number | undefined;
|
|
@@ -4411,16 +4356,16 @@ declare const optimization: z.ZodObject<{
|
|
|
4411
4356
|
concatenateModules?: boolean | undefined;
|
|
4412
4357
|
innerGraph?: boolean | undefined;
|
|
4413
4358
|
usedExports?: boolean | "global" | undefined;
|
|
4414
|
-
mangleExports?: boolean | "
|
|
4359
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
4415
4360
|
nodeEnv?: string | false | undefined;
|
|
4416
4361
|
}, {
|
|
4417
4362
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
4418
4363
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
4419
4364
|
minimize?: boolean | undefined;
|
|
4420
|
-
minimizer?: (false | "" | 0 |
|
|
4365
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4421
4366
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4422
4367
|
splitChunks?: false | {
|
|
4423
|
-
chunks?: RegExp | "async" | "
|
|
4368
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4424
4369
|
defaultSizeTypes?: string[] | undefined;
|
|
4425
4370
|
minChunks?: number | undefined;
|
|
4426
4371
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4430,7 +4375,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4430
4375
|
maxInitialSize?: number | undefined;
|
|
4431
4376
|
automaticNameDelimiter?: string | undefined;
|
|
4432
4377
|
cacheGroups?: Record<string, false | {
|
|
4433
|
-
chunks?: RegExp | "async" | "
|
|
4378
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4434
4379
|
defaultSizeTypes?: string[] | undefined;
|
|
4435
4380
|
minChunks?: number | undefined;
|
|
4436
4381
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4450,7 +4395,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4450
4395
|
maxAsyncRequests?: number | undefined;
|
|
4451
4396
|
maxInitialRequests?: number | undefined;
|
|
4452
4397
|
fallbackCacheGroup?: {
|
|
4453
|
-
chunks?: RegExp | "async" | "
|
|
4398
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4454
4399
|
minSize?: number | undefined;
|
|
4455
4400
|
maxSize?: number | undefined;
|
|
4456
4401
|
maxAsyncSize?: number | undefined;
|
|
@@ -4472,7 +4417,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4472
4417
|
concatenateModules?: boolean | undefined;
|
|
4473
4418
|
innerGraph?: boolean | undefined;
|
|
4474
4419
|
usedExports?: boolean | "global" | undefined;
|
|
4475
|
-
mangleExports?: boolean | "
|
|
4420
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
4476
4421
|
nodeEnv?: string | false | undefined;
|
|
4477
4422
|
}>;
|
|
4478
4423
|
export type Optimization = z.infer<typeof optimization>;
|
|
@@ -4502,37 +4447,12 @@ declare const rspackFutureOptions: z.ZodObject<{
|
|
|
4502
4447
|
} | undefined;
|
|
4503
4448
|
}>;
|
|
4504
4449
|
export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
|
|
4505
|
-
declare const lazyCompilationOptions: z.ZodObject<{
|
|
4506
|
-
imports: z.ZodOptional<z.ZodBoolean>;
|
|
4507
|
-
entries: z.ZodOptional<z.ZodBoolean>;
|
|
4508
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4509
|
-
}, "strip", z.ZodTypeAny, {
|
|
4510
|
-
imports?: boolean | undefined;
|
|
4511
|
-
entries?: boolean | undefined;
|
|
4512
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4513
|
-
}, {
|
|
4514
|
-
imports?: boolean | undefined;
|
|
4515
|
-
entries?: boolean | undefined;
|
|
4516
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4517
|
-
}>;
|
|
4518
|
-
export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
|
|
4519
4450
|
declare const experiments: z.ZodObject<{
|
|
4520
|
-
lazyCompilation: z.
|
|
4521
|
-
imports: z.ZodOptional<z.ZodBoolean>;
|
|
4522
|
-
entries: z.ZodOptional<z.ZodBoolean>;
|
|
4523
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4524
|
-
}, "strip", z.ZodTypeAny, {
|
|
4525
|
-
imports?: boolean | undefined;
|
|
4526
|
-
entries?: boolean | undefined;
|
|
4527
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4528
|
-
}, {
|
|
4529
|
-
imports?: boolean | undefined;
|
|
4530
|
-
entries?: boolean | undefined;
|
|
4531
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4532
|
-
}>]>;
|
|
4451
|
+
lazyCompilation: z.ZodOptional<z.ZodBoolean>;
|
|
4533
4452
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
4534
4453
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
4535
4454
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
4455
|
+
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
4536
4456
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
4537
4457
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
4538
4458
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -4561,14 +4481,11 @@ declare const experiments: z.ZodObject<{
|
|
|
4561
4481
|
} | undefined;
|
|
4562
4482
|
}>>;
|
|
4563
4483
|
}, "strict", z.ZodTypeAny, {
|
|
4564
|
-
lazyCompilation?: boolean |
|
|
4565
|
-
imports?: boolean | undefined;
|
|
4566
|
-
entries?: boolean | undefined;
|
|
4567
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4568
|
-
} | undefined;
|
|
4484
|
+
lazyCompilation?: boolean | undefined;
|
|
4569
4485
|
asyncWebAssembly?: boolean | undefined;
|
|
4570
4486
|
outputModule?: boolean | undefined;
|
|
4571
4487
|
topLevelAwait?: boolean | undefined;
|
|
4488
|
+
newSplitChunks?: boolean | undefined;
|
|
4572
4489
|
css?: boolean | undefined;
|
|
4573
4490
|
futureDefaults?: boolean | undefined;
|
|
4574
4491
|
rspackFuture?: {
|
|
@@ -4579,14 +4496,11 @@ declare const experiments: z.ZodObject<{
|
|
|
4579
4496
|
} | undefined;
|
|
4580
4497
|
} | undefined;
|
|
4581
4498
|
}, {
|
|
4582
|
-
lazyCompilation?: boolean |
|
|
4583
|
-
imports?: boolean | undefined;
|
|
4584
|
-
entries?: boolean | undefined;
|
|
4585
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
4586
|
-
} | undefined;
|
|
4499
|
+
lazyCompilation?: boolean | undefined;
|
|
4587
4500
|
asyncWebAssembly?: boolean | undefined;
|
|
4588
4501
|
outputModule?: boolean | undefined;
|
|
4589
4502
|
topLevelAwait?: boolean | undefined;
|
|
4503
|
+
newSplitChunks?: boolean | undefined;
|
|
4590
4504
|
css?: boolean | undefined;
|
|
4591
4505
|
futureDefaults?: boolean | undefined;
|
|
4592
4506
|
rspackFuture?: {
|
|
@@ -5217,22 +5131,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5217
5131
|
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">]>>;
|
|
5218
5132
|
mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
|
|
5219
5133
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
5220
|
-
lazyCompilation: z.
|
|
5221
|
-
imports: z.ZodOptional<z.ZodBoolean>;
|
|
5222
|
-
entries: z.ZodOptional<z.ZodBoolean>;
|
|
5223
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
5224
|
-
}, "strip", z.ZodTypeAny, {
|
|
5225
|
-
imports?: boolean | undefined;
|
|
5226
|
-
entries?: boolean | undefined;
|
|
5227
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5228
|
-
}, {
|
|
5229
|
-
imports?: boolean | undefined;
|
|
5230
|
-
entries?: boolean | undefined;
|
|
5231
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5232
|
-
}>]>;
|
|
5134
|
+
lazyCompilation: z.ZodOptional<z.ZodBoolean>;
|
|
5233
5135
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
5234
5136
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
5235
5137
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
5138
|
+
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
5236
5139
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
5237
5140
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
5238
5141
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -5261,14 +5164,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5261
5164
|
} | undefined;
|
|
5262
5165
|
}>>;
|
|
5263
5166
|
}, "strict", z.ZodTypeAny, {
|
|
5264
|
-
lazyCompilation?: boolean |
|
|
5265
|
-
imports?: boolean | undefined;
|
|
5266
|
-
entries?: boolean | undefined;
|
|
5267
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5268
|
-
} | undefined;
|
|
5167
|
+
lazyCompilation?: boolean | undefined;
|
|
5269
5168
|
asyncWebAssembly?: boolean | undefined;
|
|
5270
5169
|
outputModule?: boolean | undefined;
|
|
5271
5170
|
topLevelAwait?: boolean | undefined;
|
|
5171
|
+
newSplitChunks?: boolean | undefined;
|
|
5272
5172
|
css?: boolean | undefined;
|
|
5273
5173
|
futureDefaults?: boolean | undefined;
|
|
5274
5174
|
rspackFuture?: {
|
|
@@ -5279,14 +5179,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5279
5179
|
} | undefined;
|
|
5280
5180
|
} | undefined;
|
|
5281
5181
|
}, {
|
|
5282
|
-
lazyCompilation?: boolean |
|
|
5283
|
-
imports?: boolean | undefined;
|
|
5284
|
-
entries?: boolean | undefined;
|
|
5285
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5286
|
-
} | undefined;
|
|
5182
|
+
lazyCompilation?: boolean | undefined;
|
|
5287
5183
|
asyncWebAssembly?: boolean | undefined;
|
|
5288
5184
|
outputModule?: boolean | undefined;
|
|
5289
5185
|
topLevelAwait?: boolean | undefined;
|
|
5186
|
+
newSplitChunks?: boolean | undefined;
|
|
5290
5187
|
css?: boolean | undefined;
|
|
5291
5188
|
futureDefaults?: boolean | undefined;
|
|
5292
5189
|
rspackFuture?: {
|
|
@@ -5384,14 +5281,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5384
5281
|
colors?: boolean | undefined;
|
|
5385
5282
|
console?: Console | undefined;
|
|
5386
5283
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5387
|
-
level?: "
|
|
5284
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
5388
5285
|
stream?: NodeJS.WritableStream | undefined;
|
|
5389
5286
|
}, {
|
|
5390
5287
|
appendOnly?: boolean | undefined;
|
|
5391
5288
|
colors?: boolean | undefined;
|
|
5392
5289
|
console?: Console | undefined;
|
|
5393
5290
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5394
|
-
level?: "
|
|
5291
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
5395
5292
|
stream?: NodeJS.WritableStream | undefined;
|
|
5396
5293
|
}>>;
|
|
5397
5294
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5469,7 +5366,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5469
5366
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
5470
5367
|
}, "strict", z.ZodTypeAny, {
|
|
5471
5368
|
all?: boolean | undefined;
|
|
5472
|
-
preset?: "
|
|
5369
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5473
5370
|
assets?: boolean | undefined;
|
|
5474
5371
|
chunks?: boolean | undefined;
|
|
5475
5372
|
modules?: boolean | undefined;
|
|
@@ -5494,7 +5391,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5494
5391
|
modulesSpace?: number | undefined;
|
|
5495
5392
|
nestedModules?: boolean | undefined;
|
|
5496
5393
|
source?: boolean | undefined;
|
|
5497
|
-
logging?: boolean | "
|
|
5394
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
5498
5395
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5499
5396
|
loggingTrace?: boolean | undefined;
|
|
5500
5397
|
runtimeModules?: boolean | undefined;
|
|
@@ -5505,7 +5402,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5505
5402
|
orphanModules?: boolean | undefined;
|
|
5506
5403
|
}, {
|
|
5507
5404
|
all?: boolean | undefined;
|
|
5508
|
-
preset?: "
|
|
5405
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5509
5406
|
assets?: boolean | undefined;
|
|
5510
5407
|
chunks?: boolean | undefined;
|
|
5511
5408
|
modules?: boolean | undefined;
|
|
@@ -5530,7 +5427,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5530
5427
|
modulesSpace?: number | undefined;
|
|
5531
5428
|
nestedModules?: boolean | undefined;
|
|
5532
5429
|
source?: boolean | undefined;
|
|
5533
|
-
logging?: boolean | "
|
|
5430
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
5534
5431
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5535
5432
|
loggingTrace?: boolean | undefined;
|
|
5536
5433
|
runtimeModules?: boolean | undefined;
|
|
@@ -5614,7 +5511,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5614
5511
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
5615
5512
|
idHint: z.ZodOptional<z.ZodString>;
|
|
5616
5513
|
}, "strict", z.ZodTypeAny, {
|
|
5617
|
-
chunks?: RegExp | "async" | "
|
|
5514
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5618
5515
|
defaultSizeTypes?: string[] | undefined;
|
|
5619
5516
|
minChunks?: number | undefined;
|
|
5620
5517
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5631,7 +5528,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5631
5528
|
type?: string | RegExp | undefined;
|
|
5632
5529
|
idHint?: string | undefined;
|
|
5633
5530
|
}, {
|
|
5634
|
-
chunks?: RegExp | "async" | "
|
|
5531
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5635
5532
|
defaultSizeTypes?: string[] | undefined;
|
|
5636
5533
|
minChunks?: number | undefined;
|
|
5637
5534
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5658,14 +5555,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5658
5555
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
5659
5556
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5660
5557
|
}, "strict", z.ZodTypeAny, {
|
|
5661
|
-
chunks?: RegExp | "async" | "
|
|
5558
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5662
5559
|
minSize?: number | undefined;
|
|
5663
5560
|
maxSize?: number | undefined;
|
|
5664
5561
|
maxAsyncSize?: number | undefined;
|
|
5665
5562
|
maxInitialSize?: number | undefined;
|
|
5666
5563
|
automaticNameDelimiter?: string | undefined;
|
|
5667
5564
|
}, {
|
|
5668
|
-
chunks?: RegExp | "async" | "
|
|
5565
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5669
5566
|
minSize?: number | undefined;
|
|
5670
5567
|
maxSize?: number | undefined;
|
|
5671
5568
|
maxAsyncSize?: number | undefined;
|
|
@@ -5674,7 +5571,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5674
5571
|
}>>;
|
|
5675
5572
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
5676
5573
|
}, "strict", z.ZodTypeAny, {
|
|
5677
|
-
chunks?: RegExp | "async" | "
|
|
5574
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5678
5575
|
defaultSizeTypes?: string[] | undefined;
|
|
5679
5576
|
minChunks?: number | undefined;
|
|
5680
5577
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5684,7 +5581,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5684
5581
|
maxInitialSize?: number | undefined;
|
|
5685
5582
|
automaticNameDelimiter?: string | undefined;
|
|
5686
5583
|
cacheGroups?: Record<string, false | {
|
|
5687
|
-
chunks?: RegExp | "async" | "
|
|
5584
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5688
5585
|
defaultSizeTypes?: string[] | undefined;
|
|
5689
5586
|
minChunks?: number | undefined;
|
|
5690
5587
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5704,7 +5601,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5704
5601
|
maxAsyncRequests?: number | undefined;
|
|
5705
5602
|
maxInitialRequests?: number | undefined;
|
|
5706
5603
|
fallbackCacheGroup?: {
|
|
5707
|
-
chunks?: RegExp | "async" | "
|
|
5604
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5708
5605
|
minSize?: number | undefined;
|
|
5709
5606
|
maxSize?: number | undefined;
|
|
5710
5607
|
maxAsyncSize?: number | undefined;
|
|
@@ -5713,7 +5610,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5713
5610
|
} | undefined;
|
|
5714
5611
|
hidePathInfo?: boolean | undefined;
|
|
5715
5612
|
}, {
|
|
5716
|
-
chunks?: RegExp | "async" | "
|
|
5613
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5717
5614
|
defaultSizeTypes?: string[] | undefined;
|
|
5718
5615
|
minChunks?: number | undefined;
|
|
5719
5616
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5723,7 +5620,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5723
5620
|
maxInitialSize?: number | undefined;
|
|
5724
5621
|
automaticNameDelimiter?: string | undefined;
|
|
5725
5622
|
cacheGroups?: Record<string, false | {
|
|
5726
|
-
chunks?: RegExp | "async" | "
|
|
5623
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5727
5624
|
defaultSizeTypes?: string[] | undefined;
|
|
5728
5625
|
minChunks?: number | undefined;
|
|
5729
5626
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5743,7 +5640,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5743
5640
|
maxAsyncRequests?: number | undefined;
|
|
5744
5641
|
maxInitialRequests?: number | undefined;
|
|
5745
5642
|
fallbackCacheGroup?: {
|
|
5746
|
-
chunks?: RegExp | "async" | "
|
|
5643
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5747
5644
|
minSize?: number | undefined;
|
|
5748
5645
|
maxSize?: number | undefined;
|
|
5749
5646
|
maxAsyncSize?: number | undefined;
|
|
@@ -5783,10 +5680,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5783
5680
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
5784
5681
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
5785
5682
|
minimize?: boolean | undefined;
|
|
5786
|
-
minimizer?: (false | "" | 0 |
|
|
5683
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5787
5684
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5788
5685
|
splitChunks?: false | {
|
|
5789
|
-
chunks?: RegExp | "async" | "
|
|
5686
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5790
5687
|
defaultSizeTypes?: string[] | undefined;
|
|
5791
5688
|
minChunks?: number | undefined;
|
|
5792
5689
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5796,7 +5693,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5796
5693
|
maxInitialSize?: number | undefined;
|
|
5797
5694
|
automaticNameDelimiter?: string | undefined;
|
|
5798
5695
|
cacheGroups?: Record<string, false | {
|
|
5799
|
-
chunks?: RegExp | "async" | "
|
|
5696
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5800
5697
|
defaultSizeTypes?: string[] | undefined;
|
|
5801
5698
|
minChunks?: number | undefined;
|
|
5802
5699
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5816,7 +5713,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5816
5713
|
maxAsyncRequests?: number | undefined;
|
|
5817
5714
|
maxInitialRequests?: number | undefined;
|
|
5818
5715
|
fallbackCacheGroup?: {
|
|
5819
|
-
chunks?: RegExp | "async" | "
|
|
5716
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5820
5717
|
minSize?: number | undefined;
|
|
5821
5718
|
maxSize?: number | undefined;
|
|
5822
5719
|
maxAsyncSize?: number | undefined;
|
|
@@ -5838,16 +5735,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5838
5735
|
concatenateModules?: boolean | undefined;
|
|
5839
5736
|
innerGraph?: boolean | undefined;
|
|
5840
5737
|
usedExports?: boolean | "global" | undefined;
|
|
5841
|
-
mangleExports?: boolean | "
|
|
5738
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
5842
5739
|
nodeEnv?: string | false | undefined;
|
|
5843
5740
|
}, {
|
|
5844
5741
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
5845
5742
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
5846
5743
|
minimize?: boolean | undefined;
|
|
5847
|
-
minimizer?: (false | "" | 0 |
|
|
5744
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5848
5745
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5849
5746
|
splitChunks?: false | {
|
|
5850
|
-
chunks?: RegExp | "async" | "
|
|
5747
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5851
5748
|
defaultSizeTypes?: string[] | undefined;
|
|
5852
5749
|
minChunks?: number | undefined;
|
|
5853
5750
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5857,7 +5754,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5857
5754
|
maxInitialSize?: number | undefined;
|
|
5858
5755
|
automaticNameDelimiter?: string | undefined;
|
|
5859
5756
|
cacheGroups?: Record<string, false | {
|
|
5860
|
-
chunks?: RegExp | "async" | "
|
|
5757
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5861
5758
|
defaultSizeTypes?: string[] | undefined;
|
|
5862
5759
|
minChunks?: number | undefined;
|
|
5863
5760
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5877,7 +5774,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5877
5774
|
maxAsyncRequests?: number | undefined;
|
|
5878
5775
|
maxInitialRequests?: number | undefined;
|
|
5879
5776
|
fallbackCacheGroup?: {
|
|
5880
|
-
chunks?: RegExp | "async" | "
|
|
5777
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5881
5778
|
minSize?: number | undefined;
|
|
5882
5779
|
maxSize?: number | undefined;
|
|
5883
5780
|
maxAsyncSize?: number | undefined;
|
|
@@ -5899,7 +5796,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5899
5796
|
concatenateModules?: boolean | undefined;
|
|
5900
5797
|
innerGraph?: boolean | undefined;
|
|
5901
5798
|
usedExports?: boolean | "global" | undefined;
|
|
5902
|
-
mangleExports?: boolean | "
|
|
5799
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
5903
5800
|
nodeEnv?: string | false | undefined;
|
|
5904
5801
|
}>>;
|
|
5905
5802
|
resolve: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
|
|
@@ -6147,11 +6044,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6147
6044
|
content: z.ZodString;
|
|
6148
6045
|
filename: z.ZodString;
|
|
6149
6046
|
}, "strict", z.ZodTypeAny, {
|
|
6150
|
-
content: string;
|
|
6151
6047
|
filename: string;
|
|
6152
|
-
}, {
|
|
6153
6048
|
content: string;
|
|
6049
|
+
}, {
|
|
6154
6050
|
filename: string;
|
|
6051
|
+
content: string;
|
|
6155
6052
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6156
6053
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
6157
6054
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -6161,8 +6058,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6161
6058
|
encoding?: false | "base64" | undefined;
|
|
6162
6059
|
mimetype?: string | undefined;
|
|
6163
6060
|
} | ((args_0: {
|
|
6164
|
-
content: string;
|
|
6165
6061
|
filename: string;
|
|
6062
|
+
content: string;
|
|
6166
6063
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6167
6064
|
emit?: boolean | undefined;
|
|
6168
6065
|
filename?: string | undefined;
|
|
@@ -6172,8 +6069,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6172
6069
|
encoding?: false | "base64" | undefined;
|
|
6173
6070
|
mimetype?: string | undefined;
|
|
6174
6071
|
} | ((args_0: {
|
|
6175
|
-
content: string;
|
|
6176
6072
|
filename: string;
|
|
6073
|
+
content: string;
|
|
6177
6074
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6178
6075
|
emit?: boolean | undefined;
|
|
6179
6076
|
filename?: string | undefined;
|
|
@@ -6193,27 +6090,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6193
6090
|
content: z.ZodString;
|
|
6194
6091
|
filename: z.ZodString;
|
|
6195
6092
|
}, "strict", z.ZodTypeAny, {
|
|
6196
|
-
content: string;
|
|
6197
6093
|
filename: string;
|
|
6198
|
-
}, {
|
|
6199
6094
|
content: string;
|
|
6095
|
+
}, {
|
|
6200
6096
|
filename: string;
|
|
6097
|
+
content: string;
|
|
6201
6098
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6202
6099
|
}, "strict", z.ZodTypeAny, {
|
|
6203
6100
|
dataUrl?: {
|
|
6204
6101
|
encoding?: false | "base64" | undefined;
|
|
6205
6102
|
mimetype?: string | undefined;
|
|
6206
6103
|
} | ((args_0: {
|
|
6207
|
-
content: string;
|
|
6208
6104
|
filename: string;
|
|
6105
|
+
content: string;
|
|
6209
6106
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6210
6107
|
}, {
|
|
6211
6108
|
dataUrl?: {
|
|
6212
6109
|
encoding?: false | "base64" | undefined;
|
|
6213
6110
|
mimetype?: string | undefined;
|
|
6214
6111
|
} | ((args_0: {
|
|
6215
|
-
content: string;
|
|
6216
6112
|
filename: string;
|
|
6113
|
+
content: string;
|
|
6217
6114
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6218
6115
|
}>>;
|
|
6219
6116
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -6232,47 +6129,38 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6232
6129
|
css: z.ZodOptional<z.ZodObject<{
|
|
6233
6130
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6234
6131
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6235
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6236
6132
|
}, "strict", z.ZodTypeAny, {
|
|
6237
6133
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6238
6134
|
exportsOnly?: boolean | undefined;
|
|
6239
|
-
esModule?: boolean | undefined;
|
|
6240
6135
|
}, {
|
|
6241
6136
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6242
6137
|
exportsOnly?: boolean | undefined;
|
|
6243
|
-
esModule?: boolean | undefined;
|
|
6244
6138
|
}>>;
|
|
6245
6139
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
6246
6140
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6247
6141
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6248
6142
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6249
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6250
6143
|
}, "strict", z.ZodTypeAny, {
|
|
6251
6144
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6252
6145
|
exportsOnly?: boolean | undefined;
|
|
6253
6146
|
localIdentName?: string | undefined;
|
|
6254
|
-
esModule?: boolean | undefined;
|
|
6255
6147
|
}, {
|
|
6256
6148
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6257
6149
|
exportsOnly?: boolean | undefined;
|
|
6258
6150
|
localIdentName?: string | undefined;
|
|
6259
|
-
esModule?: boolean | undefined;
|
|
6260
6151
|
}>>;
|
|
6261
6152
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
6262
6153
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6263
6154
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6264
6155
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6265
|
-
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6266
6156
|
}, "strict", z.ZodTypeAny, {
|
|
6267
6157
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6268
6158
|
exportsOnly?: boolean | undefined;
|
|
6269
6159
|
localIdentName?: string | undefined;
|
|
6270
|
-
esModule?: boolean | undefined;
|
|
6271
6160
|
}, {
|
|
6272
6161
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6273
6162
|
exportsOnly?: boolean | undefined;
|
|
6274
6163
|
localIdentName?: string | undefined;
|
|
6275
|
-
esModule?: boolean | undefined;
|
|
6276
6164
|
}>>;
|
|
6277
6165
|
}, "strict", z.ZodTypeAny, {
|
|
6278
6166
|
asset?: {
|
|
@@ -6280,8 +6168,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6280
6168
|
encoding?: false | "base64" | undefined;
|
|
6281
6169
|
mimetype?: string | undefined;
|
|
6282
6170
|
} | ((args_0: {
|
|
6283
|
-
content: string;
|
|
6284
6171
|
filename: string;
|
|
6172
|
+
content: string;
|
|
6285
6173
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6286
6174
|
emit?: boolean | undefined;
|
|
6287
6175
|
filename?: string | undefined;
|
|
@@ -6292,8 +6180,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6292
6180
|
encoding?: false | "base64" | undefined;
|
|
6293
6181
|
mimetype?: string | undefined;
|
|
6294
6182
|
} | ((args_0: {
|
|
6295
|
-
content: string;
|
|
6296
6183
|
filename: string;
|
|
6184
|
+
content: string;
|
|
6297
6185
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6298
6186
|
} | undefined;
|
|
6299
6187
|
"asset/resource"?: {
|
|
@@ -6304,19 +6192,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6304
6192
|
css?: {
|
|
6305
6193
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6306
6194
|
exportsOnly?: boolean | undefined;
|
|
6307
|
-
esModule?: boolean | undefined;
|
|
6308
6195
|
} | undefined;
|
|
6309
6196
|
"css/auto"?: {
|
|
6310
6197
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6311
6198
|
exportsOnly?: boolean | undefined;
|
|
6312
6199
|
localIdentName?: string | undefined;
|
|
6313
|
-
esModule?: boolean | undefined;
|
|
6314
6200
|
} | undefined;
|
|
6315
6201
|
"css/module"?: {
|
|
6316
6202
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6317
6203
|
exportsOnly?: boolean | undefined;
|
|
6318
6204
|
localIdentName?: string | undefined;
|
|
6319
|
-
esModule?: boolean | undefined;
|
|
6320
6205
|
} | undefined;
|
|
6321
6206
|
}, {
|
|
6322
6207
|
asset?: {
|
|
@@ -6324,8 +6209,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6324
6209
|
encoding?: false | "base64" | undefined;
|
|
6325
6210
|
mimetype?: string | undefined;
|
|
6326
6211
|
} | ((args_0: {
|
|
6327
|
-
content: string;
|
|
6328
6212
|
filename: string;
|
|
6213
|
+
content: string;
|
|
6329
6214
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6330
6215
|
emit?: boolean | undefined;
|
|
6331
6216
|
filename?: string | undefined;
|
|
@@ -6336,8 +6221,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6336
6221
|
encoding?: false | "base64" | undefined;
|
|
6337
6222
|
mimetype?: string | undefined;
|
|
6338
6223
|
} | ((args_0: {
|
|
6339
|
-
content: string;
|
|
6340
6224
|
filename: string;
|
|
6225
|
+
content: string;
|
|
6341
6226
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6342
6227
|
} | undefined;
|
|
6343
6228
|
"asset/resource"?: {
|
|
@@ -6348,19 +6233,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6348
6233
|
css?: {
|
|
6349
6234
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6350
6235
|
exportsOnly?: boolean | undefined;
|
|
6351
|
-
esModule?: boolean | undefined;
|
|
6352
6236
|
} | undefined;
|
|
6353
6237
|
"css/auto"?: {
|
|
6354
6238
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6355
6239
|
exportsOnly?: boolean | undefined;
|
|
6356
6240
|
localIdentName?: string | undefined;
|
|
6357
|
-
esModule?: boolean | undefined;
|
|
6358
6241
|
} | undefined;
|
|
6359
6242
|
"css/module"?: {
|
|
6360
6243
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6361
6244
|
exportsOnly?: boolean | undefined;
|
|
6362
6245
|
localIdentName?: string | undefined;
|
|
6363
|
-
esModule?: boolean | undefined;
|
|
6364
6246
|
} | undefined;
|
|
6365
6247
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
6366
6248
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
|
@@ -6421,8 +6303,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6421
6303
|
encoding?: false | "base64" | undefined;
|
|
6422
6304
|
mimetype?: string | undefined;
|
|
6423
6305
|
} | ((args_0: {
|
|
6424
|
-
content: string;
|
|
6425
6306
|
filename: string;
|
|
6307
|
+
content: string;
|
|
6426
6308
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6427
6309
|
emit?: boolean | undefined;
|
|
6428
6310
|
filename?: string | undefined;
|
|
@@ -6433,8 +6315,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6433
6315
|
encoding?: false | "base64" | undefined;
|
|
6434
6316
|
mimetype?: string | undefined;
|
|
6435
6317
|
} | ((args_0: {
|
|
6436
|
-
content: string;
|
|
6437
6318
|
filename: string;
|
|
6319
|
+
content: string;
|
|
6438
6320
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6439
6321
|
} | undefined;
|
|
6440
6322
|
"asset/resource"?: {
|
|
@@ -6445,19 +6327,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6445
6327
|
css?: {
|
|
6446
6328
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6447
6329
|
exportsOnly?: boolean | undefined;
|
|
6448
|
-
esModule?: boolean | undefined;
|
|
6449
6330
|
} | undefined;
|
|
6450
6331
|
"css/auto"?: {
|
|
6451
6332
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6452
6333
|
exportsOnly?: boolean | undefined;
|
|
6453
6334
|
localIdentName?: string | undefined;
|
|
6454
|
-
esModule?: boolean | undefined;
|
|
6455
6335
|
} | undefined;
|
|
6456
6336
|
"css/module"?: {
|
|
6457
6337
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6458
6338
|
exportsOnly?: boolean | undefined;
|
|
6459
6339
|
localIdentName?: string | undefined;
|
|
6460
|
-
esModule?: boolean | undefined;
|
|
6461
6340
|
} | undefined;
|
|
6462
6341
|
} | undefined;
|
|
6463
6342
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -6518,8 +6397,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6518
6397
|
encoding?: false | "base64" | undefined;
|
|
6519
6398
|
mimetype?: string | undefined;
|
|
6520
6399
|
} | ((args_0: {
|
|
6521
|
-
content: string;
|
|
6522
6400
|
filename: string;
|
|
6401
|
+
content: string;
|
|
6523
6402
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6524
6403
|
emit?: boolean | undefined;
|
|
6525
6404
|
filename?: string | undefined;
|
|
@@ -6530,8 +6409,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6530
6409
|
encoding?: false | "base64" | undefined;
|
|
6531
6410
|
mimetype?: string | undefined;
|
|
6532
6411
|
} | ((args_0: {
|
|
6533
|
-
content: string;
|
|
6534
6412
|
filename: string;
|
|
6413
|
+
content: string;
|
|
6535
6414
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6536
6415
|
} | undefined;
|
|
6537
6416
|
"asset/resource"?: {
|
|
@@ -6542,19 +6421,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6542
6421
|
css?: {
|
|
6543
6422
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6544
6423
|
exportsOnly?: boolean | undefined;
|
|
6545
|
-
esModule?: boolean | undefined;
|
|
6546
6424
|
} | undefined;
|
|
6547
6425
|
"css/auto"?: {
|
|
6548
6426
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6549
6427
|
exportsOnly?: boolean | undefined;
|
|
6550
6428
|
localIdentName?: string | undefined;
|
|
6551
|
-
esModule?: boolean | undefined;
|
|
6552
6429
|
} | undefined;
|
|
6553
6430
|
"css/module"?: {
|
|
6554
6431
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6555
6432
|
exportsOnly?: boolean | undefined;
|
|
6556
6433
|
localIdentName?: string | undefined;
|
|
6557
|
-
esModule?: boolean | undefined;
|
|
6558
6434
|
} | undefined;
|
|
6559
6435
|
} | undefined;
|
|
6560
6436
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -6712,17 +6588,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6712
6588
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6713
6589
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6714
6590
|
} | undefined;
|
|
6715
|
-
target?: false | "
|
|
6591
|
+
target?: false | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `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" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `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;
|
|
6716
6592
|
mode?: "none" | "development" | "production" | undefined;
|
|
6717
6593
|
experiments?: {
|
|
6718
|
-
lazyCompilation?: boolean |
|
|
6719
|
-
imports?: boolean | undefined;
|
|
6720
|
-
entries?: boolean | undefined;
|
|
6721
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6722
|
-
} | undefined;
|
|
6594
|
+
lazyCompilation?: boolean | undefined;
|
|
6723
6595
|
asyncWebAssembly?: boolean | undefined;
|
|
6724
6596
|
outputModule?: boolean | undefined;
|
|
6725
6597
|
topLevelAwait?: boolean | undefined;
|
|
6598
|
+
newSplitChunks?: boolean | undefined;
|
|
6726
6599
|
css?: boolean | undefined;
|
|
6727
6600
|
futureDefaults?: boolean | undefined;
|
|
6728
6601
|
rspackFuture?: {
|
|
@@ -6737,7 +6610,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6737
6610
|
context?: string | undefined;
|
|
6738
6611
|
dependencyType?: string | undefined;
|
|
6739
6612
|
request?: string | undefined;
|
|
6740
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6613
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6741
6614
|
context?: string | undefined;
|
|
6742
6615
|
dependencyType?: string | undefined;
|
|
6743
6616
|
request?: string | undefined;
|
|
@@ -6745,12 +6618,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6745
6618
|
context?: string | undefined;
|
|
6746
6619
|
dependencyType?: string | undefined;
|
|
6747
6620
|
request?: string | undefined;
|
|
6748
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6621
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6749
6622
|
context?: string | undefined;
|
|
6750
6623
|
dependencyType?: string | undefined;
|
|
6751
6624
|
request?: string | undefined;
|
|
6752
6625
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
6753
|
-
externalsType?: "promise" | "
|
|
6626
|
+
externalsType?: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
|
|
6754
6627
|
externalsPresets?: {
|
|
6755
6628
|
node?: boolean | undefined;
|
|
6756
6629
|
web?: boolean | undefined;
|
|
@@ -6765,7 +6638,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6765
6638
|
colors?: boolean | undefined;
|
|
6766
6639
|
console?: Console | undefined;
|
|
6767
6640
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6768
|
-
level?: "
|
|
6641
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
6769
6642
|
stream?: NodeJS.WritableStream | undefined;
|
|
6770
6643
|
} | undefined;
|
|
6771
6644
|
cache?: boolean | undefined;
|
|
@@ -6785,9 +6658,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6785
6658
|
stdin?: boolean | undefined;
|
|
6786
6659
|
} | undefined;
|
|
6787
6660
|
watch?: boolean | undefined;
|
|
6788
|
-
stats?: boolean | "
|
|
6661
|
+
stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
6789
6662
|
all?: boolean | undefined;
|
|
6790
|
-
preset?: "
|
|
6663
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
6791
6664
|
assets?: boolean | undefined;
|
|
6792
6665
|
chunks?: boolean | undefined;
|
|
6793
6666
|
modules?: boolean | undefined;
|
|
@@ -6812,7 +6685,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6812
6685
|
modulesSpace?: number | undefined;
|
|
6813
6686
|
nestedModules?: boolean | undefined;
|
|
6814
6687
|
source?: boolean | undefined;
|
|
6815
|
-
logging?: boolean | "
|
|
6688
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
6816
6689
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6817
6690
|
loggingTrace?: boolean | undefined;
|
|
6818
6691
|
runtimeModules?: boolean | undefined;
|
|
@@ -6836,10 +6709,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6836
6709
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
6837
6710
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
6838
6711
|
minimize?: boolean | undefined;
|
|
6839
|
-
minimizer?: (false | "" | 0 |
|
|
6712
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
6840
6713
|
mergeDuplicateChunks?: boolean | undefined;
|
|
6841
6714
|
splitChunks?: false | {
|
|
6842
|
-
chunks?: RegExp | "async" | "
|
|
6715
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6843
6716
|
defaultSizeTypes?: string[] | undefined;
|
|
6844
6717
|
minChunks?: number | undefined;
|
|
6845
6718
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -6849,7 +6722,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6849
6722
|
maxInitialSize?: number | undefined;
|
|
6850
6723
|
automaticNameDelimiter?: string | undefined;
|
|
6851
6724
|
cacheGroups?: Record<string, false | {
|
|
6852
|
-
chunks?: RegExp | "async" | "
|
|
6725
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6853
6726
|
defaultSizeTypes?: string[] | undefined;
|
|
6854
6727
|
minChunks?: number | undefined;
|
|
6855
6728
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -6869,7 +6742,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6869
6742
|
maxAsyncRequests?: number | undefined;
|
|
6870
6743
|
maxInitialRequests?: number | undefined;
|
|
6871
6744
|
fallbackCacheGroup?: {
|
|
6872
|
-
chunks?: RegExp | "async" | "
|
|
6745
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6873
6746
|
minSize?: number | undefined;
|
|
6874
6747
|
maxSize?: number | undefined;
|
|
6875
6748
|
maxAsyncSize?: number | undefined;
|
|
@@ -6891,7 +6764,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6891
6764
|
concatenateModules?: boolean | undefined;
|
|
6892
6765
|
innerGraph?: boolean | undefined;
|
|
6893
6766
|
usedExports?: boolean | "global" | undefined;
|
|
6894
|
-
mangleExports?: boolean | "
|
|
6767
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
6895
6768
|
nodeEnv?: string | false | undefined;
|
|
6896
6769
|
} | undefined;
|
|
6897
6770
|
resolve?: ResolveOptions | undefined;
|
|
@@ -6956,8 +6829,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6956
6829
|
encoding?: false | "base64" | undefined;
|
|
6957
6830
|
mimetype?: string | undefined;
|
|
6958
6831
|
} | ((args_0: {
|
|
6959
|
-
content: string;
|
|
6960
6832
|
filename: string;
|
|
6833
|
+
content: string;
|
|
6961
6834
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6962
6835
|
emit?: boolean | undefined;
|
|
6963
6836
|
filename?: string | undefined;
|
|
@@ -6968,8 +6841,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6968
6841
|
encoding?: false | "base64" | undefined;
|
|
6969
6842
|
mimetype?: string | undefined;
|
|
6970
6843
|
} | ((args_0: {
|
|
6971
|
-
content: string;
|
|
6972
6844
|
filename: string;
|
|
6845
|
+
content: string;
|
|
6973
6846
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6974
6847
|
} | undefined;
|
|
6975
6848
|
"asset/resource"?: {
|
|
@@ -6980,19 +6853,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6980
6853
|
css?: {
|
|
6981
6854
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6982
6855
|
exportsOnly?: boolean | undefined;
|
|
6983
|
-
esModule?: boolean | undefined;
|
|
6984
6856
|
} | undefined;
|
|
6985
6857
|
"css/auto"?: {
|
|
6986
6858
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6987
6859
|
exportsOnly?: boolean | undefined;
|
|
6988
6860
|
localIdentName?: string | undefined;
|
|
6989
|
-
esModule?: boolean | undefined;
|
|
6990
6861
|
} | undefined;
|
|
6991
6862
|
"css/module"?: {
|
|
6992
6863
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6993
6864
|
exportsOnly?: boolean | undefined;
|
|
6994
6865
|
localIdentName?: string | undefined;
|
|
6995
|
-
esModule?: boolean | undefined;
|
|
6996
6866
|
} | undefined;
|
|
6997
6867
|
} | undefined;
|
|
6998
6868
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -7140,17 +7010,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7140
7010
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
7141
7011
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
7142
7012
|
} | undefined;
|
|
7143
|
-
target?: false | "
|
|
7013
|
+
target?: false | "async-node" | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `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" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "browserslist" | "node" | `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;
|
|
7144
7014
|
mode?: "none" | "development" | "production" | undefined;
|
|
7145
7015
|
experiments?: {
|
|
7146
|
-
lazyCompilation?: boolean |
|
|
7147
|
-
imports?: boolean | undefined;
|
|
7148
|
-
entries?: boolean | undefined;
|
|
7149
|
-
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7150
|
-
} | undefined;
|
|
7016
|
+
lazyCompilation?: boolean | undefined;
|
|
7151
7017
|
asyncWebAssembly?: boolean | undefined;
|
|
7152
7018
|
outputModule?: boolean | undefined;
|
|
7153
7019
|
topLevelAwait?: boolean | undefined;
|
|
7020
|
+
newSplitChunks?: boolean | undefined;
|
|
7154
7021
|
css?: boolean | undefined;
|
|
7155
7022
|
futureDefaults?: boolean | undefined;
|
|
7156
7023
|
rspackFuture?: {
|
|
@@ -7165,7 +7032,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7165
7032
|
context?: string | undefined;
|
|
7166
7033
|
dependencyType?: string | undefined;
|
|
7167
7034
|
request?: string | undefined;
|
|
7168
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
7035
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7169
7036
|
context?: string | undefined;
|
|
7170
7037
|
dependencyType?: string | undefined;
|
|
7171
7038
|
request?: string | undefined;
|
|
@@ -7173,12 +7040,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7173
7040
|
context?: string | undefined;
|
|
7174
7041
|
dependencyType?: string | undefined;
|
|
7175
7042
|
request?: string | undefined;
|
|
7176
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
7043
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7177
7044
|
context?: string | undefined;
|
|
7178
7045
|
dependencyType?: string | undefined;
|
|
7179
7046
|
request?: string | undefined;
|
|
7180
7047
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
7181
|
-
externalsType?: "promise" | "
|
|
7048
|
+
externalsType?: "promise" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "global" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
|
|
7182
7049
|
externalsPresets?: {
|
|
7183
7050
|
node?: boolean | undefined;
|
|
7184
7051
|
web?: boolean | undefined;
|
|
@@ -7193,7 +7060,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7193
7060
|
colors?: boolean | undefined;
|
|
7194
7061
|
console?: Console | undefined;
|
|
7195
7062
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7196
|
-
level?: "
|
|
7063
|
+
level?: "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
7197
7064
|
stream?: NodeJS.WritableStream | undefined;
|
|
7198
7065
|
} | undefined;
|
|
7199
7066
|
cache?: boolean | undefined;
|
|
@@ -7213,9 +7080,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7213
7080
|
stdin?: boolean | undefined;
|
|
7214
7081
|
} | undefined;
|
|
7215
7082
|
watch?: boolean | undefined;
|
|
7216
|
-
stats?: boolean | "
|
|
7083
|
+
stats?: boolean | "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
7217
7084
|
all?: boolean | undefined;
|
|
7218
|
-
preset?: "
|
|
7085
|
+
preset?: "normal" | "none" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
7219
7086
|
assets?: boolean | undefined;
|
|
7220
7087
|
chunks?: boolean | undefined;
|
|
7221
7088
|
modules?: boolean | undefined;
|
|
@@ -7240,7 +7107,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7240
7107
|
modulesSpace?: number | undefined;
|
|
7241
7108
|
nestedModules?: boolean | undefined;
|
|
7242
7109
|
source?: boolean | undefined;
|
|
7243
|
-
logging?: boolean | "
|
|
7110
|
+
logging?: boolean | "none" | "verbose" | "error" | "warn" | "info" | "log" | undefined;
|
|
7244
7111
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7245
7112
|
loggingTrace?: boolean | undefined;
|
|
7246
7113
|
runtimeModules?: boolean | undefined;
|
|
@@ -7264,10 +7131,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7264
7131
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
7265
7132
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
7266
7133
|
minimize?: boolean | undefined;
|
|
7267
|
-
minimizer?: (false | "" | 0 |
|
|
7134
|
+
minimizer?: (false | "" | 0 | "..." | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
7268
7135
|
mergeDuplicateChunks?: boolean | undefined;
|
|
7269
7136
|
splitChunks?: false | {
|
|
7270
|
-
chunks?: RegExp | "async" | "
|
|
7137
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7271
7138
|
defaultSizeTypes?: string[] | undefined;
|
|
7272
7139
|
minChunks?: number | undefined;
|
|
7273
7140
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7277,7 +7144,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7277
7144
|
maxInitialSize?: number | undefined;
|
|
7278
7145
|
automaticNameDelimiter?: string | undefined;
|
|
7279
7146
|
cacheGroups?: Record<string, false | {
|
|
7280
|
-
chunks?: RegExp | "async" | "
|
|
7147
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7281
7148
|
defaultSizeTypes?: string[] | undefined;
|
|
7282
7149
|
minChunks?: number | undefined;
|
|
7283
7150
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7297,7 +7164,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7297
7164
|
maxAsyncRequests?: number | undefined;
|
|
7298
7165
|
maxInitialRequests?: number | undefined;
|
|
7299
7166
|
fallbackCacheGroup?: {
|
|
7300
|
-
chunks?: RegExp | "async" | "
|
|
7167
|
+
chunks?: RegExp | "async" | "all" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7301
7168
|
minSize?: number | undefined;
|
|
7302
7169
|
maxSize?: number | undefined;
|
|
7303
7170
|
maxAsyncSize?: number | undefined;
|
|
@@ -7319,7 +7186,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7319
7186
|
concatenateModules?: boolean | undefined;
|
|
7320
7187
|
innerGraph?: boolean | undefined;
|
|
7321
7188
|
usedExports?: boolean | "global" | undefined;
|
|
7322
|
-
mangleExports?: boolean | "
|
|
7189
|
+
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
7323
7190
|
nodeEnv?: string | false | undefined;
|
|
7324
7191
|
} | undefined;
|
|
7325
7192
|
resolve?: ResolveOptions | undefined;
|
|
@@ -7384,8 +7251,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7384
7251
|
encoding?: false | "base64" | undefined;
|
|
7385
7252
|
mimetype?: string | undefined;
|
|
7386
7253
|
} | ((args_0: {
|
|
7387
|
-
content: string;
|
|
7388
7254
|
filename: string;
|
|
7255
|
+
content: string;
|
|
7389
7256
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
7390
7257
|
emit?: boolean | undefined;
|
|
7391
7258
|
filename?: string | undefined;
|
|
@@ -7396,8 +7263,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7396
7263
|
encoding?: false | "base64" | undefined;
|
|
7397
7264
|
mimetype?: string | undefined;
|
|
7398
7265
|
} | ((args_0: {
|
|
7399
|
-
content: string;
|
|
7400
7266
|
filename: string;
|
|
7267
|
+
content: string;
|
|
7401
7268
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
7402
7269
|
} | undefined;
|
|
7403
7270
|
"asset/resource"?: {
|
|
@@ -7408,19 +7275,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7408
7275
|
css?: {
|
|
7409
7276
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7410
7277
|
exportsOnly?: boolean | undefined;
|
|
7411
|
-
esModule?: boolean | undefined;
|
|
7412
7278
|
} | undefined;
|
|
7413
7279
|
"css/auto"?: {
|
|
7414
7280
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7415
7281
|
exportsOnly?: boolean | undefined;
|
|
7416
7282
|
localIdentName?: string | undefined;
|
|
7417
|
-
esModule?: boolean | undefined;
|
|
7418
7283
|
} | undefined;
|
|
7419
7284
|
"css/module"?: {
|
|
7420
7285
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7421
7286
|
exportsOnly?: boolean | undefined;
|
|
7422
7287
|
localIdentName?: string | undefined;
|
|
7423
|
-
esModule?: boolean | undefined;
|
|
7424
7288
|
} | undefined;
|
|
7425
7289
|
} | undefined;
|
|
7426
7290
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|