@rspack/core 0.6.5 → 0.7.0-beta.0-canary-bcf6575-20240516085135
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 +2 -0
- package/dist/ChunkGroup.js +4 -0
- package/dist/Compilation.d.ts +46 -65
- package/dist/Compilation.js +128 -222
- package/dist/Compiler.d.ts +75 -44
- package/dist/Compiler.js +325 -278
- package/dist/ContextModuleFactory.d.ts +7 -3
- package/dist/ContextModuleFactory.js +2 -2
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/Entrypoint.js +1 -1
- package/dist/ExecuteModulePlugin.js +1 -1
- package/dist/Module.d.ts +11 -0
- package/dist/Module.js +2 -2
- package/dist/MultiCompiler.d.ts +10 -25
- 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 +0 -9
- package/dist/Watching.js +12 -2
- 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 +15 -0
- package/dist/builtin-plugin/SizeLimitsPlugin.js +9 -0
- 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/css-extract/index.d.ts +5 -4
- 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 +44 -43
- package/dist/builtin-plugin/index.js +44 -43
- package/dist/config/adapter.d.ts +2 -2
- package/dist/config/adapter.js +6 -5
- package/dist/config/adapterRuleUse.d.ts +2 -1
- package/dist/config/adapterRuleUse.js +2 -2
- package/dist/config/defaults.js +21 -4
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/config/normalization.d.ts +2 -2
- package/dist/config/normalization.js +1 -0
- package/dist/config/zod.d.ts +317 -189
- package/dist/config/zod.js +23 -29
- 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 +36 -30
- package/dist/exports.js +36 -28
- package/dist/fileSystem.d.ts +12 -8
- package/dist/fileSystem.js +25 -48
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lite-tapable/index.d.ts +6 -0
- package/dist/lite-tapable/index.js +107 -1
- package/dist/loader-runner/index.js +13 -13
- package/dist/logging/Logger.d.ts +1 -1
- package/dist/logging/createConsoleLogger.js +0 -14
- package/dist/node/NodeEnvironmentPlugin.d.ts +1 -1
- package/dist/node/NodeEnvironmentPlugin.js +1 -1
- package/dist/node/nodeConsole.js +0 -4
- package/dist/rspack.d.ts +4 -13
- package/dist/rspack.js +8 -8
- package/dist/rspackOptionsApply.d.ts +1 -10
- package/dist/rspackOptionsApply.js +17 -5
- 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 +0 -9
- 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/fs.d.ts +64 -0
- package/dist/util/fs.js +122 -0
- package/dist/util/index.d.ts +2 -1
- package/dist/util/index.js +16 -11
- package/dist/util/source.d.ts +18 -0
- package/dist/util/source.js +66 -0
- package/package.json +6 -5
- package/dist/util/createSource.d.ts +0 -5
- package/dist/util/createSource.js +0 -65
package/dist/config/zod.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import {
|
|
2
|
+
import { JsAssetInfo, RawFuncUseCtx } from "@rspack/binding";
|
|
3
|
+
import type * as webpackDevServer from "webpack-dev-server";
|
|
3
4
|
import { z } from "../../compiled/zod";
|
|
4
5
|
import { Compilation, Compiler } from "..";
|
|
5
|
-
import type
|
|
6
|
-
import type * as webpackDevServer from "webpack-dev-server";
|
|
7
|
-
import { Module } from "../Module";
|
|
6
|
+
import type { Builtins as BuiltinsType } from "../builtin-plugin";
|
|
8
7
|
import { Chunk } from "../Chunk";
|
|
8
|
+
import { Module } from "../Module";
|
|
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,11 +1320,6 @@ 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>;
|
|
1328
1323
|
conditionNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1329
1324
|
extensions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1330
1325
|
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">]>>>;
|
|
@@ -1334,6 +1329,9 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1334
1329
|
preferRelative: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1330
|
preferAbsolute: z.ZodOptional<z.ZodBoolean>;
|
|
1336
1331
|
symlinks: z.ZodOptional<z.ZodBoolean>;
|
|
1332
|
+
enforceExtension: z.ZodOptional<z.ZodBoolean>;
|
|
1333
|
+
importsFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1334
|
+
descriptionFiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1337
1335
|
tsConfigPath: z.ZodOptional<z.ZodString>;
|
|
1338
1336
|
tsConfig: z.ZodOptional<z.ZodObject<{
|
|
1339
1337
|
configFile: z.ZodString;
|
|
@@ -1353,7 +1351,6 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1353
1351
|
roots: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1354
1352
|
}, "strict", z.ZodTypeAny, {
|
|
1355
1353
|
alias?: Record<string, string | false | (string | false)[]> | undefined;
|
|
1356
|
-
browserField?: boolean | undefined;
|
|
1357
1354
|
conditionNames?: string[] | undefined;
|
|
1358
1355
|
extensions?: string[] | undefined;
|
|
1359
1356
|
fallback?: Record<string, string | false | (string | false)[]> | undefined;
|
|
@@ -1363,6 +1360,9 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1363
1360
|
preferRelative?: boolean | undefined;
|
|
1364
1361
|
preferAbsolute?: boolean | undefined;
|
|
1365
1362
|
symlinks?: boolean | undefined;
|
|
1363
|
+
enforceExtension?: boolean | undefined;
|
|
1364
|
+
importsFields?: string[] | undefined;
|
|
1365
|
+
descriptionFiles?: string[] | undefined;
|
|
1366
1366
|
tsConfigPath?: string | undefined;
|
|
1367
1367
|
tsConfig?: {
|
|
1368
1368
|
configFile: string;
|
|
@@ -1376,7 +1376,6 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1376
1376
|
roots?: string[] | undefined;
|
|
1377
1377
|
}, {
|
|
1378
1378
|
alias?: Record<string, string | false | (string | false)[]> | undefined;
|
|
1379
|
-
browserField?: boolean | undefined;
|
|
1380
1379
|
conditionNames?: string[] | undefined;
|
|
1381
1380
|
extensions?: string[] | undefined;
|
|
1382
1381
|
fallback?: Record<string, string | false | (string | false)[]> | undefined;
|
|
@@ -1386,6 +1385,9 @@ declare const baseResolveOptions: z.ZodObject<{
|
|
|
1386
1385
|
preferRelative?: boolean | undefined;
|
|
1387
1386
|
preferAbsolute?: boolean | undefined;
|
|
1388
1387
|
symlinks?: boolean | undefined;
|
|
1388
|
+
enforceExtension?: boolean | undefined;
|
|
1389
|
+
importsFields?: string[] | undefined;
|
|
1390
|
+
descriptionFiles?: string[] | undefined;
|
|
1389
1391
|
tsConfigPath?: string | undefined;
|
|
1390
1392
|
tsConfig?: {
|
|
1391
1393
|
configFile: string;
|
|
@@ -2157,11 +2159,11 @@ declare const assetGeneratorDataUrlFunction: z.ZodFunction<z.ZodTuple<[z.ZodObje
|
|
|
2157
2159
|
content: z.ZodString;
|
|
2158
2160
|
filename: z.ZodString;
|
|
2159
2161
|
}, "strict", z.ZodTypeAny, {
|
|
2160
|
-
filename: string;
|
|
2161
2162
|
content: string;
|
|
2162
|
-
}, {
|
|
2163
2163
|
filename: string;
|
|
2164
|
+
}, {
|
|
2164
2165
|
content: string;
|
|
2166
|
+
filename: string;
|
|
2165
2167
|
}>], z.ZodUnknown>, z.ZodString>;
|
|
2166
2168
|
export type AssetGeneratorDataUrlFunction = z.infer<typeof assetGeneratorDataUrlFunction>;
|
|
2167
2169
|
declare const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{
|
|
@@ -2177,11 +2179,11 @@ declare const assetGeneratorDataUrl: z.ZodUnion<[z.ZodObject<{
|
|
|
2177
2179
|
content: z.ZodString;
|
|
2178
2180
|
filename: z.ZodString;
|
|
2179
2181
|
}, "strict", z.ZodTypeAny, {
|
|
2180
|
-
filename: string;
|
|
2181
2182
|
content: string;
|
|
2182
|
-
}, {
|
|
2183
2183
|
filename: string;
|
|
2184
|
+
}, {
|
|
2184
2185
|
content: string;
|
|
2186
|
+
filename: string;
|
|
2185
2187
|
}>], z.ZodUnknown>, z.ZodString>]>;
|
|
2186
2188
|
export type AssetGeneratorDataUrl = z.infer<typeof assetGeneratorDataUrl>;
|
|
2187
2189
|
declare const assetInlineGeneratorOptions: z.ZodObject<{
|
|
@@ -2198,27 +2200,27 @@ declare const assetInlineGeneratorOptions: z.ZodObject<{
|
|
|
2198
2200
|
content: z.ZodString;
|
|
2199
2201
|
filename: z.ZodString;
|
|
2200
2202
|
}, "strict", z.ZodTypeAny, {
|
|
2201
|
-
filename: string;
|
|
2202
2203
|
content: string;
|
|
2203
|
-
}, {
|
|
2204
2204
|
filename: string;
|
|
2205
|
+
}, {
|
|
2205
2206
|
content: string;
|
|
2207
|
+
filename: string;
|
|
2206
2208
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2207
2209
|
}, "strict", z.ZodTypeAny, {
|
|
2208
2210
|
dataUrl?: {
|
|
2209
2211
|
encoding?: false | "base64" | undefined;
|
|
2210
2212
|
mimetype?: string | undefined;
|
|
2211
2213
|
} | ((args_0: {
|
|
2212
|
-
filename: string;
|
|
2213
2214
|
content: string;
|
|
2215
|
+
filename: string;
|
|
2214
2216
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2215
2217
|
}, {
|
|
2216
2218
|
dataUrl?: {
|
|
2217
2219
|
encoding?: false | "base64" | undefined;
|
|
2218
2220
|
mimetype?: string | undefined;
|
|
2219
2221
|
} | ((args_0: {
|
|
2220
|
-
filename: string;
|
|
2221
2222
|
content: string;
|
|
2223
|
+
filename: string;
|
|
2222
2224
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2223
2225
|
}>;
|
|
2224
2226
|
export type AssetInlineGeneratorOptions = z.infer<typeof assetInlineGeneratorOptions>;
|
|
@@ -2250,11 +2252,11 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2250
2252
|
content: z.ZodString;
|
|
2251
2253
|
filename: z.ZodString;
|
|
2252
2254
|
}, "strict", z.ZodTypeAny, {
|
|
2253
|
-
filename: string;
|
|
2254
2255
|
content: string;
|
|
2255
|
-
}, {
|
|
2256
2256
|
filename: string;
|
|
2257
|
+
}, {
|
|
2257
2258
|
content: string;
|
|
2259
|
+
filename: string;
|
|
2258
2260
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2259
2261
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2260
2262
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2264,8 +2266,8 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2264
2266
|
encoding?: false | "base64" | undefined;
|
|
2265
2267
|
mimetype?: string | undefined;
|
|
2266
2268
|
} | ((args_0: {
|
|
2267
|
-
filename: string;
|
|
2268
2269
|
content: string;
|
|
2270
|
+
filename: string;
|
|
2269
2271
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2270
2272
|
emit?: boolean | undefined;
|
|
2271
2273
|
filename?: string | undefined;
|
|
@@ -2275,8 +2277,8 @@ declare const assetGeneratorOptions: z.ZodObject<{
|
|
|
2275
2277
|
encoding?: false | "base64" | undefined;
|
|
2276
2278
|
mimetype?: string | undefined;
|
|
2277
2279
|
} | ((args_0: {
|
|
2278
|
-
filename: string;
|
|
2279
2280
|
content: string;
|
|
2281
|
+
filename: string;
|
|
2280
2282
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2281
2283
|
emit?: boolean | undefined;
|
|
2282
2284
|
filename?: string | undefined;
|
|
@@ -2289,43 +2291,54 @@ declare const cssGeneratorExportsOnly: z.ZodBoolean;
|
|
|
2289
2291
|
export type CssGeneratorExportsOnly = z.infer<typeof cssGeneratorExportsOnly>;
|
|
2290
2292
|
declare const cssGeneratorLocalIdentName: z.ZodString;
|
|
2291
2293
|
export type CssGeneratorLocalIdentName = z.infer<typeof cssGeneratorLocalIdentName>;
|
|
2294
|
+
declare const cssGeneratorEsModule: z.ZodBoolean;
|
|
2295
|
+
export type CssGeneratorEsModule = z.infer<typeof cssGeneratorEsModule>;
|
|
2292
2296
|
declare const cssGeneratorOptions: z.ZodObject<{
|
|
2293
2297
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2294
2298
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2299
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2295
2300
|
}, "strict", z.ZodTypeAny, {
|
|
2296
2301
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2297
2302
|
exportsOnly?: boolean | undefined;
|
|
2303
|
+
esModule?: boolean | undefined;
|
|
2298
2304
|
}, {
|
|
2299
2305
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2300
2306
|
exportsOnly?: boolean | undefined;
|
|
2307
|
+
esModule?: boolean | undefined;
|
|
2301
2308
|
}>;
|
|
2302
2309
|
export type CssGeneratorOptions = z.infer<typeof cssGeneratorOptions>;
|
|
2303
2310
|
declare const cssAutoGeneratorOptions: z.ZodObject<{
|
|
2304
2311
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2305
2312
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2306
2313
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2314
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2307
2315
|
}, "strict", z.ZodTypeAny, {
|
|
2308
2316
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2309
2317
|
exportsOnly?: boolean | undefined;
|
|
2310
2318
|
localIdentName?: string | undefined;
|
|
2319
|
+
esModule?: boolean | undefined;
|
|
2311
2320
|
}, {
|
|
2312
2321
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2313
2322
|
exportsOnly?: boolean | undefined;
|
|
2314
2323
|
localIdentName?: string | undefined;
|
|
2324
|
+
esModule?: boolean | undefined;
|
|
2315
2325
|
}>;
|
|
2316
2326
|
export type CssAutoGeneratorOptions = z.infer<typeof cssAutoGeneratorOptions>;
|
|
2317
2327
|
declare const cssModuleGeneratorOptions: z.ZodObject<{
|
|
2318
2328
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2319
2329
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2320
2330
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2331
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2321
2332
|
}, "strict", z.ZodTypeAny, {
|
|
2322
2333
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2323
2334
|
exportsOnly?: boolean | undefined;
|
|
2324
2335
|
localIdentName?: string | undefined;
|
|
2336
|
+
esModule?: boolean | undefined;
|
|
2325
2337
|
}, {
|
|
2326
2338
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2327
2339
|
exportsOnly?: boolean | undefined;
|
|
2328
2340
|
localIdentName?: string | undefined;
|
|
2341
|
+
esModule?: boolean | undefined;
|
|
2329
2342
|
}>;
|
|
2330
2343
|
export type CssModuleGeneratorOptions = z.infer<typeof cssModuleGeneratorOptions>;
|
|
2331
2344
|
declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
@@ -2343,11 +2356,11 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2343
2356
|
content: z.ZodString;
|
|
2344
2357
|
filename: z.ZodString;
|
|
2345
2358
|
}, "strict", z.ZodTypeAny, {
|
|
2346
|
-
filename: string;
|
|
2347
2359
|
content: string;
|
|
2348
|
-
}, {
|
|
2349
2360
|
filename: string;
|
|
2361
|
+
}, {
|
|
2350
2362
|
content: string;
|
|
2363
|
+
filename: string;
|
|
2351
2364
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2352
2365
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2353
2366
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2357,8 +2370,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2357
2370
|
encoding?: false | "base64" | undefined;
|
|
2358
2371
|
mimetype?: string | undefined;
|
|
2359
2372
|
} | ((args_0: {
|
|
2360
|
-
filename: string;
|
|
2361
2373
|
content: string;
|
|
2374
|
+
filename: string;
|
|
2362
2375
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2363
2376
|
emit?: boolean | undefined;
|
|
2364
2377
|
filename?: string | undefined;
|
|
@@ -2368,8 +2381,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2368
2381
|
encoding?: false | "base64" | undefined;
|
|
2369
2382
|
mimetype?: string | undefined;
|
|
2370
2383
|
} | ((args_0: {
|
|
2371
|
-
filename: string;
|
|
2372
2384
|
content: string;
|
|
2385
|
+
filename: string;
|
|
2373
2386
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2374
2387
|
emit?: boolean | undefined;
|
|
2375
2388
|
filename?: string | undefined;
|
|
@@ -2389,27 +2402,27 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2389
2402
|
content: z.ZodString;
|
|
2390
2403
|
filename: z.ZodString;
|
|
2391
2404
|
}, "strict", z.ZodTypeAny, {
|
|
2392
|
-
filename: string;
|
|
2393
2405
|
content: string;
|
|
2394
|
-
}, {
|
|
2395
2406
|
filename: string;
|
|
2407
|
+
}, {
|
|
2396
2408
|
content: string;
|
|
2409
|
+
filename: string;
|
|
2397
2410
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2398
2411
|
}, "strict", z.ZodTypeAny, {
|
|
2399
2412
|
dataUrl?: {
|
|
2400
2413
|
encoding?: false | "base64" | undefined;
|
|
2401
2414
|
mimetype?: string | undefined;
|
|
2402
2415
|
} | ((args_0: {
|
|
2403
|
-
filename: string;
|
|
2404
2416
|
content: string;
|
|
2417
|
+
filename: string;
|
|
2405
2418
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2406
2419
|
}, {
|
|
2407
2420
|
dataUrl?: {
|
|
2408
2421
|
encoding?: false | "base64" | undefined;
|
|
2409
2422
|
mimetype?: string | undefined;
|
|
2410
2423
|
} | ((args_0: {
|
|
2411
|
-
filename: string;
|
|
2412
2424
|
content: string;
|
|
2425
|
+
filename: string;
|
|
2413
2426
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2414
2427
|
}>>;
|
|
2415
2428
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -2428,38 +2441,47 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2428
2441
|
css: z.ZodOptional<z.ZodObject<{
|
|
2429
2442
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2430
2443
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2444
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2431
2445
|
}, "strict", z.ZodTypeAny, {
|
|
2432
2446
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2433
2447
|
exportsOnly?: boolean | undefined;
|
|
2448
|
+
esModule?: boolean | undefined;
|
|
2434
2449
|
}, {
|
|
2435
2450
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2436
2451
|
exportsOnly?: boolean | undefined;
|
|
2452
|
+
esModule?: boolean | undefined;
|
|
2437
2453
|
}>>;
|
|
2438
2454
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2439
2455
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2440
2456
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2441
2457
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2458
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2442
2459
|
}, "strict", z.ZodTypeAny, {
|
|
2443
2460
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2444
2461
|
exportsOnly?: boolean | undefined;
|
|
2445
2462
|
localIdentName?: string | undefined;
|
|
2463
|
+
esModule?: boolean | undefined;
|
|
2446
2464
|
}, {
|
|
2447
2465
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2448
2466
|
exportsOnly?: boolean | undefined;
|
|
2449
2467
|
localIdentName?: string | undefined;
|
|
2468
|
+
esModule?: boolean | undefined;
|
|
2450
2469
|
}>>;
|
|
2451
2470
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2452
2471
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2453
2472
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2454
2473
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2455
2475
|
}, "strict", z.ZodTypeAny, {
|
|
2456
2476
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2457
2477
|
exportsOnly?: boolean | undefined;
|
|
2458
2478
|
localIdentName?: string | undefined;
|
|
2479
|
+
esModule?: boolean | undefined;
|
|
2459
2480
|
}, {
|
|
2460
2481
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2461
2482
|
exportsOnly?: boolean | undefined;
|
|
2462
2483
|
localIdentName?: string | undefined;
|
|
2484
|
+
esModule?: boolean | undefined;
|
|
2463
2485
|
}>>;
|
|
2464
2486
|
}, "strict", z.ZodTypeAny, {
|
|
2465
2487
|
asset?: {
|
|
@@ -2467,8 +2489,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2467
2489
|
encoding?: false | "base64" | undefined;
|
|
2468
2490
|
mimetype?: string | undefined;
|
|
2469
2491
|
} | ((args_0: {
|
|
2470
|
-
filename: string;
|
|
2471
2492
|
content: string;
|
|
2493
|
+
filename: string;
|
|
2472
2494
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2473
2495
|
emit?: boolean | undefined;
|
|
2474
2496
|
filename?: string | undefined;
|
|
@@ -2479,8 +2501,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2479
2501
|
encoding?: false | "base64" | undefined;
|
|
2480
2502
|
mimetype?: string | undefined;
|
|
2481
2503
|
} | ((args_0: {
|
|
2482
|
-
filename: string;
|
|
2483
2504
|
content: string;
|
|
2505
|
+
filename: string;
|
|
2484
2506
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2485
2507
|
} | undefined;
|
|
2486
2508
|
"asset/resource"?: {
|
|
@@ -2491,16 +2513,19 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2491
2513
|
css?: {
|
|
2492
2514
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2493
2515
|
exportsOnly?: boolean | undefined;
|
|
2516
|
+
esModule?: boolean | undefined;
|
|
2494
2517
|
} | undefined;
|
|
2495
2518
|
"css/auto"?: {
|
|
2496
2519
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2497
2520
|
exportsOnly?: boolean | undefined;
|
|
2498
2521
|
localIdentName?: string | undefined;
|
|
2522
|
+
esModule?: boolean | undefined;
|
|
2499
2523
|
} | undefined;
|
|
2500
2524
|
"css/module"?: {
|
|
2501
2525
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2502
2526
|
exportsOnly?: boolean | undefined;
|
|
2503
2527
|
localIdentName?: string | undefined;
|
|
2528
|
+
esModule?: boolean | undefined;
|
|
2504
2529
|
} | undefined;
|
|
2505
2530
|
}, {
|
|
2506
2531
|
asset?: {
|
|
@@ -2508,8 +2533,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2508
2533
|
encoding?: false | "base64" | undefined;
|
|
2509
2534
|
mimetype?: string | undefined;
|
|
2510
2535
|
} | ((args_0: {
|
|
2511
|
-
filename: string;
|
|
2512
2536
|
content: string;
|
|
2537
|
+
filename: string;
|
|
2513
2538
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2514
2539
|
emit?: boolean | undefined;
|
|
2515
2540
|
filename?: string | undefined;
|
|
@@ -2520,8 +2545,8 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2520
2545
|
encoding?: false | "base64" | undefined;
|
|
2521
2546
|
mimetype?: string | undefined;
|
|
2522
2547
|
} | ((args_0: {
|
|
2523
|
-
filename: string;
|
|
2524
2548
|
content: string;
|
|
2549
|
+
filename: string;
|
|
2525
2550
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2526
2551
|
} | undefined;
|
|
2527
2552
|
"asset/resource"?: {
|
|
@@ -2532,16 +2557,19 @@ declare const generatorOptionsByModuleTypeKnown: z.ZodObject<{
|
|
|
2532
2557
|
css?: {
|
|
2533
2558
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2534
2559
|
exportsOnly?: boolean | undefined;
|
|
2560
|
+
esModule?: boolean | undefined;
|
|
2535
2561
|
} | undefined;
|
|
2536
2562
|
"css/auto"?: {
|
|
2537
2563
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2538
2564
|
exportsOnly?: boolean | undefined;
|
|
2539
2565
|
localIdentName?: string | undefined;
|
|
2566
|
+
esModule?: boolean | undefined;
|
|
2540
2567
|
} | undefined;
|
|
2541
2568
|
"css/module"?: {
|
|
2542
2569
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2543
2570
|
exportsOnly?: boolean | undefined;
|
|
2544
2571
|
localIdentName?: string | undefined;
|
|
2572
|
+
esModule?: boolean | undefined;
|
|
2545
2573
|
} | undefined;
|
|
2546
2574
|
}>;
|
|
2547
2575
|
export type GeneratorOptionsByModuleTypeKnown = z.infer<typeof generatorOptionsByModuleTypeKnown>;
|
|
@@ -2562,11 +2590,11 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2562
2590
|
content: z.ZodString;
|
|
2563
2591
|
filename: z.ZodString;
|
|
2564
2592
|
}, "strict", z.ZodTypeAny, {
|
|
2565
|
-
filename: string;
|
|
2566
2593
|
content: string;
|
|
2567
|
-
}, {
|
|
2568
2594
|
filename: string;
|
|
2595
|
+
}, {
|
|
2569
2596
|
content: string;
|
|
2597
|
+
filename: string;
|
|
2570
2598
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2571
2599
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
2572
2600
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -2576,8 +2604,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2576
2604
|
encoding?: false | "base64" | undefined;
|
|
2577
2605
|
mimetype?: string | undefined;
|
|
2578
2606
|
} | ((args_0: {
|
|
2579
|
-
filename: string;
|
|
2580
2607
|
content: string;
|
|
2608
|
+
filename: string;
|
|
2581
2609
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2582
2610
|
emit?: boolean | undefined;
|
|
2583
2611
|
filename?: string | undefined;
|
|
@@ -2587,8 +2615,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2587
2615
|
encoding?: false | "base64" | undefined;
|
|
2588
2616
|
mimetype?: string | undefined;
|
|
2589
2617
|
} | ((args_0: {
|
|
2590
|
-
filename: string;
|
|
2591
2618
|
content: string;
|
|
2619
|
+
filename: string;
|
|
2592
2620
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2593
2621
|
emit?: boolean | undefined;
|
|
2594
2622
|
filename?: string | undefined;
|
|
@@ -2608,27 +2636,27 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2608
2636
|
content: z.ZodString;
|
|
2609
2637
|
filename: z.ZodString;
|
|
2610
2638
|
}, "strict", z.ZodTypeAny, {
|
|
2611
|
-
filename: string;
|
|
2612
2639
|
content: string;
|
|
2613
|
-
}, {
|
|
2614
2640
|
filename: string;
|
|
2641
|
+
}, {
|
|
2615
2642
|
content: string;
|
|
2643
|
+
filename: string;
|
|
2616
2644
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
2617
2645
|
}, "strict", z.ZodTypeAny, {
|
|
2618
2646
|
dataUrl?: {
|
|
2619
2647
|
encoding?: false | "base64" | undefined;
|
|
2620
2648
|
mimetype?: string | undefined;
|
|
2621
2649
|
} | ((args_0: {
|
|
2622
|
-
filename: string;
|
|
2623
2650
|
content: string;
|
|
2651
|
+
filename: string;
|
|
2624
2652
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2625
2653
|
}, {
|
|
2626
2654
|
dataUrl?: {
|
|
2627
2655
|
encoding?: false | "base64" | undefined;
|
|
2628
2656
|
mimetype?: string | undefined;
|
|
2629
2657
|
} | ((args_0: {
|
|
2630
|
-
filename: string;
|
|
2631
2658
|
content: string;
|
|
2659
|
+
filename: string;
|
|
2632
2660
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2633
2661
|
}>>;
|
|
2634
2662
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -2647,38 +2675,47 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2647
2675
|
css: z.ZodOptional<z.ZodObject<{
|
|
2648
2676
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2649
2677
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2678
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2650
2679
|
}, "strict", z.ZodTypeAny, {
|
|
2651
2680
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2652
2681
|
exportsOnly?: boolean | undefined;
|
|
2682
|
+
esModule?: boolean | undefined;
|
|
2653
2683
|
}, {
|
|
2654
2684
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2655
2685
|
exportsOnly?: boolean | undefined;
|
|
2686
|
+
esModule?: boolean | undefined;
|
|
2656
2687
|
}>>;
|
|
2657
2688
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
2658
2689
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2659
2690
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2660
2691
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2661
2693
|
}, "strict", z.ZodTypeAny, {
|
|
2662
2694
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2663
2695
|
exportsOnly?: boolean | undefined;
|
|
2664
2696
|
localIdentName?: string | undefined;
|
|
2697
|
+
esModule?: boolean | undefined;
|
|
2665
2698
|
}, {
|
|
2666
2699
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2667
2700
|
exportsOnly?: boolean | undefined;
|
|
2668
2701
|
localIdentName?: string | undefined;
|
|
2702
|
+
esModule?: boolean | undefined;
|
|
2669
2703
|
}>>;
|
|
2670
2704
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
2671
2705
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
2672
2706
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
2673
2707
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
2708
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
2674
2709
|
}, "strict", z.ZodTypeAny, {
|
|
2675
2710
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2676
2711
|
exportsOnly?: boolean | undefined;
|
|
2677
2712
|
localIdentName?: string | undefined;
|
|
2713
|
+
esModule?: boolean | undefined;
|
|
2678
2714
|
}, {
|
|
2679
2715
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2680
2716
|
exportsOnly?: boolean | undefined;
|
|
2681
2717
|
localIdentName?: string | undefined;
|
|
2718
|
+
esModule?: boolean | undefined;
|
|
2682
2719
|
}>>;
|
|
2683
2720
|
}, "strict", z.ZodTypeAny, {
|
|
2684
2721
|
asset?: {
|
|
@@ -2686,8 +2723,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2686
2723
|
encoding?: false | "base64" | undefined;
|
|
2687
2724
|
mimetype?: string | undefined;
|
|
2688
2725
|
} | ((args_0: {
|
|
2689
|
-
filename: string;
|
|
2690
2726
|
content: string;
|
|
2727
|
+
filename: string;
|
|
2691
2728
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2692
2729
|
emit?: boolean | undefined;
|
|
2693
2730
|
filename?: string | undefined;
|
|
@@ -2698,8 +2735,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2698
2735
|
encoding?: false | "base64" | undefined;
|
|
2699
2736
|
mimetype?: string | undefined;
|
|
2700
2737
|
} | ((args_0: {
|
|
2701
|
-
filename: string;
|
|
2702
2738
|
content: string;
|
|
2739
|
+
filename: string;
|
|
2703
2740
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2704
2741
|
} | undefined;
|
|
2705
2742
|
"asset/resource"?: {
|
|
@@ -2710,16 +2747,19 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2710
2747
|
css?: {
|
|
2711
2748
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2712
2749
|
exportsOnly?: boolean | undefined;
|
|
2750
|
+
esModule?: boolean | undefined;
|
|
2713
2751
|
} | undefined;
|
|
2714
2752
|
"css/auto"?: {
|
|
2715
2753
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2716
2754
|
exportsOnly?: boolean | undefined;
|
|
2717
2755
|
localIdentName?: string | undefined;
|
|
2756
|
+
esModule?: boolean | undefined;
|
|
2718
2757
|
} | undefined;
|
|
2719
2758
|
"css/module"?: {
|
|
2720
2759
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2721
2760
|
exportsOnly?: boolean | undefined;
|
|
2722
2761
|
localIdentName?: string | undefined;
|
|
2762
|
+
esModule?: boolean | undefined;
|
|
2723
2763
|
} | undefined;
|
|
2724
2764
|
}, {
|
|
2725
2765
|
asset?: {
|
|
@@ -2727,8 +2767,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2727
2767
|
encoding?: false | "base64" | undefined;
|
|
2728
2768
|
mimetype?: string | undefined;
|
|
2729
2769
|
} | ((args_0: {
|
|
2730
|
-
filename: string;
|
|
2731
2770
|
content: string;
|
|
2771
|
+
filename: string;
|
|
2732
2772
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2733
2773
|
emit?: boolean | undefined;
|
|
2734
2774
|
filename?: string | undefined;
|
|
@@ -2739,8 +2779,8 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2739
2779
|
encoding?: false | "base64" | undefined;
|
|
2740
2780
|
mimetype?: string | undefined;
|
|
2741
2781
|
} | ((args_0: {
|
|
2742
|
-
filename: string;
|
|
2743
2782
|
content: string;
|
|
2783
|
+
filename: string;
|
|
2744
2784
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
2745
2785
|
} | undefined;
|
|
2746
2786
|
"asset/resource"?: {
|
|
@@ -2751,16 +2791,19 @@ declare const generatorOptionsByModuleType: z.ZodUnion<[z.ZodObject<{
|
|
|
2751
2791
|
css?: {
|
|
2752
2792
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2753
2793
|
exportsOnly?: boolean | undefined;
|
|
2794
|
+
esModule?: boolean | undefined;
|
|
2754
2795
|
} | undefined;
|
|
2755
2796
|
"css/auto"?: {
|
|
2756
2797
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2757
2798
|
exportsOnly?: boolean | undefined;
|
|
2758
2799
|
localIdentName?: string | undefined;
|
|
2800
|
+
esModule?: boolean | undefined;
|
|
2759
2801
|
} | undefined;
|
|
2760
2802
|
"css/module"?: {
|
|
2761
2803
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
2762
2804
|
exportsOnly?: boolean | undefined;
|
|
2763
2805
|
localIdentName?: string | undefined;
|
|
2806
|
+
esModule?: boolean | undefined;
|
|
2764
2807
|
} | undefined;
|
|
2765
2808
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>;
|
|
2766
2809
|
export type GeneratorOptionsByModuleType = z.infer<typeof generatorOptionsByModuleType>;
|
|
@@ -3006,11 +3049,11 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3006
3049
|
content: z.ZodString;
|
|
3007
3050
|
filename: z.ZodString;
|
|
3008
3051
|
}, "strict", z.ZodTypeAny, {
|
|
3009
|
-
filename: string;
|
|
3010
3052
|
content: string;
|
|
3011
|
-
}, {
|
|
3012
3053
|
filename: string;
|
|
3054
|
+
}, {
|
|
3013
3055
|
content: string;
|
|
3056
|
+
filename: string;
|
|
3014
3057
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3015
3058
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
3016
3059
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -3020,8 +3063,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3020
3063
|
encoding?: false | "base64" | undefined;
|
|
3021
3064
|
mimetype?: string | undefined;
|
|
3022
3065
|
} | ((args_0: {
|
|
3023
|
-
filename: string;
|
|
3024
3066
|
content: string;
|
|
3067
|
+
filename: string;
|
|
3025
3068
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3026
3069
|
emit?: boolean | undefined;
|
|
3027
3070
|
filename?: string | undefined;
|
|
@@ -3031,8 +3074,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3031
3074
|
encoding?: false | "base64" | undefined;
|
|
3032
3075
|
mimetype?: string | undefined;
|
|
3033
3076
|
} | ((args_0: {
|
|
3034
|
-
filename: string;
|
|
3035
3077
|
content: string;
|
|
3078
|
+
filename: string;
|
|
3036
3079
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3037
3080
|
emit?: boolean | undefined;
|
|
3038
3081
|
filename?: string | undefined;
|
|
@@ -3052,27 +3095,27 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3052
3095
|
content: z.ZodString;
|
|
3053
3096
|
filename: z.ZodString;
|
|
3054
3097
|
}, "strict", z.ZodTypeAny, {
|
|
3055
|
-
filename: string;
|
|
3056
3098
|
content: string;
|
|
3057
|
-
}, {
|
|
3058
3099
|
filename: string;
|
|
3100
|
+
}, {
|
|
3059
3101
|
content: string;
|
|
3102
|
+
filename: string;
|
|
3060
3103
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
3061
3104
|
}, "strict", z.ZodTypeAny, {
|
|
3062
3105
|
dataUrl?: {
|
|
3063
3106
|
encoding?: false | "base64" | undefined;
|
|
3064
3107
|
mimetype?: string | undefined;
|
|
3065
3108
|
} | ((args_0: {
|
|
3066
|
-
filename: string;
|
|
3067
3109
|
content: string;
|
|
3110
|
+
filename: string;
|
|
3068
3111
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3069
3112
|
}, {
|
|
3070
3113
|
dataUrl?: {
|
|
3071
3114
|
encoding?: false | "base64" | undefined;
|
|
3072
3115
|
mimetype?: string | undefined;
|
|
3073
3116
|
} | ((args_0: {
|
|
3074
|
-
filename: string;
|
|
3075
3117
|
content: string;
|
|
3118
|
+
filename: string;
|
|
3076
3119
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3077
3120
|
}>>;
|
|
3078
3121
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -3091,38 +3134,47 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3091
3134
|
css: z.ZodOptional<z.ZodObject<{
|
|
3092
3135
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3093
3136
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3137
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3094
3138
|
}, "strict", z.ZodTypeAny, {
|
|
3095
3139
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3096
3140
|
exportsOnly?: boolean | undefined;
|
|
3141
|
+
esModule?: boolean | undefined;
|
|
3097
3142
|
}, {
|
|
3098
3143
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3099
3144
|
exportsOnly?: boolean | undefined;
|
|
3145
|
+
esModule?: boolean | undefined;
|
|
3100
3146
|
}>>;
|
|
3101
3147
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
3102
3148
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3103
3149
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3104
3150
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3151
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3105
3152
|
}, "strict", z.ZodTypeAny, {
|
|
3106
3153
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3107
3154
|
exportsOnly?: boolean | undefined;
|
|
3108
3155
|
localIdentName?: string | undefined;
|
|
3156
|
+
esModule?: boolean | undefined;
|
|
3109
3157
|
}, {
|
|
3110
3158
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3111
3159
|
exportsOnly?: boolean | undefined;
|
|
3112
3160
|
localIdentName?: string | undefined;
|
|
3161
|
+
esModule?: boolean | undefined;
|
|
3113
3162
|
}>>;
|
|
3114
3163
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
3115
3164
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
3116
3165
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
3117
3166
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
3118
3168
|
}, "strict", z.ZodTypeAny, {
|
|
3119
3169
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3120
3170
|
exportsOnly?: boolean | undefined;
|
|
3121
3171
|
localIdentName?: string | undefined;
|
|
3172
|
+
esModule?: boolean | undefined;
|
|
3122
3173
|
}, {
|
|
3123
3174
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3124
3175
|
exportsOnly?: boolean | undefined;
|
|
3125
3176
|
localIdentName?: string | undefined;
|
|
3177
|
+
esModule?: boolean | undefined;
|
|
3126
3178
|
}>>;
|
|
3127
3179
|
}, "strict", z.ZodTypeAny, {
|
|
3128
3180
|
asset?: {
|
|
@@ -3130,8 +3182,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3130
3182
|
encoding?: false | "base64" | undefined;
|
|
3131
3183
|
mimetype?: string | undefined;
|
|
3132
3184
|
} | ((args_0: {
|
|
3133
|
-
filename: string;
|
|
3134
3185
|
content: string;
|
|
3186
|
+
filename: string;
|
|
3135
3187
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3136
3188
|
emit?: boolean | undefined;
|
|
3137
3189
|
filename?: string | undefined;
|
|
@@ -3142,8 +3194,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3142
3194
|
encoding?: false | "base64" | undefined;
|
|
3143
3195
|
mimetype?: string | undefined;
|
|
3144
3196
|
} | ((args_0: {
|
|
3145
|
-
filename: string;
|
|
3146
3197
|
content: string;
|
|
3198
|
+
filename: string;
|
|
3147
3199
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3148
3200
|
} | undefined;
|
|
3149
3201
|
"asset/resource"?: {
|
|
@@ -3154,16 +3206,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3154
3206
|
css?: {
|
|
3155
3207
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3156
3208
|
exportsOnly?: boolean | undefined;
|
|
3209
|
+
esModule?: boolean | undefined;
|
|
3157
3210
|
} | undefined;
|
|
3158
3211
|
"css/auto"?: {
|
|
3159
3212
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3160
3213
|
exportsOnly?: boolean | undefined;
|
|
3161
3214
|
localIdentName?: string | undefined;
|
|
3215
|
+
esModule?: boolean | undefined;
|
|
3162
3216
|
} | undefined;
|
|
3163
3217
|
"css/module"?: {
|
|
3164
3218
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3165
3219
|
exportsOnly?: boolean | undefined;
|
|
3166
3220
|
localIdentName?: string | undefined;
|
|
3221
|
+
esModule?: boolean | undefined;
|
|
3167
3222
|
} | undefined;
|
|
3168
3223
|
}, {
|
|
3169
3224
|
asset?: {
|
|
@@ -3171,8 +3226,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3171
3226
|
encoding?: false | "base64" | undefined;
|
|
3172
3227
|
mimetype?: string | undefined;
|
|
3173
3228
|
} | ((args_0: {
|
|
3174
|
-
filename: string;
|
|
3175
3229
|
content: string;
|
|
3230
|
+
filename: string;
|
|
3176
3231
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3177
3232
|
emit?: boolean | undefined;
|
|
3178
3233
|
filename?: string | undefined;
|
|
@@ -3183,8 +3238,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3183
3238
|
encoding?: false | "base64" | undefined;
|
|
3184
3239
|
mimetype?: string | undefined;
|
|
3185
3240
|
} | ((args_0: {
|
|
3186
|
-
filename: string;
|
|
3187
3241
|
content: string;
|
|
3242
|
+
filename: string;
|
|
3188
3243
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3189
3244
|
} | undefined;
|
|
3190
3245
|
"asset/resource"?: {
|
|
@@ -3195,16 +3250,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3195
3250
|
css?: {
|
|
3196
3251
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3197
3252
|
exportsOnly?: boolean | undefined;
|
|
3253
|
+
esModule?: boolean | undefined;
|
|
3198
3254
|
} | undefined;
|
|
3199
3255
|
"css/auto"?: {
|
|
3200
3256
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3201
3257
|
exportsOnly?: boolean | undefined;
|
|
3202
3258
|
localIdentName?: string | undefined;
|
|
3259
|
+
esModule?: boolean | undefined;
|
|
3203
3260
|
} | undefined;
|
|
3204
3261
|
"css/module"?: {
|
|
3205
3262
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3206
3263
|
exportsOnly?: boolean | undefined;
|
|
3207
3264
|
localIdentName?: string | undefined;
|
|
3265
|
+
esModule?: boolean | undefined;
|
|
3208
3266
|
} | undefined;
|
|
3209
3267
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
3210
3268
|
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">]>>;
|
|
@@ -3265,8 +3323,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3265
3323
|
encoding?: false | "base64" | undefined;
|
|
3266
3324
|
mimetype?: string | undefined;
|
|
3267
3325
|
} | ((args_0: {
|
|
3268
|
-
filename: string;
|
|
3269
3326
|
content: string;
|
|
3327
|
+
filename: string;
|
|
3270
3328
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3271
3329
|
emit?: boolean | undefined;
|
|
3272
3330
|
filename?: string | undefined;
|
|
@@ -3277,8 +3335,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3277
3335
|
encoding?: false | "base64" | undefined;
|
|
3278
3336
|
mimetype?: string | undefined;
|
|
3279
3337
|
} | ((args_0: {
|
|
3280
|
-
filename: string;
|
|
3281
3338
|
content: string;
|
|
3339
|
+
filename: string;
|
|
3282
3340
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3283
3341
|
} | undefined;
|
|
3284
3342
|
"asset/resource"?: {
|
|
@@ -3289,16 +3347,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3289
3347
|
css?: {
|
|
3290
3348
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3291
3349
|
exportsOnly?: boolean | undefined;
|
|
3350
|
+
esModule?: boolean | undefined;
|
|
3292
3351
|
} | undefined;
|
|
3293
3352
|
"css/auto"?: {
|
|
3294
3353
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3295
3354
|
exportsOnly?: boolean | undefined;
|
|
3296
3355
|
localIdentName?: string | undefined;
|
|
3356
|
+
esModule?: boolean | undefined;
|
|
3297
3357
|
} | undefined;
|
|
3298
3358
|
"css/module"?: {
|
|
3299
3359
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3300
3360
|
exportsOnly?: boolean | undefined;
|
|
3301
3361
|
localIdentName?: string | undefined;
|
|
3362
|
+
esModule?: boolean | undefined;
|
|
3302
3363
|
} | undefined;
|
|
3303
3364
|
} | undefined;
|
|
3304
3365
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -3359,8 +3420,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3359
3420
|
encoding?: false | "base64" | undefined;
|
|
3360
3421
|
mimetype?: string | undefined;
|
|
3361
3422
|
} | ((args_0: {
|
|
3362
|
-
filename: string;
|
|
3363
3423
|
content: string;
|
|
3424
|
+
filename: string;
|
|
3364
3425
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3365
3426
|
emit?: boolean | undefined;
|
|
3366
3427
|
filename?: string | undefined;
|
|
@@ -3371,8 +3432,8 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3371
3432
|
encoding?: false | "base64" | undefined;
|
|
3372
3433
|
mimetype?: string | undefined;
|
|
3373
3434
|
} | ((args_0: {
|
|
3374
|
-
filename: string;
|
|
3375
3435
|
content: string;
|
|
3436
|
+
filename: string;
|
|
3376
3437
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
3377
3438
|
} | undefined;
|
|
3378
3439
|
"asset/resource"?: {
|
|
@@ -3383,16 +3444,19 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
3383
3444
|
css?: {
|
|
3384
3445
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3385
3446
|
exportsOnly?: boolean | undefined;
|
|
3447
|
+
esModule?: boolean | undefined;
|
|
3386
3448
|
} | undefined;
|
|
3387
3449
|
"css/auto"?: {
|
|
3388
3450
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3389
3451
|
exportsOnly?: boolean | undefined;
|
|
3390
3452
|
localIdentName?: string | undefined;
|
|
3453
|
+
esModule?: boolean | undefined;
|
|
3391
3454
|
} | undefined;
|
|
3392
3455
|
"css/module"?: {
|
|
3393
3456
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
3394
3457
|
exportsOnly?: boolean | undefined;
|
|
3395
3458
|
localIdentName?: string | undefined;
|
|
3459
|
+
esModule?: boolean | undefined;
|
|
3396
3460
|
} | undefined;
|
|
3397
3461
|
} | undefined;
|
|
3398
3462
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -3538,14 +3602,14 @@ declare const infrastructureLogging: z.ZodObject<{
|
|
|
3538
3602
|
colors?: boolean | undefined;
|
|
3539
3603
|
console?: Console | undefined;
|
|
3540
3604
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3541
|
-
level?: "
|
|
3605
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3542
3606
|
stream?: NodeJS.WritableStream | undefined;
|
|
3543
3607
|
}, {
|
|
3544
3608
|
appendOnly?: boolean | undefined;
|
|
3545
3609
|
colors?: boolean | undefined;
|
|
3546
3610
|
console?: Console | undefined;
|
|
3547
3611
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3548
|
-
level?: "
|
|
3612
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3549
3613
|
stream?: NodeJS.WritableStream | undefined;
|
|
3550
3614
|
}>;
|
|
3551
3615
|
export type InfrastructureLogging = z.infer<typeof infrastructureLogging>;
|
|
@@ -3660,7 +3724,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3660
3724
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
3661
3725
|
}, "strict", z.ZodTypeAny, {
|
|
3662
3726
|
all?: boolean | undefined;
|
|
3663
|
-
preset?: "
|
|
3727
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3664
3728
|
assets?: boolean | undefined;
|
|
3665
3729
|
chunks?: boolean | undefined;
|
|
3666
3730
|
modules?: boolean | undefined;
|
|
@@ -3685,7 +3749,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3685
3749
|
modulesSpace?: number | undefined;
|
|
3686
3750
|
nestedModules?: boolean | undefined;
|
|
3687
3751
|
source?: boolean | undefined;
|
|
3688
|
-
logging?: boolean | "
|
|
3752
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3689
3753
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3690
3754
|
loggingTrace?: boolean | undefined;
|
|
3691
3755
|
runtimeModules?: boolean | undefined;
|
|
@@ -3696,7 +3760,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3696
3760
|
orphanModules?: boolean | undefined;
|
|
3697
3761
|
}, {
|
|
3698
3762
|
all?: boolean | undefined;
|
|
3699
|
-
preset?: "
|
|
3763
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3700
3764
|
assets?: boolean | undefined;
|
|
3701
3765
|
chunks?: boolean | undefined;
|
|
3702
3766
|
modules?: boolean | undefined;
|
|
@@ -3721,7 +3785,7 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3721
3785
|
modulesSpace?: number | undefined;
|
|
3722
3786
|
nestedModules?: boolean | undefined;
|
|
3723
3787
|
source?: boolean | undefined;
|
|
3724
|
-
logging?: boolean | "
|
|
3788
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3725
3789
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3726
3790
|
loggingTrace?: boolean | undefined;
|
|
3727
3791
|
runtimeModules?: boolean | undefined;
|
|
@@ -3770,7 +3834,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3770
3834
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
3771
3835
|
}, "strict", z.ZodTypeAny, {
|
|
3772
3836
|
all?: boolean | undefined;
|
|
3773
|
-
preset?: "
|
|
3837
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3774
3838
|
assets?: boolean | undefined;
|
|
3775
3839
|
chunks?: boolean | undefined;
|
|
3776
3840
|
modules?: boolean | undefined;
|
|
@@ -3795,7 +3859,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3795
3859
|
modulesSpace?: number | undefined;
|
|
3796
3860
|
nestedModules?: boolean | undefined;
|
|
3797
3861
|
source?: boolean | undefined;
|
|
3798
|
-
logging?: boolean | "
|
|
3862
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3799
3863
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3800
3864
|
loggingTrace?: boolean | undefined;
|
|
3801
3865
|
runtimeModules?: boolean | undefined;
|
|
@@ -3806,7 +3870,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3806
3870
|
orphanModules?: boolean | undefined;
|
|
3807
3871
|
}, {
|
|
3808
3872
|
all?: boolean | undefined;
|
|
3809
|
-
preset?: "
|
|
3873
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
3810
3874
|
assets?: boolean | undefined;
|
|
3811
3875
|
chunks?: boolean | undefined;
|
|
3812
3876
|
modules?: boolean | undefined;
|
|
@@ -3831,7 +3895,7 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["none", "errors-onl
|
|
|
3831
3895
|
modulesSpace?: number | undefined;
|
|
3832
3896
|
nestedModules?: boolean | undefined;
|
|
3833
3897
|
source?: boolean | undefined;
|
|
3834
|
-
logging?: boolean | "
|
|
3898
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
3835
3899
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
3836
3900
|
loggingTrace?: boolean | undefined;
|
|
3837
3901
|
runtimeModules?: boolean | undefined;
|
|
@@ -3887,7 +3951,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
3887
3951
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
3888
3952
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3889
3953
|
}, "strict", z.ZodTypeAny, {
|
|
3890
|
-
chunks?: RegExp | "async" | "
|
|
3954
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3891
3955
|
defaultSizeTypes?: string[] | undefined;
|
|
3892
3956
|
minChunks?: number | undefined;
|
|
3893
3957
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -3904,7 +3968,7 @@ declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
|
3904
3968
|
type?: string | RegExp | undefined;
|
|
3905
3969
|
idHint?: string | undefined;
|
|
3906
3970
|
}, {
|
|
3907
|
-
chunks?: RegExp | "async" | "
|
|
3971
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3908
3972
|
defaultSizeTypes?: string[] | undefined;
|
|
3909
3973
|
minChunks?: number | undefined;
|
|
3910
3974
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -3950,7 +4014,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3950
4014
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
3951
4015
|
idHint: z.ZodOptional<z.ZodString>;
|
|
3952
4016
|
}, "strict", z.ZodTypeAny, {
|
|
3953
|
-
chunks?: RegExp | "async" | "
|
|
4017
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3954
4018
|
defaultSizeTypes?: string[] | undefined;
|
|
3955
4019
|
minChunks?: number | undefined;
|
|
3956
4020
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -3967,7 +4031,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3967
4031
|
type?: string | RegExp | undefined;
|
|
3968
4032
|
idHint?: string | undefined;
|
|
3969
4033
|
}, {
|
|
3970
|
-
chunks?: RegExp | "async" | "
|
|
4034
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3971
4035
|
defaultSizeTypes?: string[] | undefined;
|
|
3972
4036
|
minChunks?: number | undefined;
|
|
3973
4037
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -3994,14 +4058,14 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
3994
4058
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
3995
4059
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
3996
4060
|
}, "strict", z.ZodTypeAny, {
|
|
3997
|
-
chunks?: RegExp | "async" | "
|
|
4061
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
3998
4062
|
minSize?: number | undefined;
|
|
3999
4063
|
maxSize?: number | undefined;
|
|
4000
4064
|
maxAsyncSize?: number | undefined;
|
|
4001
4065
|
maxInitialSize?: number | undefined;
|
|
4002
4066
|
automaticNameDelimiter?: string | undefined;
|
|
4003
4067
|
}, {
|
|
4004
|
-
chunks?: RegExp | "async" | "
|
|
4068
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4005
4069
|
minSize?: number | undefined;
|
|
4006
4070
|
maxSize?: number | undefined;
|
|
4007
4071
|
maxAsyncSize?: number | undefined;
|
|
@@ -4010,7 +4074,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4010
4074
|
}>>;
|
|
4011
4075
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4012
4076
|
}, "strict", z.ZodTypeAny, {
|
|
4013
|
-
chunks?: RegExp | "async" | "
|
|
4077
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4014
4078
|
defaultSizeTypes?: string[] | undefined;
|
|
4015
4079
|
minChunks?: number | undefined;
|
|
4016
4080
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4020,7 +4084,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4020
4084
|
maxInitialSize?: number | undefined;
|
|
4021
4085
|
automaticNameDelimiter?: string | undefined;
|
|
4022
4086
|
cacheGroups?: Record<string, false | {
|
|
4023
|
-
chunks?: RegExp | "async" | "
|
|
4087
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4024
4088
|
defaultSizeTypes?: string[] | undefined;
|
|
4025
4089
|
minChunks?: number | undefined;
|
|
4026
4090
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4040,7 +4104,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4040
4104
|
maxAsyncRequests?: number | undefined;
|
|
4041
4105
|
maxInitialRequests?: number | undefined;
|
|
4042
4106
|
fallbackCacheGroup?: {
|
|
4043
|
-
chunks?: RegExp | "async" | "
|
|
4107
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4044
4108
|
minSize?: number | undefined;
|
|
4045
4109
|
maxSize?: number | undefined;
|
|
4046
4110
|
maxAsyncSize?: number | undefined;
|
|
@@ -4049,7 +4113,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4049
4113
|
} | undefined;
|
|
4050
4114
|
hidePathInfo?: boolean | undefined;
|
|
4051
4115
|
}, {
|
|
4052
|
-
chunks?: RegExp | "async" | "
|
|
4116
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4053
4117
|
defaultSizeTypes?: string[] | undefined;
|
|
4054
4118
|
minChunks?: number | undefined;
|
|
4055
4119
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4059,7 +4123,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4059
4123
|
maxInitialSize?: number | undefined;
|
|
4060
4124
|
automaticNameDelimiter?: string | undefined;
|
|
4061
4125
|
cacheGroups?: Record<string, false | {
|
|
4062
|
-
chunks?: RegExp | "async" | "
|
|
4126
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4063
4127
|
defaultSizeTypes?: string[] | undefined;
|
|
4064
4128
|
minChunks?: number | undefined;
|
|
4065
4129
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4079,7 +4143,7 @@ declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
|
4079
4143
|
maxAsyncRequests?: number | undefined;
|
|
4080
4144
|
maxInitialRequests?: number | undefined;
|
|
4081
4145
|
fallbackCacheGroup?: {
|
|
4082
|
-
chunks?: RegExp | "async" | "
|
|
4146
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4083
4147
|
minSize?: number | undefined;
|
|
4084
4148
|
maxSize?: number | undefined;
|
|
4085
4149
|
maxAsyncSize?: number | undefined;
|
|
@@ -4123,7 +4187,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4123
4187
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4124
4188
|
idHint: z.ZodOptional<z.ZodString>;
|
|
4125
4189
|
}, "strict", z.ZodTypeAny, {
|
|
4126
|
-
chunks?: RegExp | "async" | "
|
|
4190
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4127
4191
|
defaultSizeTypes?: string[] | undefined;
|
|
4128
4192
|
minChunks?: number | undefined;
|
|
4129
4193
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4140,7 +4204,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4140
4204
|
type?: string | RegExp | undefined;
|
|
4141
4205
|
idHint?: string | undefined;
|
|
4142
4206
|
}, {
|
|
4143
|
-
chunks?: RegExp | "async" | "
|
|
4207
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4144
4208
|
defaultSizeTypes?: string[] | undefined;
|
|
4145
4209
|
minChunks?: number | undefined;
|
|
4146
4210
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4167,14 +4231,14 @@ declare const optimization: z.ZodObject<{
|
|
|
4167
4231
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4168
4232
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4169
4233
|
}, "strict", z.ZodTypeAny, {
|
|
4170
|
-
chunks?: RegExp | "async" | "
|
|
4234
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4171
4235
|
minSize?: number | undefined;
|
|
4172
4236
|
maxSize?: number | undefined;
|
|
4173
4237
|
maxAsyncSize?: number | undefined;
|
|
4174
4238
|
maxInitialSize?: number | undefined;
|
|
4175
4239
|
automaticNameDelimiter?: string | undefined;
|
|
4176
4240
|
}, {
|
|
4177
|
-
chunks?: RegExp | "async" | "
|
|
4241
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4178
4242
|
minSize?: number | undefined;
|
|
4179
4243
|
maxSize?: number | undefined;
|
|
4180
4244
|
maxAsyncSize?: number | undefined;
|
|
@@ -4183,7 +4247,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4183
4247
|
}>>;
|
|
4184
4248
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4185
4249
|
}, "strict", z.ZodTypeAny, {
|
|
4186
|
-
chunks?: RegExp | "async" | "
|
|
4250
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4187
4251
|
defaultSizeTypes?: string[] | undefined;
|
|
4188
4252
|
minChunks?: number | undefined;
|
|
4189
4253
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4193,7 +4257,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4193
4257
|
maxInitialSize?: number | undefined;
|
|
4194
4258
|
automaticNameDelimiter?: string | undefined;
|
|
4195
4259
|
cacheGroups?: Record<string, false | {
|
|
4196
|
-
chunks?: RegExp | "async" | "
|
|
4260
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4197
4261
|
defaultSizeTypes?: string[] | undefined;
|
|
4198
4262
|
minChunks?: number | undefined;
|
|
4199
4263
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4213,7 +4277,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4213
4277
|
maxAsyncRequests?: number | undefined;
|
|
4214
4278
|
maxInitialRequests?: number | undefined;
|
|
4215
4279
|
fallbackCacheGroup?: {
|
|
4216
|
-
chunks?: RegExp | "async" | "
|
|
4280
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4217
4281
|
minSize?: number | undefined;
|
|
4218
4282
|
maxSize?: number | undefined;
|
|
4219
4283
|
maxAsyncSize?: number | undefined;
|
|
@@ -4222,7 +4286,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4222
4286
|
} | undefined;
|
|
4223
4287
|
hidePathInfo?: boolean | undefined;
|
|
4224
4288
|
}, {
|
|
4225
|
-
chunks?: RegExp | "async" | "
|
|
4289
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4226
4290
|
defaultSizeTypes?: string[] | undefined;
|
|
4227
4291
|
minChunks?: number | undefined;
|
|
4228
4292
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4232,7 +4296,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4232
4296
|
maxInitialSize?: number | undefined;
|
|
4233
4297
|
automaticNameDelimiter?: string | undefined;
|
|
4234
4298
|
cacheGroups?: Record<string, false | {
|
|
4235
|
-
chunks?: RegExp | "async" | "
|
|
4299
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4236
4300
|
defaultSizeTypes?: string[] | undefined;
|
|
4237
4301
|
minChunks?: number | undefined;
|
|
4238
4302
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4252,7 +4316,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4252
4316
|
maxAsyncRequests?: number | undefined;
|
|
4253
4317
|
maxInitialRequests?: number | undefined;
|
|
4254
4318
|
fallbackCacheGroup?: {
|
|
4255
|
-
chunks?: RegExp | "async" | "
|
|
4319
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4256
4320
|
minSize?: number | undefined;
|
|
4257
4321
|
maxSize?: number | undefined;
|
|
4258
4322
|
maxAsyncSize?: number | undefined;
|
|
@@ -4292,10 +4356,10 @@ declare const optimization: z.ZodObject<{
|
|
|
4292
4356
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
4293
4357
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
4294
4358
|
minimize?: boolean | undefined;
|
|
4295
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
4359
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4296
4360
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4297
4361
|
splitChunks?: false | {
|
|
4298
|
-
chunks?: RegExp | "async" | "
|
|
4362
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4299
4363
|
defaultSizeTypes?: string[] | undefined;
|
|
4300
4364
|
minChunks?: number | undefined;
|
|
4301
4365
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4305,7 +4369,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4305
4369
|
maxInitialSize?: number | undefined;
|
|
4306
4370
|
automaticNameDelimiter?: string | undefined;
|
|
4307
4371
|
cacheGroups?: Record<string, false | {
|
|
4308
|
-
chunks?: RegExp | "async" | "
|
|
4372
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4309
4373
|
defaultSizeTypes?: string[] | undefined;
|
|
4310
4374
|
minChunks?: number | undefined;
|
|
4311
4375
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4325,7 +4389,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4325
4389
|
maxAsyncRequests?: number | undefined;
|
|
4326
4390
|
maxInitialRequests?: number | undefined;
|
|
4327
4391
|
fallbackCacheGroup?: {
|
|
4328
|
-
chunks?: RegExp | "async" | "
|
|
4392
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4329
4393
|
minSize?: number | undefined;
|
|
4330
4394
|
maxSize?: number | undefined;
|
|
4331
4395
|
maxAsyncSize?: number | undefined;
|
|
@@ -4347,16 +4411,16 @@ declare const optimization: z.ZodObject<{
|
|
|
4347
4411
|
concatenateModules?: boolean | undefined;
|
|
4348
4412
|
innerGraph?: boolean | undefined;
|
|
4349
4413
|
usedExports?: boolean | "global" | undefined;
|
|
4350
|
-
mangleExports?: boolean | "
|
|
4414
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
4351
4415
|
nodeEnv?: string | false | undefined;
|
|
4352
4416
|
}, {
|
|
4353
4417
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
4354
4418
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
4355
4419
|
minimize?: boolean | undefined;
|
|
4356
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
4420
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
4357
4421
|
mergeDuplicateChunks?: boolean | undefined;
|
|
4358
4422
|
splitChunks?: false | {
|
|
4359
|
-
chunks?: RegExp | "async" | "
|
|
4423
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4360
4424
|
defaultSizeTypes?: string[] | undefined;
|
|
4361
4425
|
minChunks?: number | undefined;
|
|
4362
4426
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4366,7 +4430,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4366
4430
|
maxInitialSize?: number | undefined;
|
|
4367
4431
|
automaticNameDelimiter?: string | undefined;
|
|
4368
4432
|
cacheGroups?: Record<string, false | {
|
|
4369
|
-
chunks?: RegExp | "async" | "
|
|
4433
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4370
4434
|
defaultSizeTypes?: string[] | undefined;
|
|
4371
4435
|
minChunks?: number | undefined;
|
|
4372
4436
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -4386,7 +4450,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4386
4450
|
maxAsyncRequests?: number | undefined;
|
|
4387
4451
|
maxInitialRequests?: number | undefined;
|
|
4388
4452
|
fallbackCacheGroup?: {
|
|
4389
|
-
chunks?: RegExp | "async" | "
|
|
4453
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4390
4454
|
minSize?: number | undefined;
|
|
4391
4455
|
maxSize?: number | undefined;
|
|
4392
4456
|
maxAsyncSize?: number | undefined;
|
|
@@ -4408,7 +4472,7 @@ declare const optimization: z.ZodObject<{
|
|
|
4408
4472
|
concatenateModules?: boolean | undefined;
|
|
4409
4473
|
innerGraph?: boolean | undefined;
|
|
4410
4474
|
usedExports?: boolean | "global" | undefined;
|
|
4411
|
-
mangleExports?: boolean | "
|
|
4475
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
4412
4476
|
nodeEnv?: string | false | undefined;
|
|
4413
4477
|
}>;
|
|
4414
4478
|
export type Optimization = z.infer<typeof optimization>;
|
|
@@ -4443,7 +4507,6 @@ declare const experiments: z.ZodObject<{
|
|
|
4443
4507
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
4444
4508
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
4445
4509
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
4446
|
-
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
4447
4510
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
4448
4511
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
4449
4512
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -4476,7 +4539,6 @@ declare const experiments: z.ZodObject<{
|
|
|
4476
4539
|
asyncWebAssembly?: boolean | undefined;
|
|
4477
4540
|
outputModule?: boolean | undefined;
|
|
4478
4541
|
topLevelAwait?: boolean | undefined;
|
|
4479
|
-
newSplitChunks?: boolean | undefined;
|
|
4480
4542
|
css?: boolean | undefined;
|
|
4481
4543
|
futureDefaults?: boolean | undefined;
|
|
4482
4544
|
rspackFuture?: {
|
|
@@ -4491,7 +4553,6 @@ declare const experiments: z.ZodObject<{
|
|
|
4491
4553
|
asyncWebAssembly?: boolean | undefined;
|
|
4492
4554
|
outputModule?: boolean | undefined;
|
|
4493
4555
|
topLevelAwait?: boolean | undefined;
|
|
4494
|
-
newSplitChunks?: boolean | undefined;
|
|
4495
4556
|
css?: boolean | undefined;
|
|
4496
4557
|
futureDefaults?: boolean | undefined;
|
|
4497
4558
|
rspackFuture?: {
|
|
@@ -4533,7 +4594,24 @@ declare const profile: z.ZodBoolean;
|
|
|
4533
4594
|
export type Profile = z.infer<typeof profile>;
|
|
4534
4595
|
declare const bail: z.ZodBoolean;
|
|
4535
4596
|
export type Bail = z.infer<typeof bail>;
|
|
4536
|
-
declare const
|
|
4597
|
+
declare const performance: z.ZodUnion<[z.ZodObject<{
|
|
4598
|
+
assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
|
|
4599
|
+
hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
|
|
4600
|
+
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
|
4601
|
+
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
|
4602
|
+
}, "strict", z.ZodTypeAny, {
|
|
4603
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
4604
|
+
hints?: false | "error" | "warning" | undefined;
|
|
4605
|
+
maxAssetSize?: number | undefined;
|
|
4606
|
+
maxEntrypointSize?: number | undefined;
|
|
4607
|
+
}, {
|
|
4608
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
4609
|
+
hints?: false | "error" | "warning" | undefined;
|
|
4610
|
+
maxAssetSize?: number | undefined;
|
|
4611
|
+
maxEntrypointSize?: number | undefined;
|
|
4612
|
+
}>, z.ZodLiteral<false>]>;
|
|
4613
|
+
export type Performance = z.infer<typeof performance>;
|
|
4614
|
+
declare const builtins: z.ZodType<BuiltinsType, z.ZodTypeDef, BuiltinsType>;
|
|
4537
4615
|
export type Builtins = z.infer<typeof builtins>;
|
|
4538
4616
|
export declare const rspackOptions: z.ZodObject<{
|
|
4539
4617
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5109,7 +5187,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5109
5187
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
5110
5188
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
|
5111
5189
|
topLevelAwait: z.ZodOptional<z.ZodBoolean>;
|
|
5112
|
-
newSplitChunks: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean | undefined, boolean | undefined>;
|
|
5113
5190
|
css: z.ZodOptional<z.ZodBoolean>;
|
|
5114
5191
|
futureDefaults: z.ZodOptional<z.ZodBoolean>;
|
|
5115
5192
|
rspackFuture: z.ZodOptional<z.ZodObject<{
|
|
@@ -5142,7 +5219,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5142
5219
|
asyncWebAssembly?: boolean | undefined;
|
|
5143
5220
|
outputModule?: boolean | undefined;
|
|
5144
5221
|
topLevelAwait?: boolean | undefined;
|
|
5145
|
-
newSplitChunks?: boolean | undefined;
|
|
5146
5222
|
css?: boolean | undefined;
|
|
5147
5223
|
futureDefaults?: boolean | undefined;
|
|
5148
5224
|
rspackFuture?: {
|
|
@@ -5157,7 +5233,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5157
5233
|
asyncWebAssembly?: boolean | undefined;
|
|
5158
5234
|
outputModule?: boolean | undefined;
|
|
5159
5235
|
topLevelAwait?: boolean | undefined;
|
|
5160
|
-
newSplitChunks?: boolean | undefined;
|
|
5161
5236
|
css?: boolean | undefined;
|
|
5162
5237
|
futureDefaults?: boolean | undefined;
|
|
5163
5238
|
rspackFuture?: {
|
|
@@ -5255,14 +5330,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5255
5330
|
colors?: boolean | undefined;
|
|
5256
5331
|
console?: Console | undefined;
|
|
5257
5332
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5258
|
-
level?: "
|
|
5333
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
5259
5334
|
stream?: NodeJS.WritableStream | undefined;
|
|
5260
5335
|
}, {
|
|
5261
5336
|
appendOnly?: boolean | undefined;
|
|
5262
5337
|
colors?: boolean | undefined;
|
|
5263
5338
|
console?: Console | undefined;
|
|
5264
5339
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5265
|
-
level?: "
|
|
5340
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
5266
5341
|
stream?: NodeJS.WritableStream | undefined;
|
|
5267
5342
|
}>>;
|
|
5268
5343
|
cache: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5340,7 +5415,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5340
5415
|
orphanModules: z.ZodOptional<z.ZodBoolean>;
|
|
5341
5416
|
}, "strict", z.ZodTypeAny, {
|
|
5342
5417
|
all?: boolean | undefined;
|
|
5343
|
-
preset?: "
|
|
5418
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5344
5419
|
assets?: boolean | undefined;
|
|
5345
5420
|
chunks?: boolean | undefined;
|
|
5346
5421
|
modules?: boolean | undefined;
|
|
@@ -5365,7 +5440,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5365
5440
|
modulesSpace?: number | undefined;
|
|
5366
5441
|
nestedModules?: boolean | undefined;
|
|
5367
5442
|
source?: boolean | undefined;
|
|
5368
|
-
logging?: boolean | "
|
|
5443
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
5369
5444
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5370
5445
|
loggingTrace?: boolean | undefined;
|
|
5371
5446
|
runtimeModules?: boolean | undefined;
|
|
@@ -5376,7 +5451,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5376
5451
|
orphanModules?: boolean | undefined;
|
|
5377
5452
|
}, {
|
|
5378
5453
|
all?: boolean | undefined;
|
|
5379
|
-
preset?: "
|
|
5454
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
5380
5455
|
assets?: boolean | undefined;
|
|
5381
5456
|
chunks?: boolean | undefined;
|
|
5382
5457
|
modules?: boolean | undefined;
|
|
@@ -5401,7 +5476,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5401
5476
|
modulesSpace?: number | undefined;
|
|
5402
5477
|
nestedModules?: boolean | undefined;
|
|
5403
5478
|
source?: boolean | undefined;
|
|
5404
|
-
logging?: boolean | "
|
|
5479
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
5405
5480
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
5406
5481
|
loggingTrace?: boolean | undefined;
|
|
5407
5482
|
runtimeModules?: boolean | undefined;
|
|
@@ -5485,7 +5560,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5485
5560
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
5486
5561
|
idHint: z.ZodOptional<z.ZodString>;
|
|
5487
5562
|
}, "strict", z.ZodTypeAny, {
|
|
5488
|
-
chunks?: RegExp | "async" | "
|
|
5563
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5489
5564
|
defaultSizeTypes?: string[] | undefined;
|
|
5490
5565
|
minChunks?: number | undefined;
|
|
5491
5566
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5502,7 +5577,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5502
5577
|
type?: string | RegExp | undefined;
|
|
5503
5578
|
idHint?: string | undefined;
|
|
5504
5579
|
}, {
|
|
5505
|
-
chunks?: RegExp | "async" | "
|
|
5580
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5506
5581
|
defaultSizeTypes?: string[] | undefined;
|
|
5507
5582
|
minChunks?: number | undefined;
|
|
5508
5583
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5529,14 +5604,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5529
5604
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
5530
5605
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
5531
5606
|
}, "strict", z.ZodTypeAny, {
|
|
5532
|
-
chunks?: RegExp | "async" | "
|
|
5607
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5533
5608
|
minSize?: number | undefined;
|
|
5534
5609
|
maxSize?: number | undefined;
|
|
5535
5610
|
maxAsyncSize?: number | undefined;
|
|
5536
5611
|
maxInitialSize?: number | undefined;
|
|
5537
5612
|
automaticNameDelimiter?: string | undefined;
|
|
5538
5613
|
}, {
|
|
5539
|
-
chunks?: RegExp | "async" | "
|
|
5614
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5540
5615
|
minSize?: number | undefined;
|
|
5541
5616
|
maxSize?: number | undefined;
|
|
5542
5617
|
maxAsyncSize?: number | undefined;
|
|
@@ -5545,7 +5620,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5545
5620
|
}>>;
|
|
5546
5621
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
5547
5622
|
}, "strict", z.ZodTypeAny, {
|
|
5548
|
-
chunks?: RegExp | "async" | "
|
|
5623
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5549
5624
|
defaultSizeTypes?: string[] | undefined;
|
|
5550
5625
|
minChunks?: number | undefined;
|
|
5551
5626
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5555,7 +5630,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5555
5630
|
maxInitialSize?: number | undefined;
|
|
5556
5631
|
automaticNameDelimiter?: string | undefined;
|
|
5557
5632
|
cacheGroups?: Record<string, false | {
|
|
5558
|
-
chunks?: RegExp | "async" | "
|
|
5633
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5559
5634
|
defaultSizeTypes?: string[] | undefined;
|
|
5560
5635
|
minChunks?: number | undefined;
|
|
5561
5636
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5575,7 +5650,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5575
5650
|
maxAsyncRequests?: number | undefined;
|
|
5576
5651
|
maxInitialRequests?: number | undefined;
|
|
5577
5652
|
fallbackCacheGroup?: {
|
|
5578
|
-
chunks?: RegExp | "async" | "
|
|
5653
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5579
5654
|
minSize?: number | undefined;
|
|
5580
5655
|
maxSize?: number | undefined;
|
|
5581
5656
|
maxAsyncSize?: number | undefined;
|
|
@@ -5584,7 +5659,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5584
5659
|
} | undefined;
|
|
5585
5660
|
hidePathInfo?: boolean | undefined;
|
|
5586
5661
|
}, {
|
|
5587
|
-
chunks?: RegExp | "async" | "
|
|
5662
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5588
5663
|
defaultSizeTypes?: string[] | undefined;
|
|
5589
5664
|
minChunks?: number | undefined;
|
|
5590
5665
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5594,7 +5669,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5594
5669
|
maxInitialSize?: number | undefined;
|
|
5595
5670
|
automaticNameDelimiter?: string | undefined;
|
|
5596
5671
|
cacheGroups?: Record<string, false | {
|
|
5597
|
-
chunks?: RegExp | "async" | "
|
|
5672
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5598
5673
|
defaultSizeTypes?: string[] | undefined;
|
|
5599
5674
|
minChunks?: number | undefined;
|
|
5600
5675
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5614,7 +5689,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5614
5689
|
maxAsyncRequests?: number | undefined;
|
|
5615
5690
|
maxInitialRequests?: number | undefined;
|
|
5616
5691
|
fallbackCacheGroup?: {
|
|
5617
|
-
chunks?: RegExp | "async" | "
|
|
5692
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5618
5693
|
minSize?: number | undefined;
|
|
5619
5694
|
maxSize?: number | undefined;
|
|
5620
5695
|
maxAsyncSize?: number | undefined;
|
|
@@ -5654,10 +5729,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5654
5729
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
5655
5730
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
5656
5731
|
minimize?: boolean | undefined;
|
|
5657
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
5732
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5658
5733
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5659
5734
|
splitChunks?: false | {
|
|
5660
|
-
chunks?: RegExp | "async" | "
|
|
5735
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5661
5736
|
defaultSizeTypes?: string[] | undefined;
|
|
5662
5737
|
minChunks?: number | undefined;
|
|
5663
5738
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5667,7 +5742,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5667
5742
|
maxInitialSize?: number | undefined;
|
|
5668
5743
|
automaticNameDelimiter?: string | undefined;
|
|
5669
5744
|
cacheGroups?: Record<string, false | {
|
|
5670
|
-
chunks?: RegExp | "async" | "
|
|
5745
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5671
5746
|
defaultSizeTypes?: string[] | undefined;
|
|
5672
5747
|
minChunks?: number | undefined;
|
|
5673
5748
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5687,7 +5762,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5687
5762
|
maxAsyncRequests?: number | undefined;
|
|
5688
5763
|
maxInitialRequests?: number | undefined;
|
|
5689
5764
|
fallbackCacheGroup?: {
|
|
5690
|
-
chunks?: RegExp | "async" | "
|
|
5765
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5691
5766
|
minSize?: number | undefined;
|
|
5692
5767
|
maxSize?: number | undefined;
|
|
5693
5768
|
maxAsyncSize?: number | undefined;
|
|
@@ -5709,16 +5784,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5709
5784
|
concatenateModules?: boolean | undefined;
|
|
5710
5785
|
innerGraph?: boolean | undefined;
|
|
5711
5786
|
usedExports?: boolean | "global" | undefined;
|
|
5712
|
-
mangleExports?: boolean | "
|
|
5787
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
5713
5788
|
nodeEnv?: string | false | undefined;
|
|
5714
5789
|
}, {
|
|
5715
5790
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
5716
5791
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
5717
5792
|
minimize?: boolean | undefined;
|
|
5718
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
5793
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5719
5794
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5720
5795
|
splitChunks?: false | {
|
|
5721
|
-
chunks?: RegExp | "async" | "
|
|
5796
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5722
5797
|
defaultSizeTypes?: string[] | undefined;
|
|
5723
5798
|
minChunks?: number | undefined;
|
|
5724
5799
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5728,7 +5803,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5728
5803
|
maxInitialSize?: number | undefined;
|
|
5729
5804
|
automaticNameDelimiter?: string | undefined;
|
|
5730
5805
|
cacheGroups?: Record<string, false | {
|
|
5731
|
-
chunks?: RegExp | "async" | "
|
|
5806
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5732
5807
|
defaultSizeTypes?: string[] | undefined;
|
|
5733
5808
|
minChunks?: number | undefined;
|
|
5734
5809
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5748,7 +5823,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5748
5823
|
maxAsyncRequests?: number | undefined;
|
|
5749
5824
|
maxInitialRequests?: number | undefined;
|
|
5750
5825
|
fallbackCacheGroup?: {
|
|
5751
|
-
chunks?: RegExp | "async" | "
|
|
5826
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5752
5827
|
minSize?: number | undefined;
|
|
5753
5828
|
maxSize?: number | undefined;
|
|
5754
5829
|
maxAsyncSize?: number | undefined;
|
|
@@ -5770,14 +5845,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
5770
5845
|
concatenateModules?: boolean | undefined;
|
|
5771
5846
|
innerGraph?: boolean | undefined;
|
|
5772
5847
|
usedExports?: boolean | "global" | undefined;
|
|
5773
|
-
mangleExports?: boolean | "
|
|
5848
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
5774
5849
|
nodeEnv?: string | false | undefined;
|
|
5775
5850
|
}>>;
|
|
5776
5851
|
resolve: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
|
|
5777
5852
|
resolveLoader: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
|
|
5778
5853
|
plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance>, z.ZodType<RspackPluginFunction, z.ZodTypeDef, RspackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
5779
5854
|
devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
|
|
5780
|
-
builtins: z.ZodOptional<z.ZodType<
|
|
5855
|
+
builtins: z.ZodOptional<z.ZodType<BuiltinsType, z.ZodTypeDef, BuiltinsType>>;
|
|
5781
5856
|
module: z.ZodOptional<z.ZodObject<{
|
|
5782
5857
|
defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
5783
5858
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
@@ -6018,11 +6093,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6018
6093
|
content: z.ZodString;
|
|
6019
6094
|
filename: z.ZodString;
|
|
6020
6095
|
}, "strict", z.ZodTypeAny, {
|
|
6021
|
-
filename: string;
|
|
6022
6096
|
content: string;
|
|
6023
|
-
}, {
|
|
6024
6097
|
filename: string;
|
|
6098
|
+
}, {
|
|
6025
6099
|
content: string;
|
|
6100
|
+
filename: string;
|
|
6026
6101
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6027
6102
|
emit: z.ZodOptional<z.ZodBoolean>;
|
|
6028
6103
|
filename: z.ZodOptional<z.ZodString>;
|
|
@@ -6032,8 +6107,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6032
6107
|
encoding?: false | "base64" | undefined;
|
|
6033
6108
|
mimetype?: string | undefined;
|
|
6034
6109
|
} | ((args_0: {
|
|
6035
|
-
filename: string;
|
|
6036
6110
|
content: string;
|
|
6111
|
+
filename: string;
|
|
6037
6112
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6038
6113
|
emit?: boolean | undefined;
|
|
6039
6114
|
filename?: string | undefined;
|
|
@@ -6043,8 +6118,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6043
6118
|
encoding?: false | "base64" | undefined;
|
|
6044
6119
|
mimetype?: string | undefined;
|
|
6045
6120
|
} | ((args_0: {
|
|
6046
|
-
filename: string;
|
|
6047
6121
|
content: string;
|
|
6122
|
+
filename: string;
|
|
6048
6123
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6049
6124
|
emit?: boolean | undefined;
|
|
6050
6125
|
filename?: string | undefined;
|
|
@@ -6064,27 +6139,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6064
6139
|
content: z.ZodString;
|
|
6065
6140
|
filename: z.ZodString;
|
|
6066
6141
|
}, "strict", z.ZodTypeAny, {
|
|
6067
|
-
filename: string;
|
|
6068
6142
|
content: string;
|
|
6069
|
-
}, {
|
|
6070
6143
|
filename: string;
|
|
6144
|
+
}, {
|
|
6071
6145
|
content: string;
|
|
6146
|
+
filename: string;
|
|
6072
6147
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6073
6148
|
}, "strict", z.ZodTypeAny, {
|
|
6074
6149
|
dataUrl?: {
|
|
6075
6150
|
encoding?: false | "base64" | undefined;
|
|
6076
6151
|
mimetype?: string | undefined;
|
|
6077
6152
|
} | ((args_0: {
|
|
6078
|
-
filename: string;
|
|
6079
6153
|
content: string;
|
|
6154
|
+
filename: string;
|
|
6080
6155
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6081
6156
|
}, {
|
|
6082
6157
|
dataUrl?: {
|
|
6083
6158
|
encoding?: false | "base64" | undefined;
|
|
6084
6159
|
mimetype?: string | undefined;
|
|
6085
6160
|
} | ((args_0: {
|
|
6086
|
-
filename: string;
|
|
6087
6161
|
content: string;
|
|
6162
|
+
filename: string;
|
|
6088
6163
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6089
6164
|
}>>;
|
|
6090
6165
|
"asset/resource": z.ZodOptional<z.ZodObject<{
|
|
@@ -6103,38 +6178,47 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6103
6178
|
css: z.ZodOptional<z.ZodObject<{
|
|
6104
6179
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6105
6180
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6181
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6106
6182
|
}, "strict", z.ZodTypeAny, {
|
|
6107
6183
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6108
6184
|
exportsOnly?: boolean | undefined;
|
|
6185
|
+
esModule?: boolean | undefined;
|
|
6109
6186
|
}, {
|
|
6110
6187
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6111
6188
|
exportsOnly?: boolean | undefined;
|
|
6189
|
+
esModule?: boolean | undefined;
|
|
6112
6190
|
}>>;
|
|
6113
6191
|
"css/auto": z.ZodOptional<z.ZodObject<{
|
|
6114
6192
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6115
6193
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6116
6194
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6195
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6117
6196
|
}, "strict", z.ZodTypeAny, {
|
|
6118
6197
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6119
6198
|
exportsOnly?: boolean | undefined;
|
|
6120
6199
|
localIdentName?: string | undefined;
|
|
6200
|
+
esModule?: boolean | undefined;
|
|
6121
6201
|
}, {
|
|
6122
6202
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6123
6203
|
exportsOnly?: boolean | undefined;
|
|
6124
6204
|
localIdentName?: string | undefined;
|
|
6205
|
+
esModule?: boolean | undefined;
|
|
6125
6206
|
}>>;
|
|
6126
6207
|
"css/module": z.ZodOptional<z.ZodObject<{
|
|
6127
6208
|
exportsConvention: z.ZodOptional<z.ZodEnum<["as-is", "camel-case", "camel-case-only", "dashes", "dashes-only"]>>;
|
|
6128
6209
|
exportsOnly: z.ZodOptional<z.ZodBoolean>;
|
|
6129
6210
|
localIdentName: z.ZodOptional<z.ZodString>;
|
|
6211
|
+
esModule: z.ZodOptional<z.ZodBoolean>;
|
|
6130
6212
|
}, "strict", z.ZodTypeAny, {
|
|
6131
6213
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6132
6214
|
exportsOnly?: boolean | undefined;
|
|
6133
6215
|
localIdentName?: string | undefined;
|
|
6216
|
+
esModule?: boolean | undefined;
|
|
6134
6217
|
}, {
|
|
6135
6218
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6136
6219
|
exportsOnly?: boolean | undefined;
|
|
6137
6220
|
localIdentName?: string | undefined;
|
|
6221
|
+
esModule?: boolean | undefined;
|
|
6138
6222
|
}>>;
|
|
6139
6223
|
}, "strict", z.ZodTypeAny, {
|
|
6140
6224
|
asset?: {
|
|
@@ -6142,8 +6226,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6142
6226
|
encoding?: false | "base64" | undefined;
|
|
6143
6227
|
mimetype?: string | undefined;
|
|
6144
6228
|
} | ((args_0: {
|
|
6145
|
-
filename: string;
|
|
6146
6229
|
content: string;
|
|
6230
|
+
filename: string;
|
|
6147
6231
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6148
6232
|
emit?: boolean | undefined;
|
|
6149
6233
|
filename?: string | undefined;
|
|
@@ -6154,8 +6238,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6154
6238
|
encoding?: false | "base64" | undefined;
|
|
6155
6239
|
mimetype?: string | undefined;
|
|
6156
6240
|
} | ((args_0: {
|
|
6157
|
-
filename: string;
|
|
6158
6241
|
content: string;
|
|
6242
|
+
filename: string;
|
|
6159
6243
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6160
6244
|
} | undefined;
|
|
6161
6245
|
"asset/resource"?: {
|
|
@@ -6166,16 +6250,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6166
6250
|
css?: {
|
|
6167
6251
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6168
6252
|
exportsOnly?: boolean | undefined;
|
|
6253
|
+
esModule?: boolean | undefined;
|
|
6169
6254
|
} | undefined;
|
|
6170
6255
|
"css/auto"?: {
|
|
6171
6256
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6172
6257
|
exportsOnly?: boolean | undefined;
|
|
6173
6258
|
localIdentName?: string | undefined;
|
|
6259
|
+
esModule?: boolean | undefined;
|
|
6174
6260
|
} | undefined;
|
|
6175
6261
|
"css/module"?: {
|
|
6176
6262
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6177
6263
|
exportsOnly?: boolean | undefined;
|
|
6178
6264
|
localIdentName?: string | undefined;
|
|
6265
|
+
esModule?: boolean | undefined;
|
|
6179
6266
|
} | undefined;
|
|
6180
6267
|
}, {
|
|
6181
6268
|
asset?: {
|
|
@@ -6183,8 +6270,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6183
6270
|
encoding?: false | "base64" | undefined;
|
|
6184
6271
|
mimetype?: string | undefined;
|
|
6185
6272
|
} | ((args_0: {
|
|
6186
|
-
filename: string;
|
|
6187
6273
|
content: string;
|
|
6274
|
+
filename: string;
|
|
6188
6275
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6189
6276
|
emit?: boolean | undefined;
|
|
6190
6277
|
filename?: string | undefined;
|
|
@@ -6195,8 +6282,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6195
6282
|
encoding?: false | "base64" | undefined;
|
|
6196
6283
|
mimetype?: string | undefined;
|
|
6197
6284
|
} | ((args_0: {
|
|
6198
|
-
filename: string;
|
|
6199
6285
|
content: string;
|
|
6286
|
+
filename: string;
|
|
6200
6287
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6201
6288
|
} | undefined;
|
|
6202
6289
|
"asset/resource"?: {
|
|
@@ -6207,16 +6294,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6207
6294
|
css?: {
|
|
6208
6295
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6209
6296
|
exportsOnly?: boolean | undefined;
|
|
6297
|
+
esModule?: boolean | undefined;
|
|
6210
6298
|
} | undefined;
|
|
6211
6299
|
"css/auto"?: {
|
|
6212
6300
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6213
6301
|
exportsOnly?: boolean | undefined;
|
|
6214
6302
|
localIdentName?: string | undefined;
|
|
6303
|
+
esModule?: boolean | undefined;
|
|
6215
6304
|
} | undefined;
|
|
6216
6305
|
"css/module"?: {
|
|
6217
6306
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6218
6307
|
exportsOnly?: boolean | undefined;
|
|
6219
6308
|
localIdentName?: string | undefined;
|
|
6309
|
+
esModule?: boolean | undefined;
|
|
6220
6310
|
} | undefined;
|
|
6221
6311
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
|
6222
6312
|
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">]>>;
|
|
@@ -6277,8 +6367,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6277
6367
|
encoding?: false | "base64" | undefined;
|
|
6278
6368
|
mimetype?: string | undefined;
|
|
6279
6369
|
} | ((args_0: {
|
|
6280
|
-
filename: string;
|
|
6281
6370
|
content: string;
|
|
6371
|
+
filename: string;
|
|
6282
6372
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6283
6373
|
emit?: boolean | undefined;
|
|
6284
6374
|
filename?: string | undefined;
|
|
@@ -6289,8 +6379,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6289
6379
|
encoding?: false | "base64" | undefined;
|
|
6290
6380
|
mimetype?: string | undefined;
|
|
6291
6381
|
} | ((args_0: {
|
|
6292
|
-
filename: string;
|
|
6293
6382
|
content: string;
|
|
6383
|
+
filename: string;
|
|
6294
6384
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6295
6385
|
} | undefined;
|
|
6296
6386
|
"asset/resource"?: {
|
|
@@ -6301,16 +6391,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6301
6391
|
css?: {
|
|
6302
6392
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6303
6393
|
exportsOnly?: boolean | undefined;
|
|
6394
|
+
esModule?: boolean | undefined;
|
|
6304
6395
|
} | undefined;
|
|
6305
6396
|
"css/auto"?: {
|
|
6306
6397
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6307
6398
|
exportsOnly?: boolean | undefined;
|
|
6308
6399
|
localIdentName?: string | undefined;
|
|
6400
|
+
esModule?: boolean | undefined;
|
|
6309
6401
|
} | undefined;
|
|
6310
6402
|
"css/module"?: {
|
|
6311
6403
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6312
6404
|
exportsOnly?: boolean | undefined;
|
|
6313
6405
|
localIdentName?: string | undefined;
|
|
6406
|
+
esModule?: boolean | undefined;
|
|
6314
6407
|
} | undefined;
|
|
6315
6408
|
} | undefined;
|
|
6316
6409
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
@@ -6371,8 +6464,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6371
6464
|
encoding?: false | "base64" | undefined;
|
|
6372
6465
|
mimetype?: string | undefined;
|
|
6373
6466
|
} | ((args_0: {
|
|
6374
|
-
filename: string;
|
|
6375
6467
|
content: string;
|
|
6468
|
+
filename: string;
|
|
6376
6469
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6377
6470
|
emit?: boolean | undefined;
|
|
6378
6471
|
filename?: string | undefined;
|
|
@@ -6383,8 +6476,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6383
6476
|
encoding?: false | "base64" | undefined;
|
|
6384
6477
|
mimetype?: string | undefined;
|
|
6385
6478
|
} | ((args_0: {
|
|
6386
|
-
filename: string;
|
|
6387
6479
|
content: string;
|
|
6480
|
+
filename: string;
|
|
6388
6481
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6389
6482
|
} | undefined;
|
|
6390
6483
|
"asset/resource"?: {
|
|
@@ -6395,22 +6488,41 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6395
6488
|
css?: {
|
|
6396
6489
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6397
6490
|
exportsOnly?: boolean | undefined;
|
|
6491
|
+
esModule?: boolean | undefined;
|
|
6398
6492
|
} | undefined;
|
|
6399
6493
|
"css/auto"?: {
|
|
6400
6494
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6401
6495
|
exportsOnly?: boolean | undefined;
|
|
6402
6496
|
localIdentName?: string | undefined;
|
|
6497
|
+
esModule?: boolean | undefined;
|
|
6403
6498
|
} | undefined;
|
|
6404
6499
|
"css/module"?: {
|
|
6405
6500
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6406
6501
|
exportsOnly?: boolean | undefined;
|
|
6407
6502
|
localIdentName?: string | undefined;
|
|
6503
|
+
esModule?: boolean | undefined;
|
|
6408
6504
|
} | undefined;
|
|
6409
6505
|
} | undefined;
|
|
6410
6506
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6411
6507
|
}>>;
|
|
6412
6508
|
profile: z.ZodOptional<z.ZodBoolean>;
|
|
6413
6509
|
bail: z.ZodOptional<z.ZodBoolean>;
|
|
6510
|
+
performance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
6511
|
+
assetFilter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>>;
|
|
6512
|
+
hints: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["error", "warning"]>, z.ZodLiteral<false>]>>;
|
|
6513
|
+
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
|
6514
|
+
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
|
6515
|
+
}, "strict", z.ZodTypeAny, {
|
|
6516
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
6517
|
+
hints?: false | "error" | "warning" | undefined;
|
|
6518
|
+
maxAssetSize?: number | undefined;
|
|
6519
|
+
maxEntrypointSize?: number | undefined;
|
|
6520
|
+
}, {
|
|
6521
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
6522
|
+
hints?: false | "error" | "warning" | undefined;
|
|
6523
|
+
maxAssetSize?: number | undefined;
|
|
6524
|
+
maxEntrypointSize?: number | undefined;
|
|
6525
|
+
}>, z.ZodLiteral<false>]>>;
|
|
6414
6526
|
}, "strict", z.ZodTypeAny, {
|
|
6415
6527
|
name?: string | undefined;
|
|
6416
6528
|
dependencies?: string[] | undefined;
|
|
@@ -6546,14 +6658,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6546
6658
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6547
6659
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6548
6660
|
} | undefined;
|
|
6549
|
-
target?: false | "
|
|
6661
|
+
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
6550
6662
|
mode?: "none" | "development" | "production" | undefined;
|
|
6551
6663
|
experiments?: {
|
|
6552
6664
|
lazyCompilation?: boolean | undefined;
|
|
6553
6665
|
asyncWebAssembly?: boolean | undefined;
|
|
6554
6666
|
outputModule?: boolean | undefined;
|
|
6555
6667
|
topLevelAwait?: boolean | undefined;
|
|
6556
|
-
newSplitChunks?: boolean | undefined;
|
|
6557
6668
|
css?: boolean | undefined;
|
|
6558
6669
|
futureDefaults?: boolean | undefined;
|
|
6559
6670
|
rspackFuture?: {
|
|
@@ -6568,7 +6679,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6568
6679
|
context?: string | undefined;
|
|
6569
6680
|
dependencyType?: string | undefined;
|
|
6570
6681
|
request?: string | undefined;
|
|
6571
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6682
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6572
6683
|
context?: string | undefined;
|
|
6573
6684
|
dependencyType?: string | undefined;
|
|
6574
6685
|
request?: string | undefined;
|
|
@@ -6576,12 +6687,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6576
6687
|
context?: string | undefined;
|
|
6577
6688
|
dependencyType?: string | undefined;
|
|
6578
6689
|
request?: string | undefined;
|
|
6579
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
6690
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6580
6691
|
context?: string | undefined;
|
|
6581
6692
|
dependencyType?: string | undefined;
|
|
6582
6693
|
request?: string | undefined;
|
|
6583
6694
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
6584
|
-
externalsType?: "promise" | "
|
|
6695
|
+
externalsType?: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
|
|
6585
6696
|
externalsPresets?: {
|
|
6586
6697
|
node?: boolean | undefined;
|
|
6587
6698
|
web?: boolean | undefined;
|
|
@@ -6596,7 +6707,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6596
6707
|
colors?: boolean | undefined;
|
|
6597
6708
|
console?: Console | undefined;
|
|
6598
6709
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6599
|
-
level?: "
|
|
6710
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
6600
6711
|
stream?: NodeJS.WritableStream | undefined;
|
|
6601
6712
|
} | undefined;
|
|
6602
6713
|
cache?: boolean | undefined;
|
|
@@ -6616,9 +6727,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6616
6727
|
stdin?: boolean | undefined;
|
|
6617
6728
|
} | undefined;
|
|
6618
6729
|
watch?: boolean | undefined;
|
|
6619
|
-
stats?: boolean | "
|
|
6730
|
+
stats?: boolean | "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
6620
6731
|
all?: boolean | undefined;
|
|
6621
|
-
preset?: "
|
|
6732
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
6622
6733
|
assets?: boolean | undefined;
|
|
6623
6734
|
chunks?: boolean | undefined;
|
|
6624
6735
|
modules?: boolean | undefined;
|
|
@@ -6643,7 +6754,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6643
6754
|
modulesSpace?: number | undefined;
|
|
6644
6755
|
nestedModules?: boolean | undefined;
|
|
6645
6756
|
source?: boolean | undefined;
|
|
6646
|
-
logging?: boolean | "
|
|
6757
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
6647
6758
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6648
6759
|
loggingTrace?: boolean | undefined;
|
|
6649
6760
|
runtimeModules?: boolean | undefined;
|
|
@@ -6667,10 +6778,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6667
6778
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
6668
6779
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
6669
6780
|
minimize?: boolean | undefined;
|
|
6670
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
6781
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
6671
6782
|
mergeDuplicateChunks?: boolean | undefined;
|
|
6672
6783
|
splitChunks?: false | {
|
|
6673
|
-
chunks?: RegExp | "async" | "
|
|
6784
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6674
6785
|
defaultSizeTypes?: string[] | undefined;
|
|
6675
6786
|
minChunks?: number | undefined;
|
|
6676
6787
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -6680,7 +6791,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6680
6791
|
maxInitialSize?: number | undefined;
|
|
6681
6792
|
automaticNameDelimiter?: string | undefined;
|
|
6682
6793
|
cacheGroups?: Record<string, false | {
|
|
6683
|
-
chunks?: RegExp | "async" | "
|
|
6794
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6684
6795
|
defaultSizeTypes?: string[] | undefined;
|
|
6685
6796
|
minChunks?: number | undefined;
|
|
6686
6797
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -6700,7 +6811,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6700
6811
|
maxAsyncRequests?: number | undefined;
|
|
6701
6812
|
maxInitialRequests?: number | undefined;
|
|
6702
6813
|
fallbackCacheGroup?: {
|
|
6703
|
-
chunks?: RegExp | "async" | "
|
|
6814
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6704
6815
|
minSize?: number | undefined;
|
|
6705
6816
|
maxSize?: number | undefined;
|
|
6706
6817
|
maxAsyncSize?: number | undefined;
|
|
@@ -6722,14 +6833,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6722
6833
|
concatenateModules?: boolean | undefined;
|
|
6723
6834
|
innerGraph?: boolean | undefined;
|
|
6724
6835
|
usedExports?: boolean | "global" | undefined;
|
|
6725
|
-
mangleExports?: boolean | "
|
|
6836
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
6726
6837
|
nodeEnv?: string | false | undefined;
|
|
6727
6838
|
} | undefined;
|
|
6728
6839
|
resolve?: ResolveOptions | undefined;
|
|
6729
6840
|
resolveLoader?: ResolveOptions | undefined;
|
|
6730
6841
|
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
6731
6842
|
devServer?: DevServer | undefined;
|
|
6732
|
-
builtins?:
|
|
6843
|
+
builtins?: BuiltinsType | undefined;
|
|
6733
6844
|
module?: {
|
|
6734
6845
|
defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
6735
6846
|
rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
@@ -6787,8 +6898,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6787
6898
|
encoding?: false | "base64" | undefined;
|
|
6788
6899
|
mimetype?: string | undefined;
|
|
6789
6900
|
} | ((args_0: {
|
|
6790
|
-
filename: string;
|
|
6791
6901
|
content: string;
|
|
6902
|
+
filename: string;
|
|
6792
6903
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6793
6904
|
emit?: boolean | undefined;
|
|
6794
6905
|
filename?: string | undefined;
|
|
@@ -6799,8 +6910,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6799
6910
|
encoding?: false | "base64" | undefined;
|
|
6800
6911
|
mimetype?: string | undefined;
|
|
6801
6912
|
} | ((args_0: {
|
|
6802
|
-
filename: string;
|
|
6803
6913
|
content: string;
|
|
6914
|
+
filename: string;
|
|
6804
6915
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
6805
6916
|
} | undefined;
|
|
6806
6917
|
"asset/resource"?: {
|
|
@@ -6811,22 +6922,31 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6811
6922
|
css?: {
|
|
6812
6923
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6813
6924
|
exportsOnly?: boolean | undefined;
|
|
6925
|
+
esModule?: boolean | undefined;
|
|
6814
6926
|
} | undefined;
|
|
6815
6927
|
"css/auto"?: {
|
|
6816
6928
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6817
6929
|
exportsOnly?: boolean | undefined;
|
|
6818
6930
|
localIdentName?: string | undefined;
|
|
6931
|
+
esModule?: boolean | undefined;
|
|
6819
6932
|
} | undefined;
|
|
6820
6933
|
"css/module"?: {
|
|
6821
6934
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
6822
6935
|
exportsOnly?: boolean | undefined;
|
|
6823
6936
|
localIdentName?: string | undefined;
|
|
6937
|
+
esModule?: boolean | undefined;
|
|
6824
6938
|
} | undefined;
|
|
6825
6939
|
} | undefined;
|
|
6826
6940
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6827
6941
|
} | undefined;
|
|
6828
6942
|
profile?: boolean | undefined;
|
|
6829
6943
|
bail?: boolean | undefined;
|
|
6944
|
+
performance?: false | {
|
|
6945
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
6946
|
+
hints?: false | "error" | "warning" | undefined;
|
|
6947
|
+
maxAssetSize?: number | undefined;
|
|
6948
|
+
maxEntrypointSize?: number | undefined;
|
|
6949
|
+
} | undefined;
|
|
6830
6950
|
}, {
|
|
6831
6951
|
name?: string | undefined;
|
|
6832
6952
|
dependencies?: string[] | undefined;
|
|
@@ -6962,14 +7082,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6962
7082
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6963
7083
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
6964
7084
|
} | undefined;
|
|
6965
|
-
target?: false | "
|
|
7085
|
+
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | "browserslist" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload`)[] | undefined;
|
|
6966
7086
|
mode?: "none" | "development" | "production" | undefined;
|
|
6967
7087
|
experiments?: {
|
|
6968
7088
|
lazyCompilation?: boolean | undefined;
|
|
6969
7089
|
asyncWebAssembly?: boolean | undefined;
|
|
6970
7090
|
outputModule?: boolean | undefined;
|
|
6971
7091
|
topLevelAwait?: boolean | undefined;
|
|
6972
|
-
newSplitChunks?: boolean | undefined;
|
|
6973
7092
|
css?: boolean | undefined;
|
|
6974
7093
|
futureDefaults?: boolean | undefined;
|
|
6975
7094
|
rspackFuture?: {
|
|
@@ -6984,7 +7103,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6984
7103
|
context?: string | undefined;
|
|
6985
7104
|
dependencyType?: string | undefined;
|
|
6986
7105
|
request?: string | undefined;
|
|
6987
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
7106
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6988
7107
|
context?: string | undefined;
|
|
6989
7108
|
dependencyType?: string | undefined;
|
|
6990
7109
|
request?: string | undefined;
|
|
@@ -6992,12 +7111,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6992
7111
|
context?: string | undefined;
|
|
6993
7112
|
dependencyType?: string | undefined;
|
|
6994
7113
|
request?: string | undefined;
|
|
6995
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
7114
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
6996
7115
|
context?: string | undefined;
|
|
6997
7116
|
dependencyType?: string | undefined;
|
|
6998
7117
|
request?: string | undefined;
|
|
6999
7118
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[] | undefined;
|
|
7000
|
-
externalsType?: "promise" | "
|
|
7119
|
+
externalsType?: "promise" | "commonjs" | "umd" | "amd" | "module" | "global" | "jsonp" | "import" | "commonjs2" | "var" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "system" | "script" | "node-commonjs" | undefined;
|
|
7001
7120
|
externalsPresets?: {
|
|
7002
7121
|
node?: boolean | undefined;
|
|
7003
7122
|
web?: boolean | undefined;
|
|
@@ -7012,7 +7131,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7012
7131
|
colors?: boolean | undefined;
|
|
7013
7132
|
console?: Console | undefined;
|
|
7014
7133
|
debug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7015
|
-
level?: "
|
|
7134
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
7016
7135
|
stream?: NodeJS.WritableStream | undefined;
|
|
7017
7136
|
} | undefined;
|
|
7018
7137
|
cache?: boolean | undefined;
|
|
@@ -7032,9 +7151,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7032
7151
|
stdin?: boolean | undefined;
|
|
7033
7152
|
} | undefined;
|
|
7034
7153
|
watch?: boolean | undefined;
|
|
7035
|
-
stats?: boolean | "
|
|
7154
|
+
stats?: boolean | "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | {
|
|
7036
7155
|
all?: boolean | undefined;
|
|
7037
|
-
preset?: "
|
|
7156
|
+
preset?: "none" | "normal" | "verbose" | "errors-only" | "errors-warnings" | undefined;
|
|
7038
7157
|
assets?: boolean | undefined;
|
|
7039
7158
|
chunks?: boolean | undefined;
|
|
7040
7159
|
modules?: boolean | undefined;
|
|
@@ -7059,7 +7178,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7059
7178
|
modulesSpace?: number | undefined;
|
|
7060
7179
|
nestedModules?: boolean | undefined;
|
|
7061
7180
|
source?: boolean | undefined;
|
|
7062
|
-
logging?: boolean | "
|
|
7181
|
+
logging?: boolean | "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
|
7063
7182
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7064
7183
|
loggingTrace?: boolean | undefined;
|
|
7065
7184
|
runtimeModules?: boolean | undefined;
|
|
@@ -7083,10 +7202,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7083
7202
|
moduleIds?: "named" | "deterministic" | undefined;
|
|
7084
7203
|
chunkIds?: "named" | "deterministic" | undefined;
|
|
7085
7204
|
minimize?: boolean | undefined;
|
|
7086
|
-
minimizer?: (false | "" | 0 | "..." |
|
|
7205
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
7087
7206
|
mergeDuplicateChunks?: boolean | undefined;
|
|
7088
7207
|
splitChunks?: false | {
|
|
7089
|
-
chunks?: RegExp | "async" | "
|
|
7208
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7090
7209
|
defaultSizeTypes?: string[] | undefined;
|
|
7091
7210
|
minChunks?: number | undefined;
|
|
7092
7211
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7096,7 +7215,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7096
7215
|
maxInitialSize?: number | undefined;
|
|
7097
7216
|
automaticNameDelimiter?: string | undefined;
|
|
7098
7217
|
cacheGroups?: Record<string, false | {
|
|
7099
|
-
chunks?: RegExp | "async" | "
|
|
7218
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7100
7219
|
defaultSizeTypes?: string[] | undefined;
|
|
7101
7220
|
minChunks?: number | undefined;
|
|
7102
7221
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7116,7 +7235,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7116
7235
|
maxAsyncRequests?: number | undefined;
|
|
7117
7236
|
maxInitialRequests?: number | undefined;
|
|
7118
7237
|
fallbackCacheGroup?: {
|
|
7119
|
-
chunks?: RegExp | "async" | "
|
|
7238
|
+
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7120
7239
|
minSize?: number | undefined;
|
|
7121
7240
|
maxSize?: number | undefined;
|
|
7122
7241
|
maxAsyncSize?: number | undefined;
|
|
@@ -7138,14 +7257,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7138
7257
|
concatenateModules?: boolean | undefined;
|
|
7139
7258
|
innerGraph?: boolean | undefined;
|
|
7140
7259
|
usedExports?: boolean | "global" | undefined;
|
|
7141
|
-
mangleExports?: boolean | "
|
|
7260
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
|
7142
7261
|
nodeEnv?: string | false | undefined;
|
|
7143
7262
|
} | undefined;
|
|
7144
7263
|
resolve?: ResolveOptions | undefined;
|
|
7145
7264
|
resolveLoader?: ResolveOptions | undefined;
|
|
7146
7265
|
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
7147
7266
|
devServer?: DevServer | undefined;
|
|
7148
|
-
builtins?:
|
|
7267
|
+
builtins?: BuiltinsType | undefined;
|
|
7149
7268
|
module?: {
|
|
7150
7269
|
defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
7151
7270
|
rules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
@@ -7203,8 +7322,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7203
7322
|
encoding?: false | "base64" | undefined;
|
|
7204
7323
|
mimetype?: string | undefined;
|
|
7205
7324
|
} | ((args_0: {
|
|
7206
|
-
filename: string;
|
|
7207
7325
|
content: string;
|
|
7326
|
+
filename: string;
|
|
7208
7327
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
7209
7328
|
emit?: boolean | undefined;
|
|
7210
7329
|
filename?: string | undefined;
|
|
@@ -7215,8 +7334,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7215
7334
|
encoding?: false | "base64" | undefined;
|
|
7216
7335
|
mimetype?: string | undefined;
|
|
7217
7336
|
} | ((args_0: {
|
|
7218
|
-
filename: string;
|
|
7219
7337
|
content: string;
|
|
7338
|
+
filename: string;
|
|
7220
7339
|
}, ...args_1: unknown[]) => string) | undefined;
|
|
7221
7340
|
} | undefined;
|
|
7222
7341
|
"asset/resource"?: {
|
|
@@ -7227,22 +7346,31 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7227
7346
|
css?: {
|
|
7228
7347
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7229
7348
|
exportsOnly?: boolean | undefined;
|
|
7349
|
+
esModule?: boolean | undefined;
|
|
7230
7350
|
} | undefined;
|
|
7231
7351
|
"css/auto"?: {
|
|
7232
7352
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7233
7353
|
exportsOnly?: boolean | undefined;
|
|
7234
7354
|
localIdentName?: string | undefined;
|
|
7355
|
+
esModule?: boolean | undefined;
|
|
7235
7356
|
} | undefined;
|
|
7236
7357
|
"css/module"?: {
|
|
7237
7358
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
|
7238
7359
|
exportsOnly?: boolean | undefined;
|
|
7239
7360
|
localIdentName?: string | undefined;
|
|
7361
|
+
esModule?: boolean | undefined;
|
|
7240
7362
|
} | undefined;
|
|
7241
7363
|
} | undefined;
|
|
7242
7364
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7243
7365
|
} | undefined;
|
|
7244
7366
|
profile?: boolean | undefined;
|
|
7245
7367
|
bail?: boolean | undefined;
|
|
7368
|
+
performance?: false | {
|
|
7369
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
7370
|
+
hints?: false | "error" | "warning" | undefined;
|
|
7371
|
+
maxAssetSize?: number | undefined;
|
|
7372
|
+
maxEntrypointSize?: number | undefined;
|
|
7373
|
+
} | undefined;
|
|
7246
7374
|
}>;
|
|
7247
7375
|
export type RspackOptions = z.infer<typeof rspackOptions>;
|
|
7248
7376
|
export type Configuration = RspackOptions;
|