@rspack/core 1.0.9 → 1.0.11
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/Dependency.d.ts +7 -6
- package/dist/Module.d.ts +19 -17
- package/dist/builtin-plugin/css-extract/utils.d.ts +1 -0
- package/dist/config/types.d.ts +545 -0
- package/dist/config/zod.d.ts +202 -1347
- package/dist/cssExtractHmr.js +224 -0
- package/dist/cssExtractLoader.js +277 -0
- package/dist/index.js +23347 -31
- package/dist/{builtin-plugin/css-extract/hmr/hotModuleReplacement.d.ts → runtime/cssExtractHmr.d.ts} +1 -0
- package/dist/runtime/moduleFederationDefaultRuntime.d.ts +2 -0
- package/dist/stats/statsFactoryUtils.d.ts +1 -0
- package/package.json +8 -5
- package/compiled/json-parse-even-better-errors/index.d.ts +0 -1
- package/compiled/json-parse-even-better-errors/index.js +0 -193
- package/compiled/json-parse-even-better-errors/package.json +0 -1
- package/compiled/neo-async/index.d.ts +0 -685
- package/compiled/neo-async/index.js +0 -9207
- package/compiled/neo-async/license +0 -22
- package/compiled/neo-async/package.json +0 -1
- package/compiled/zod-validation-error/index.d.ts +0 -41
- package/compiled/zod-validation-error/index.js +0 -335
- package/compiled/zod-validation-error/license +0 -9
- package/compiled/zod-validation-error/package.json +0 -1
- package/dist/Chunk.js +0 -118
- package/dist/ChunkGraph.js +0 -27
- package/dist/ChunkGroup.js +0 -76
- package/dist/Compilation.js +0 -854
- package/dist/Compiler.js +0 -920
- package/dist/ContextModuleFactory.js +0 -36
- package/dist/DependenciesBlock.js +0 -30
- package/dist/Dependency.js +0 -32
- package/dist/Entrypoint.js +0 -21
- package/dist/ErrorHelpers.js +0 -62
- package/dist/ExecuteModulePlugin.js +0 -46
- package/dist/FileSystem.js +0 -34
- package/dist/FileSystemInfo.js +0 -2
- package/dist/Module.js +0 -143
- package/dist/ModuleTypeConstants.js +0 -92
- package/dist/MultiCompiler.js +0 -440
- package/dist/MultiStats.js +0 -161
- package/dist/MultiWatching.js +0 -62
- package/dist/NormalModule.js +0 -97
- package/dist/NormalModuleFactory.js +0 -43
- package/dist/Resolver.js +0 -39
- package/dist/ResolverFactory.js +0 -61
- package/dist/RspackError.js +0 -21
- package/dist/RuleSetCompiler.js +0 -10
- package/dist/RuntimeGlobals.js +0 -357
- package/dist/RuntimeModule.js +0 -58
- package/dist/Stats.js +0 -161
- package/dist/Template.js +0 -206
- package/dist/Watching.js +0 -290
- package/dist/builtin-loader/index.js +0 -17
- package/dist/builtin-loader/lightningcss/index.js +0 -175
- package/dist/builtin-loader/swc/index.js +0 -5
- package/dist/builtin-loader/swc/pluginImport.js +0 -35
- package/dist/builtin-loader/swc/react.js +0 -7
- package/dist/builtin-loader/swc/types.js +0 -2
- package/dist/builtin-plugin/APIPlugin.js +0 -6
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.js +0 -6
- package/dist/builtin-plugin/AssetModulesPlugin.js +0 -6
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.js +0 -6
- package/dist/builtin-plugin/BannerPlugin.js +0 -22
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.js +0 -12
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.js +0 -6
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.js +0 -6
- package/dist/builtin-plugin/ContextReplacementPlugin.js +0 -43
- package/dist/builtin-plugin/CopyRspackPlugin.js +0 -21
- package/dist/builtin-plugin/CssModulesPlugin.js +0 -6
- package/dist/builtin-plugin/DataUriPlugin.js +0 -6
- package/dist/builtin-plugin/DefinePlugin.js +0 -44
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.js +0 -6
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.js +0 -6
- package/dist/builtin-plugin/DynamicEntryPlugin.js +0 -36
- package/dist/builtin-plugin/ElectronTargetPlugin.js +0 -6
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.js +0 -6
- package/dist/builtin-plugin/EnableLibraryPlugin.js +0 -39
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.js +0 -6
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.js +0 -6
- package/dist/builtin-plugin/EntryPlugin.js +0 -34
- package/dist/builtin-plugin/EvalDevToolModulePlugin.js +0 -6
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.js +0 -16
- package/dist/builtin-plugin/ExternalsPlugin.js +0 -51
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.js +0 -6
- package/dist/builtin-plugin/FileUriPlugin.js +0 -6
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.js +0 -6
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.js +0 -6
- package/dist/builtin-plugin/HotModuleReplacementPlugin.js +0 -18
- package/dist/builtin-plugin/HtmlRspackPlugin.js +0 -285
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.js +0 -11
- package/dist/builtin-plugin/IgnorePlugin.js +0 -20
- package/dist/builtin-plugin/InferAsyncModulesPlugin.js +0 -6
- package/dist/builtin-plugin/JavascriptModulesPlugin.js +0 -55
- package/dist/builtin-plugin/JsLoaderRspackPlugin.js +0 -9
- package/dist/builtin-plugin/JsonModulesPlugin.js +0 -6
- package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.js +0 -30
- package/dist/builtin-plugin/LimitChunkCountPlugin.js +0 -8
- package/dist/builtin-plugin/MangleExportsPlugin.js +0 -6
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.js +0 -6
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.js +0 -6
- package/dist/builtin-plugin/ModuleConcatenationPlugin.js +0 -6
- package/dist/builtin-plugin/NamedChunkIdsPlugin.js +0 -6
- package/dist/builtin-plugin/NamedModuleIdsPlugin.js +0 -6
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.js +0 -6
- package/dist/builtin-plugin/NaturalModuleIdsPlugin.js +0 -6
- package/dist/builtin-plugin/NoEmitOnErrorsPlugin.js +0 -6
- package/dist/builtin-plugin/NodeTargetPlugin.js +0 -6
- package/dist/builtin-plugin/ProgressPlugin.js +0 -15
- package/dist/builtin-plugin/ProvidePlugin.js +0 -14
- package/dist/builtin-plugin/RealContentHashPlugin.js +0 -6
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.js +0 -6
- package/dist/builtin-plugin/RuntimeChunkPlugin.js +0 -6
- package/dist/builtin-plugin/RuntimePlugin.js +0 -6
- package/dist/builtin-plugin/SideEffectsFlagPlugin.js +0 -6
- package/dist/builtin-plugin/SizeLimitsPlugin.js +0 -9
- package/dist/builtin-plugin/SourceMapDevToolPlugin.js +0 -14
- package/dist/builtin-plugin/SplitChunksPlugin.js +0 -92
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +0 -80
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.js +0 -6
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.js +0 -6
- package/dist/builtin-plugin/WorkerPlugin.js +0 -31
- package/dist/builtin-plugin/base.js +0 -58
- package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +0 -182
- package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.d.ts +0 -2
- package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.js +0 -31
- package/dist/builtin-plugin/css-extract/index.js +0 -105
- package/dist/builtin-plugin/css-extract/loader.js +0 -204
- package/dist/builtin-plugin/css-extract/utils.js +0 -51
- package/dist/builtin-plugin/index.js +0 -84
- package/dist/builtin-plugin/lazy-compilation/backend.js +0 -139
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.js +0 -6
- package/dist/builtin-plugin/lazy-compilation/plugin.js +0 -60
- package/dist/config/adapter.js +0 -691
- package/dist/config/adapterRuleUse.js +0 -107
- package/dist/config/browserslistTargetHandler.js +0 -345
- package/dist/config/defaults.js +0 -876
- package/dist/config/index.js +0 -20
- package/dist/config/normalization.js +0 -299
- package/dist/config/target.js +0 -318
- package/dist/config/types.js +0 -3
- package/dist/config/zod.js +0 -1028
- package/dist/container/ContainerPlugin.js +0 -50
- package/dist/container/ContainerReferencePlugin.js +0 -49
- package/dist/container/ModuleFederationPlugin.js +0 -137
- package/dist/container/ModuleFederationPluginV1.js +0 -63
- package/dist/container/ModuleFederationRuntimePlugin.js +0 -6
- package/dist/container/options.js +0 -48
- package/dist/error/ConcurrentCompilationError.js +0 -20
- package/dist/exports.js +0 -183
- package/dist/lib/AbstractMethodError.js +0 -51
- package/dist/lib/Cache.js +0 -111
- package/dist/lib/CacheFacade.js +0 -321
- package/dist/lib/Dependency.js +0 -11
- package/dist/lib/EntryOptionPlugin.js +0 -89
- package/dist/lib/EnvironmentPlugin.js +0 -57
- package/dist/lib/HookWebpackError.js +0 -83
- package/dist/lib/IgnoreWarningsPlugin.js +0 -35
- package/dist/lib/LoaderOptionsPlugin.js +0 -74
- package/dist/lib/LoaderTargetPlugin.js +0 -37
- package/dist/lib/ModuleFilenameHelpers.js +0 -83
- package/dist/lib/NormalModuleReplacementPlugin.js +0 -85
- package/dist/lib/WebpackError.js +0 -20
- package/dist/lib/cache/MemoryCachePlugin.js +0 -40
- package/dist/lib/cache/getLazyHashedEtag.js +0 -73
- package/dist/lib/cache/mergeEtags.js +0 -74
- package/dist/lib/formatLocation.js +0 -64
- package/dist/loader-runner/LoaderLoadingError.js +0 -19
- package/dist/loader-runner/index.js +0 -735
- package/dist/loader-runner/loadLoader.js +0 -64
- package/dist/logging/Logger.js +0 -143
- package/dist/logging/createConsoleLogger.js +0 -176
- package/dist/logging/runtime.js +0 -37
- package/dist/logging/truncateArgs.js +0 -81
- package/dist/node/NodeEnvironmentPlugin.js +0 -50
- package/dist/node/NodeTemplatePlugin.js +0 -26
- package/dist/node/NodeWatchFileSystem.js +0 -144
- package/dist/node/nodeConsole.js +0 -146
- package/dist/rspack.js +0 -123
- package/dist/rspackOptionsApply.js +0 -274
- package/dist/sharing/ConsumeSharedPlugin.js +0 -69
- package/dist/sharing/ProvideSharedPlugin.js +0 -50
- package/dist/sharing/SharePlugin.js +0 -66
- package/dist/sharing/ShareRuntimePlugin.js +0 -26
- package/dist/sharing/utils.js +0 -8
- package/dist/stats/DefaultStatsFactoryPlugin.js +0 -1173
- package/dist/stats/DefaultStatsPresetPlugin.js +0 -305
- package/dist/stats/DefaultStatsPrinterPlugin.js +0 -1069
- package/dist/stats/StatsFactory.js +0 -167
- package/dist/stats/StatsPrinter.js +0 -142
- package/dist/stats/statsFactoryUtils.js +0 -341
- package/dist/util/ArrayQueue.js +0 -108
- package/dist/util/AssetInfo.js +0 -39
- package/dist/util/IterableHelpers.js +0 -35
- package/dist/util/MergeCaller.js +0 -24
- package/dist/util/SizeFormatHelpers.js +0 -24
- package/dist/util/SplitChunkSize.js +0 -18
- package/dist/util/assertNotNil.js +0 -9
- package/dist/util/assetCondition.js +0 -2
- package/dist/util/bindingVersionCheck.js +0 -124
- package/dist/util/cleverMerge.js +0 -504
- package/dist/util/comparators.js +0 -108
- package/dist/util/createHash.js +0 -161
- package/dist/util/createReadonlyMap.js +0 -29
- package/dist/util/fake.js +0 -28
- package/dist/util/fs.js +0 -120
- package/dist/util/hash/BatchedHash.js +0 -69
- package/dist/util/hash/index.js +0 -39
- package/dist/util/hash/md4.js +0 -27
- package/dist/util/hash/wasm-hash.js +0 -167
- package/dist/util/hash/xxhash64.js +0 -27
- package/dist/util/identifier.js +0 -330
- package/dist/util/index.js +0 -123
- package/dist/util/memoize.js +0 -61
- package/dist/util/scheme.js +0 -57
- package/dist/util/smartGrouping.js +0 -148
- package/dist/util/source.js +0 -42
- package/dist/util/validate.js +0 -77
- package/dist/util/webpack.js +0 -27
- /package/dist/{container/default.runtime.js → moduleFederationDefaultRuntime.js} +0 -0
package/dist/config/zod.d.ts
CHANGED
|
@@ -2,524 +2,11 @@
|
|
|
2
2
|
import type { JsAssetInfo, RawFuncUseCtx } from "@rspack/binding";
|
|
3
3
|
import type * as webpackDevServer from "webpack-dev-server";
|
|
4
4
|
import { z } from "../../compiled/zod";
|
|
5
|
-
import type { Compilation, Compiler } from "..";
|
|
6
5
|
import { Chunk } from "../Chunk";
|
|
7
|
-
import type { PathData } from "../Compilation";
|
|
6
|
+
import type { Compilation, PathData } from "../Compilation";
|
|
8
7
|
import { Module } from "../Module";
|
|
9
8
|
import type * as t from "./types";
|
|
10
9
|
export type * from "./types";
|
|
11
|
-
declare const path: z.ZodString;
|
|
12
|
-
export type Path = z.infer<typeof path>;
|
|
13
|
-
declare const pathinfo: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>;
|
|
14
|
-
export type Pathinfo = z.infer<typeof pathinfo>;
|
|
15
|
-
declare const assetModuleFilename: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>;
|
|
16
|
-
export type AssetModuleFilename = z.infer<typeof assetModuleFilename>;
|
|
17
|
-
declare const webassemblyModuleFilename: z.ZodString;
|
|
18
|
-
export type WebassemblyModuleFilename = z.infer<typeof webassemblyModuleFilename>;
|
|
19
|
-
declare const chunkFilename: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>;
|
|
20
|
-
export type ChunkFilename = z.infer<typeof chunkFilename>;
|
|
21
|
-
declare const crossOriginLoading: z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>;
|
|
22
|
-
export type CrossOriginLoading = z.infer<typeof crossOriginLoading>;
|
|
23
|
-
declare const cssFilename: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>;
|
|
24
|
-
export type CssFilename = z.infer<typeof cssFilename>;
|
|
25
|
-
declare const cssChunkFilename: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>;
|
|
26
|
-
export type CssChunkFilename = z.infer<typeof cssChunkFilename>;
|
|
27
|
-
declare const hotUpdateChunkFilename: z.ZodString;
|
|
28
|
-
export type HotUpdateChunkFilename = z.infer<typeof hotUpdateChunkFilename>;
|
|
29
|
-
declare const hotUpdateMainFilename: z.ZodString;
|
|
30
|
-
export type HotUpdateMainFilename = z.infer<typeof hotUpdateMainFilename>;
|
|
31
|
-
declare const hotUpdateGlobal: z.ZodString;
|
|
32
|
-
export type HotUpdateGlobal = z.infer<typeof hotUpdateGlobal>;
|
|
33
|
-
declare const uniqueName: z.ZodString;
|
|
34
|
-
export type UniqueName = z.infer<typeof uniqueName>;
|
|
35
|
-
declare const chunkLoadingGlobal: z.ZodString;
|
|
36
|
-
export type ChunkLoadingGlobal = z.infer<typeof chunkLoadingGlobal>;
|
|
37
|
-
declare const enabledLibraryTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>, "many">;
|
|
38
|
-
export type EnabledLibraryTypes = z.infer<typeof enabledLibraryTypes>;
|
|
39
|
-
declare const clean: z.ZodBoolean;
|
|
40
|
-
export type Clean = z.infer<typeof clean>;
|
|
41
|
-
declare const outputModule: z.ZodBoolean;
|
|
42
|
-
export type OutputModule = z.infer<typeof outputModule>;
|
|
43
|
-
declare const strictModuleExceptionHandling: z.ZodBoolean;
|
|
44
|
-
export type StrictModuleExceptionHandling = z.infer<typeof strictModuleExceptionHandling>;
|
|
45
|
-
declare const strictModuleErrorHandling: z.ZodBoolean;
|
|
46
|
-
export type StrictModuleErrorHandling = z.infer<typeof strictModuleErrorHandling>;
|
|
47
|
-
declare const globalObject: z.ZodString;
|
|
48
|
-
export type GlobalObject = z.infer<typeof globalObject>;
|
|
49
|
-
declare const enabledWasmLoadingTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>, "many">;
|
|
50
|
-
export type EnabledWasmLoadingTypes = z.infer<typeof enabledWasmLoadingTypes>;
|
|
51
|
-
declare const importFunctionName: z.ZodString;
|
|
52
|
-
export type ImportFunctionName = z.infer<typeof importFunctionName>;
|
|
53
|
-
declare const importMetaName: z.ZodString;
|
|
54
|
-
export type ImportMetaName = z.infer<typeof importMetaName>;
|
|
55
|
-
declare const iife: z.ZodBoolean;
|
|
56
|
-
export type Iife = z.infer<typeof iife>;
|
|
57
|
-
declare const enabledChunkLoadingTypes: z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">;
|
|
58
|
-
export type EnabledChunkLoadingTypes = z.infer<typeof enabledChunkLoadingTypes>;
|
|
59
|
-
declare const chunkFormat: z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>;
|
|
60
|
-
export type ChunkFormat = z.infer<typeof chunkFormat>;
|
|
61
|
-
declare const workerPublicPath: z.ZodString;
|
|
62
|
-
export type WorkerPublicPath = z.infer<typeof workerPublicPath>;
|
|
63
|
-
declare const trustedTypes: z.ZodObject<{
|
|
64
|
-
policyName: z.ZodOptional<z.ZodString>;
|
|
65
|
-
}, "strict", z.ZodTypeAny, {
|
|
66
|
-
policyName?: string | undefined;
|
|
67
|
-
}, {
|
|
68
|
-
policyName?: string | undefined;
|
|
69
|
-
}>;
|
|
70
|
-
export type TrustedTypes = z.infer<typeof trustedTypes>;
|
|
71
|
-
declare const hashDigest: z.ZodString;
|
|
72
|
-
export type HashDigest = z.infer<typeof hashDigest>;
|
|
73
|
-
declare const hashDigestLength: z.ZodNumber;
|
|
74
|
-
export type HashDigestLength = z.infer<typeof hashDigestLength>;
|
|
75
|
-
declare const hashFunction: z.ZodEnum<["md4", "xxhash64"]>;
|
|
76
|
-
export type HashFunction = z.infer<typeof hashFunction>;
|
|
77
|
-
declare const hashSalt: z.ZodString;
|
|
78
|
-
export type HashSalt = z.infer<typeof hashSalt>;
|
|
79
|
-
declare const sourceMapFilename: z.ZodString;
|
|
80
|
-
export type SourceMapFilename = z.infer<typeof sourceMapFilename>;
|
|
81
|
-
declare const devtoolNamespace: z.ZodString;
|
|
82
|
-
export type DevtoolNamespace = z.infer<typeof devtoolNamespace>;
|
|
83
|
-
declare const devtoolModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>;
|
|
84
|
-
export type DevtoolModuleFilenameTemplate = z.infer<typeof devtoolModuleFilenameTemplate>;
|
|
85
|
-
declare const devtoolFallbackModuleFilenameTemplate: z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>;
|
|
86
|
-
export type DevtoolFallbackModuleFilenameTemplate = z.infer<typeof devtoolFallbackModuleFilenameTemplate>;
|
|
87
|
-
declare const environment: z.ZodObject<{
|
|
88
|
-
arrowFunction: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
asyncFunction: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
-
bigIntLiteral: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
const: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
-
destructuring: z.ZodOptional<z.ZodBoolean>;
|
|
93
|
-
document: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
-
dynamicImport: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
dynamicImportInWorker: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
-
forOf: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
globalThis: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
-
module: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
nodePrefixForCoreModules: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
-
optionalChaining: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
templateLiteral: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
}, "strict", z.ZodTypeAny, {
|
|
103
|
-
module?: boolean | undefined;
|
|
104
|
-
arrowFunction?: boolean | undefined;
|
|
105
|
-
asyncFunction?: boolean | undefined;
|
|
106
|
-
bigIntLiteral?: boolean | undefined;
|
|
107
|
-
const?: boolean | undefined;
|
|
108
|
-
destructuring?: boolean | undefined;
|
|
109
|
-
document?: boolean | undefined;
|
|
110
|
-
dynamicImport?: boolean | undefined;
|
|
111
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
112
|
-
forOf?: boolean | undefined;
|
|
113
|
-
globalThis?: boolean | undefined;
|
|
114
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
115
|
-
optionalChaining?: boolean | undefined;
|
|
116
|
-
templateLiteral?: boolean | undefined;
|
|
117
|
-
}, {
|
|
118
|
-
module?: boolean | undefined;
|
|
119
|
-
arrowFunction?: boolean | undefined;
|
|
120
|
-
asyncFunction?: boolean | undefined;
|
|
121
|
-
bigIntLiteral?: boolean | undefined;
|
|
122
|
-
const?: boolean | undefined;
|
|
123
|
-
destructuring?: boolean | undefined;
|
|
124
|
-
document?: boolean | undefined;
|
|
125
|
-
dynamicImport?: boolean | undefined;
|
|
126
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
127
|
-
forOf?: boolean | undefined;
|
|
128
|
-
globalThis?: boolean | undefined;
|
|
129
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
130
|
-
optionalChaining?: boolean | undefined;
|
|
131
|
-
templateLiteral?: boolean | undefined;
|
|
132
|
-
}>;
|
|
133
|
-
export type Environment = z.infer<typeof environment>;
|
|
134
|
-
declare const output: z.ZodObject<{
|
|
135
|
-
path: z.ZodOptional<z.ZodString>;
|
|
136
|
-
pathinfo: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"verbose">]>>;
|
|
137
|
-
clean: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
|
|
139
|
-
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
140
|
-
chunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
141
|
-
crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
|
|
142
|
-
cssFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
143
|
-
cssHeadDataCompression: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
-
cssChunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
145
|
-
hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
|
|
146
|
-
hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
|
|
147
|
-
hotUpdateGlobal: z.ZodOptional<z.ZodString>;
|
|
148
|
-
assetModuleFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<PathData, z.ZodTypeDef, PathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
149
|
-
uniqueName: z.ZodOptional<z.ZodString>;
|
|
150
|
-
chunkLoadingGlobal: z.ZodOptional<z.ZodString>;
|
|
151
|
-
enabledLibraryTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>, "many">>;
|
|
152
|
-
library: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
153
|
-
amd: z.ZodOptional<z.ZodString>;
|
|
154
|
-
commonjs: z.ZodOptional<z.ZodString>;
|
|
155
|
-
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
156
|
-
}, "strict", z.ZodTypeAny, {
|
|
157
|
-
commonjs?: string | undefined;
|
|
158
|
-
amd?: string | undefined;
|
|
159
|
-
root?: string | string[] | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
commonjs?: string | undefined;
|
|
162
|
-
amd?: string | undefined;
|
|
163
|
-
root?: string | string[] | undefined;
|
|
164
|
-
}>]>, z.ZodObject<{
|
|
165
|
-
amdContainer: z.ZodOptional<z.ZodString>;
|
|
166
|
-
auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
167
|
-
amd: z.ZodOptional<z.ZodString>;
|
|
168
|
-
commonjs: z.ZodOptional<z.ZodString>;
|
|
169
|
-
commonjs2: z.ZodOptional<z.ZodString>;
|
|
170
|
-
root: z.ZodOptional<z.ZodString>;
|
|
171
|
-
}, "strict", z.ZodTypeAny, {
|
|
172
|
-
commonjs?: string | undefined;
|
|
173
|
-
amd?: string | undefined;
|
|
174
|
-
commonjs2?: string | undefined;
|
|
175
|
-
root?: string | undefined;
|
|
176
|
-
}, {
|
|
177
|
-
commonjs?: string | undefined;
|
|
178
|
-
amd?: string | undefined;
|
|
179
|
-
commonjs2?: string | undefined;
|
|
180
|
-
root?: string | undefined;
|
|
181
|
-
}>]>>;
|
|
182
|
-
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
183
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
184
|
-
amd: z.ZodOptional<z.ZodString>;
|
|
185
|
-
commonjs: z.ZodOptional<z.ZodString>;
|
|
186
|
-
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
187
|
-
}, "strict", z.ZodTypeAny, {
|
|
188
|
-
commonjs?: string | undefined;
|
|
189
|
-
amd?: string | undefined;
|
|
190
|
-
root?: string | string[] | undefined;
|
|
191
|
-
}, {
|
|
192
|
-
commonjs?: string | undefined;
|
|
193
|
-
amd?: string | undefined;
|
|
194
|
-
root?: string | string[] | undefined;
|
|
195
|
-
}>]>>;
|
|
196
|
-
type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
|
|
197
|
-
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
-
}, "strict", z.ZodTypeAny, {
|
|
199
|
-
type: string;
|
|
200
|
-
name?: string | string[] | {
|
|
201
|
-
commonjs?: string | undefined;
|
|
202
|
-
amd?: string | undefined;
|
|
203
|
-
root?: string | string[] | undefined;
|
|
204
|
-
} | undefined;
|
|
205
|
-
amdContainer?: string | undefined;
|
|
206
|
-
auxiliaryComment?: string | {
|
|
207
|
-
commonjs?: string | undefined;
|
|
208
|
-
amd?: string | undefined;
|
|
209
|
-
commonjs2?: string | undefined;
|
|
210
|
-
root?: string | undefined;
|
|
211
|
-
} | undefined;
|
|
212
|
-
export?: string | string[] | undefined;
|
|
213
|
-
umdNamedDefine?: boolean | undefined;
|
|
214
|
-
}, {
|
|
215
|
-
type: string;
|
|
216
|
-
name?: string | string[] | {
|
|
217
|
-
commonjs?: string | undefined;
|
|
218
|
-
amd?: string | undefined;
|
|
219
|
-
root?: string | string[] | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
amdContainer?: string | undefined;
|
|
222
|
-
auxiliaryComment?: string | {
|
|
223
|
-
commonjs?: string | undefined;
|
|
224
|
-
amd?: string | undefined;
|
|
225
|
-
commonjs2?: string | undefined;
|
|
226
|
-
root?: string | undefined;
|
|
227
|
-
} | undefined;
|
|
228
|
-
export?: string | string[] | undefined;
|
|
229
|
-
umdNamedDefine?: boolean | undefined;
|
|
230
|
-
}>]>>>;
|
|
231
|
-
libraryExport: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
232
|
-
libraryTarget: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>>;
|
|
233
|
-
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
-
auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
235
|
-
amd: z.ZodOptional<z.ZodString>;
|
|
236
|
-
commonjs: z.ZodOptional<z.ZodString>;
|
|
237
|
-
commonjs2: z.ZodOptional<z.ZodString>;
|
|
238
|
-
root: z.ZodOptional<z.ZodString>;
|
|
239
|
-
}, "strict", z.ZodTypeAny, {
|
|
240
|
-
commonjs?: string | undefined;
|
|
241
|
-
amd?: string | undefined;
|
|
242
|
-
commonjs2?: string | undefined;
|
|
243
|
-
root?: string | undefined;
|
|
244
|
-
}, {
|
|
245
|
-
commonjs?: string | undefined;
|
|
246
|
-
amd?: string | undefined;
|
|
247
|
-
commonjs2?: string | undefined;
|
|
248
|
-
root?: string | undefined;
|
|
249
|
-
}>]>>;
|
|
250
|
-
module: z.ZodOptional<z.ZodBoolean>;
|
|
251
|
-
strictModuleExceptionHandling: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
-
strictModuleErrorHandling: z.ZodOptional<z.ZodBoolean>;
|
|
253
|
-
globalObject: z.ZodOptional<z.ZodString>;
|
|
254
|
-
importFunctionName: z.ZodOptional<z.ZodString>;
|
|
255
|
-
importMetaName: z.ZodOptional<z.ZodString>;
|
|
256
|
-
iife: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
-
wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
|
|
258
|
-
enabledWasmLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>, "many">>;
|
|
259
|
-
webassemblyModuleFilename: z.ZodOptional<z.ZodString>;
|
|
260
|
-
chunkFormat: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
261
|
-
chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
|
|
262
|
-
enabledChunkLoadingTypes: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>, "many">>;
|
|
263
|
-
trustedTypes: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<true>, z.ZodString]>, z.ZodObject<{
|
|
264
|
-
policyName: z.ZodOptional<z.ZodString>;
|
|
265
|
-
}, "strict", z.ZodTypeAny, {
|
|
266
|
-
policyName?: string | undefined;
|
|
267
|
-
}, {
|
|
268
|
-
policyName?: string | undefined;
|
|
269
|
-
}>]>>;
|
|
270
|
-
sourceMapFilename: z.ZodOptional<z.ZodString>;
|
|
271
|
-
hashDigest: z.ZodOptional<z.ZodString>;
|
|
272
|
-
hashDigestLength: z.ZodOptional<z.ZodNumber>;
|
|
273
|
-
hashFunction: z.ZodOptional<z.ZodEnum<["md4", "xxhash64"]>>;
|
|
274
|
-
hashSalt: z.ZodOptional<z.ZodString>;
|
|
275
|
-
asyncChunks: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
-
workerChunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
|
|
277
|
-
workerWasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
|
|
278
|
-
workerPublicPath: z.ZodOptional<z.ZodString>;
|
|
279
|
-
scriptType: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["text/javascript", "module"]>, z.ZodLiteral<false>]>>;
|
|
280
|
-
devtoolNamespace: z.ZodOptional<z.ZodString>;
|
|
281
|
-
devtoolModuleFilenameTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>>;
|
|
282
|
-
devtoolFallbackModuleFilenameTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodAny>]>>;
|
|
283
|
-
chunkLoadTimeout: z.ZodOptional<z.ZodNumber>;
|
|
284
|
-
charset: z.ZodOptional<z.ZodBoolean>;
|
|
285
|
-
environment: z.ZodOptional<z.ZodObject<{
|
|
286
|
-
arrowFunction: z.ZodOptional<z.ZodBoolean>;
|
|
287
|
-
asyncFunction: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
bigIntLiteral: z.ZodOptional<z.ZodBoolean>;
|
|
289
|
-
const: z.ZodOptional<z.ZodBoolean>;
|
|
290
|
-
destructuring: z.ZodOptional<z.ZodBoolean>;
|
|
291
|
-
document: z.ZodOptional<z.ZodBoolean>;
|
|
292
|
-
dynamicImport: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
-
dynamicImportInWorker: z.ZodOptional<z.ZodBoolean>;
|
|
294
|
-
forOf: z.ZodOptional<z.ZodBoolean>;
|
|
295
|
-
globalThis: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
-
module: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
-
nodePrefixForCoreModules: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
-
optionalChaining: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
-
templateLiteral: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
-
}, "strict", z.ZodTypeAny, {
|
|
301
|
-
module?: boolean | undefined;
|
|
302
|
-
arrowFunction?: boolean | undefined;
|
|
303
|
-
asyncFunction?: boolean | undefined;
|
|
304
|
-
bigIntLiteral?: boolean | undefined;
|
|
305
|
-
const?: boolean | undefined;
|
|
306
|
-
destructuring?: boolean | undefined;
|
|
307
|
-
document?: boolean | undefined;
|
|
308
|
-
dynamicImport?: boolean | undefined;
|
|
309
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
310
|
-
forOf?: boolean | undefined;
|
|
311
|
-
globalThis?: boolean | undefined;
|
|
312
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
313
|
-
optionalChaining?: boolean | undefined;
|
|
314
|
-
templateLiteral?: boolean | undefined;
|
|
315
|
-
}, {
|
|
316
|
-
module?: boolean | undefined;
|
|
317
|
-
arrowFunction?: boolean | undefined;
|
|
318
|
-
asyncFunction?: boolean | undefined;
|
|
319
|
-
bigIntLiteral?: boolean | undefined;
|
|
320
|
-
const?: boolean | undefined;
|
|
321
|
-
destructuring?: boolean | undefined;
|
|
322
|
-
document?: boolean | undefined;
|
|
323
|
-
dynamicImport?: boolean | undefined;
|
|
324
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
325
|
-
forOf?: boolean | undefined;
|
|
326
|
-
globalThis?: boolean | undefined;
|
|
327
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
328
|
-
optionalChaining?: boolean | undefined;
|
|
329
|
-
templateLiteral?: boolean | undefined;
|
|
330
|
-
}>>;
|
|
331
|
-
}, "strict", z.ZodTypeAny, {
|
|
332
|
-
module?: boolean | undefined;
|
|
333
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
334
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
335
|
-
environment?: {
|
|
336
|
-
module?: boolean | undefined;
|
|
337
|
-
arrowFunction?: boolean | undefined;
|
|
338
|
-
asyncFunction?: boolean | undefined;
|
|
339
|
-
bigIntLiteral?: boolean | undefined;
|
|
340
|
-
const?: boolean | undefined;
|
|
341
|
-
destructuring?: boolean | undefined;
|
|
342
|
-
document?: boolean | undefined;
|
|
343
|
-
dynamicImport?: boolean | undefined;
|
|
344
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
345
|
-
forOf?: boolean | undefined;
|
|
346
|
-
globalThis?: boolean | undefined;
|
|
347
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
348
|
-
optionalChaining?: boolean | undefined;
|
|
349
|
-
templateLiteral?: boolean | undefined;
|
|
350
|
-
} | undefined;
|
|
351
|
-
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
352
|
-
path?: string | undefined;
|
|
353
|
-
auxiliaryComment?: string | {
|
|
354
|
-
commonjs?: string | undefined;
|
|
355
|
-
amd?: string | undefined;
|
|
356
|
-
commonjs2?: string | undefined;
|
|
357
|
-
root?: string | undefined;
|
|
358
|
-
} | undefined;
|
|
359
|
-
umdNamedDefine?: boolean | undefined;
|
|
360
|
-
chunkLoading?: string | false | undefined;
|
|
361
|
-
asyncChunks?: boolean | undefined;
|
|
362
|
-
wasmLoading?: string | false | undefined;
|
|
363
|
-
library?: string | string[] | {
|
|
364
|
-
commonjs?: string | undefined;
|
|
365
|
-
amd?: string | undefined;
|
|
366
|
-
root?: string | string[] | undefined;
|
|
367
|
-
} | {
|
|
368
|
-
type: string;
|
|
369
|
-
name?: string | string[] | {
|
|
370
|
-
commonjs?: string | undefined;
|
|
371
|
-
amd?: string | undefined;
|
|
372
|
-
root?: string | string[] | undefined;
|
|
373
|
-
} | undefined;
|
|
374
|
-
amdContainer?: string | undefined;
|
|
375
|
-
auxiliaryComment?: string | {
|
|
376
|
-
commonjs?: string | undefined;
|
|
377
|
-
amd?: string | undefined;
|
|
378
|
-
commonjs2?: string | undefined;
|
|
379
|
-
root?: string | undefined;
|
|
380
|
-
} | undefined;
|
|
381
|
-
export?: string | string[] | undefined;
|
|
382
|
-
umdNamedDefine?: boolean | undefined;
|
|
383
|
-
} | undefined;
|
|
384
|
-
pathinfo?: boolean | "verbose" | undefined;
|
|
385
|
-
clean?: boolean | undefined;
|
|
386
|
-
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
387
|
-
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
388
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
389
|
-
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
390
|
-
hotUpdateMainFilename?: string | undefined;
|
|
391
|
-
hotUpdateChunkFilename?: string | undefined;
|
|
392
|
-
hotUpdateGlobal?: string | undefined;
|
|
393
|
-
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
394
|
-
uniqueName?: string | undefined;
|
|
395
|
-
chunkLoadingGlobal?: string | undefined;
|
|
396
|
-
enabledLibraryTypes?: string[] | undefined;
|
|
397
|
-
libraryExport?: string | string[] | undefined;
|
|
398
|
-
libraryTarget?: string | undefined;
|
|
399
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
400
|
-
strictModuleErrorHandling?: boolean | undefined;
|
|
401
|
-
globalObject?: string | undefined;
|
|
402
|
-
importFunctionName?: string | undefined;
|
|
403
|
-
importMetaName?: string | undefined;
|
|
404
|
-
iife?: boolean | undefined;
|
|
405
|
-
enabledWasmLoadingTypes?: string[] | undefined;
|
|
406
|
-
webassemblyModuleFilename?: string | undefined;
|
|
407
|
-
chunkFormat?: string | false | undefined;
|
|
408
|
-
enabledChunkLoadingTypes?: string[] | undefined;
|
|
409
|
-
trustedTypes?: string | true | {
|
|
410
|
-
policyName?: string | undefined;
|
|
411
|
-
} | undefined;
|
|
412
|
-
sourceMapFilename?: string | undefined;
|
|
413
|
-
hashDigest?: string | undefined;
|
|
414
|
-
hashDigestLength?: number | undefined;
|
|
415
|
-
hashFunction?: "xxhash64" | "md4" | undefined;
|
|
416
|
-
hashSalt?: string | undefined;
|
|
417
|
-
workerChunkLoading?: string | false | undefined;
|
|
418
|
-
workerWasmLoading?: string | false | undefined;
|
|
419
|
-
workerPublicPath?: string | undefined;
|
|
420
|
-
scriptType?: false | "module" | "text/javascript" | undefined;
|
|
421
|
-
devtoolNamespace?: string | undefined;
|
|
422
|
-
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
423
|
-
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
424
|
-
chunkLoadTimeout?: number | undefined;
|
|
425
|
-
charset?: boolean | undefined;
|
|
426
|
-
}, {
|
|
427
|
-
module?: boolean | undefined;
|
|
428
|
-
filename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
429
|
-
publicPath?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
430
|
-
environment?: {
|
|
431
|
-
module?: boolean | undefined;
|
|
432
|
-
arrowFunction?: boolean | undefined;
|
|
433
|
-
asyncFunction?: boolean | undefined;
|
|
434
|
-
bigIntLiteral?: boolean | undefined;
|
|
435
|
-
const?: boolean | undefined;
|
|
436
|
-
destructuring?: boolean | undefined;
|
|
437
|
-
document?: boolean | undefined;
|
|
438
|
-
dynamicImport?: boolean | undefined;
|
|
439
|
-
dynamicImportInWorker?: boolean | undefined;
|
|
440
|
-
forOf?: boolean | undefined;
|
|
441
|
-
globalThis?: boolean | undefined;
|
|
442
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
|
443
|
-
optionalChaining?: boolean | undefined;
|
|
444
|
-
templateLiteral?: boolean | undefined;
|
|
445
|
-
} | undefined;
|
|
446
|
-
chunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
447
|
-
path?: string | undefined;
|
|
448
|
-
auxiliaryComment?: string | {
|
|
449
|
-
commonjs?: string | undefined;
|
|
450
|
-
amd?: string | undefined;
|
|
451
|
-
commonjs2?: string | undefined;
|
|
452
|
-
root?: string | undefined;
|
|
453
|
-
} | undefined;
|
|
454
|
-
umdNamedDefine?: boolean | undefined;
|
|
455
|
-
chunkLoading?: string | false | undefined;
|
|
456
|
-
asyncChunks?: boolean | undefined;
|
|
457
|
-
wasmLoading?: string | false | undefined;
|
|
458
|
-
library?: string | string[] | {
|
|
459
|
-
commonjs?: string | undefined;
|
|
460
|
-
amd?: string | undefined;
|
|
461
|
-
root?: string | string[] | undefined;
|
|
462
|
-
} | {
|
|
463
|
-
type: string;
|
|
464
|
-
name?: string | string[] | {
|
|
465
|
-
commonjs?: string | undefined;
|
|
466
|
-
amd?: string | undefined;
|
|
467
|
-
root?: string | string[] | undefined;
|
|
468
|
-
} | undefined;
|
|
469
|
-
amdContainer?: string | undefined;
|
|
470
|
-
auxiliaryComment?: string | {
|
|
471
|
-
commonjs?: string | undefined;
|
|
472
|
-
amd?: string | undefined;
|
|
473
|
-
commonjs2?: string | undefined;
|
|
474
|
-
root?: string | undefined;
|
|
475
|
-
} | undefined;
|
|
476
|
-
export?: string | string[] | undefined;
|
|
477
|
-
umdNamedDefine?: boolean | undefined;
|
|
478
|
-
} | undefined;
|
|
479
|
-
pathinfo?: boolean | "verbose" | undefined;
|
|
480
|
-
clean?: boolean | undefined;
|
|
481
|
-
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
482
|
-
cssFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
483
|
-
cssHeadDataCompression?: boolean | undefined;
|
|
484
|
-
cssChunkFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
485
|
-
hotUpdateMainFilename?: string | undefined;
|
|
486
|
-
hotUpdateChunkFilename?: string | undefined;
|
|
487
|
-
hotUpdateGlobal?: string | undefined;
|
|
488
|
-
assetModuleFilename?: string | ((args_0: PathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
489
|
-
uniqueName?: string | undefined;
|
|
490
|
-
chunkLoadingGlobal?: string | undefined;
|
|
491
|
-
enabledLibraryTypes?: string[] | undefined;
|
|
492
|
-
libraryExport?: string | string[] | undefined;
|
|
493
|
-
libraryTarget?: string | undefined;
|
|
494
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
|
495
|
-
strictModuleErrorHandling?: boolean | undefined;
|
|
496
|
-
globalObject?: string | undefined;
|
|
497
|
-
importFunctionName?: string | undefined;
|
|
498
|
-
importMetaName?: string | undefined;
|
|
499
|
-
iife?: boolean | undefined;
|
|
500
|
-
enabledWasmLoadingTypes?: string[] | undefined;
|
|
501
|
-
webassemblyModuleFilename?: string | undefined;
|
|
502
|
-
chunkFormat?: string | false | undefined;
|
|
503
|
-
enabledChunkLoadingTypes?: string[] | undefined;
|
|
504
|
-
trustedTypes?: string | true | {
|
|
505
|
-
policyName?: string | undefined;
|
|
506
|
-
} | undefined;
|
|
507
|
-
sourceMapFilename?: string | undefined;
|
|
508
|
-
hashDigest?: string | undefined;
|
|
509
|
-
hashDigestLength?: number | undefined;
|
|
510
|
-
hashFunction?: "xxhash64" | "md4" | undefined;
|
|
511
|
-
hashSalt?: string | undefined;
|
|
512
|
-
workerChunkLoading?: string | false | undefined;
|
|
513
|
-
workerWasmLoading?: string | false | undefined;
|
|
514
|
-
workerPublicPath?: string | undefined;
|
|
515
|
-
scriptType?: false | "module" | "text/javascript" | undefined;
|
|
516
|
-
devtoolNamespace?: string | undefined;
|
|
517
|
-
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
518
|
-
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
|
519
|
-
chunkLoadTimeout?: number | undefined;
|
|
520
|
-
charset?: boolean | undefined;
|
|
521
|
-
}>;
|
|
522
|
-
export type Output = z.infer<typeof output>;
|
|
523
10
|
declare const baseRuleSetCondition: z.ZodUnion<[z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodString]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>;
|
|
524
11
|
export type RuleSetCondition = z.infer<typeof baseRuleSetCondition> | RuleSetConditions | RuleSetLogicalConditions;
|
|
525
12
|
export type RuleSetConditions = RuleSetCondition[];
|
|
@@ -659,19 +146,17 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
659
146
|
sideEffects: z.ZodOptional<z.ZodBoolean>;
|
|
660
147
|
enforce: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"pre">, z.ZodLiteral<"post">]>>;
|
|
661
148
|
}, "strict", z.ZodTypeAny, {
|
|
149
|
+
type?: string | undefined;
|
|
150
|
+
resource?: RuleSetCondition | undefined;
|
|
662
151
|
layer?: string | undefined;
|
|
663
152
|
options?: string | Record<string, any> | undefined;
|
|
664
|
-
type?: string | undefined;
|
|
665
|
-
test?: RuleSetCondition | undefined;
|
|
666
|
-
enforce?: "pre" | "post" | undefined;
|
|
667
|
-
sideEffects?: boolean | undefined;
|
|
668
153
|
loader?: string | undefined;
|
|
154
|
+
test?: RuleSetCondition | undefined;
|
|
669
155
|
exclude?: RuleSetCondition | undefined;
|
|
670
156
|
include?: RuleSetCondition | undefined;
|
|
671
157
|
issuer?: RuleSetCondition | undefined;
|
|
672
158
|
issuerLayer?: RuleSetCondition | undefined;
|
|
673
159
|
dependency?: RuleSetCondition | undefined;
|
|
674
|
-
resource?: RuleSetCondition | undefined;
|
|
675
160
|
resourceFragment?: RuleSetCondition | undefined;
|
|
676
161
|
resourceQuery?: RuleSetCondition | undefined;
|
|
677
162
|
scheme?: RuleSetCondition | undefined;
|
|
@@ -694,20 +179,20 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
694
179
|
parser?: Record<string, any> | undefined;
|
|
695
180
|
generator?: Record<string, any> | undefined;
|
|
696
181
|
resolve?: t.ResolveOptions | undefined;
|
|
182
|
+
sideEffects?: boolean | undefined;
|
|
183
|
+
enforce?: "pre" | "post" | undefined;
|
|
697
184
|
}, {
|
|
185
|
+
type?: string | undefined;
|
|
186
|
+
resource?: RuleSetCondition | undefined;
|
|
698
187
|
layer?: string | undefined;
|
|
699
188
|
options?: string | Record<string, any> | undefined;
|
|
700
|
-
type?: string | undefined;
|
|
701
|
-
test?: RuleSetCondition | undefined;
|
|
702
|
-
enforce?: "pre" | "post" | undefined;
|
|
703
|
-
sideEffects?: boolean | undefined;
|
|
704
189
|
loader?: string | undefined;
|
|
190
|
+
test?: RuleSetCondition | undefined;
|
|
705
191
|
exclude?: RuleSetCondition | undefined;
|
|
706
192
|
include?: RuleSetCondition | undefined;
|
|
707
193
|
issuer?: RuleSetCondition | undefined;
|
|
708
194
|
issuerLayer?: RuleSetCondition | undefined;
|
|
709
195
|
dependency?: RuleSetCondition | undefined;
|
|
710
|
-
resource?: RuleSetCondition | undefined;
|
|
711
196
|
resourceFragment?: RuleSetCondition | undefined;
|
|
712
197
|
resourceQuery?: RuleSetCondition | undefined;
|
|
713
198
|
scheme?: RuleSetCondition | undefined;
|
|
@@ -730,6 +215,8 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
730
215
|
parser?: Record<string, any> | undefined;
|
|
731
216
|
generator?: Record<string, any> | undefined;
|
|
732
217
|
resolve?: t.ResolveOptions | undefined;
|
|
218
|
+
sideEffects?: boolean | undefined;
|
|
219
|
+
enforce?: "pre" | "post" | undefined;
|
|
733
220
|
}>;
|
|
734
221
|
export type RuleSetRule = z.infer<typeof baseRuleSetRule> & {
|
|
735
222
|
oneOf?: RuleSetRule[];
|
|
@@ -3598,11 +3085,9 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3598
3085
|
source?: boolean | undefined;
|
|
3599
3086
|
publicPath?: boolean | undefined;
|
|
3600
3087
|
all?: boolean | undefined;
|
|
3601
|
-
chunks?: boolean | undefined;
|
|
3602
|
-
usedExports?: boolean | undefined;
|
|
3603
|
-
providedExports?: boolean | undefined;
|
|
3604
3088
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3605
3089
|
assets?: boolean | undefined;
|
|
3090
|
+
chunks?: boolean | undefined;
|
|
3606
3091
|
modules?: boolean | undefined;
|
|
3607
3092
|
entrypoints?: boolean | "auto" | undefined;
|
|
3608
3093
|
chunkGroups?: boolean | undefined;
|
|
@@ -3627,6 +3112,8 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3627
3112
|
loggingTrace?: boolean | undefined;
|
|
3628
3113
|
runtimeModules?: boolean | undefined;
|
|
3629
3114
|
children?: boolean | undefined;
|
|
3115
|
+
usedExports?: boolean | undefined;
|
|
3116
|
+
providedExports?: boolean | undefined;
|
|
3630
3117
|
optimizationBailout?: boolean | undefined;
|
|
3631
3118
|
groupModulesByType?: boolean | undefined;
|
|
3632
3119
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -3675,11 +3162,9 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3675
3162
|
source?: boolean | undefined;
|
|
3676
3163
|
publicPath?: boolean | undefined;
|
|
3677
3164
|
all?: boolean | undefined;
|
|
3678
|
-
chunks?: boolean | undefined;
|
|
3679
|
-
usedExports?: boolean | undefined;
|
|
3680
|
-
providedExports?: boolean | undefined;
|
|
3681
3165
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3682
3166
|
assets?: boolean | undefined;
|
|
3167
|
+
chunks?: boolean | undefined;
|
|
3683
3168
|
modules?: boolean | undefined;
|
|
3684
3169
|
entrypoints?: boolean | "auto" | undefined;
|
|
3685
3170
|
chunkGroups?: boolean | undefined;
|
|
@@ -3704,6 +3189,8 @@ declare const statsOptions: z.ZodObject<{
|
|
|
3704
3189
|
loggingTrace?: boolean | undefined;
|
|
3705
3190
|
runtimeModules?: boolean | undefined;
|
|
3706
3191
|
children?: boolean | undefined;
|
|
3192
|
+
usedExports?: boolean | undefined;
|
|
3193
|
+
providedExports?: boolean | undefined;
|
|
3707
3194
|
optimizationBailout?: boolean | undefined;
|
|
3708
3195
|
groupModulesByType?: boolean | undefined;
|
|
3709
3196
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -3831,11 +3318,9 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
3831
3318
|
source?: boolean | undefined;
|
|
3832
3319
|
publicPath?: boolean | undefined;
|
|
3833
3320
|
all?: boolean | undefined;
|
|
3834
|
-
chunks?: boolean | undefined;
|
|
3835
|
-
usedExports?: boolean | undefined;
|
|
3836
|
-
providedExports?: boolean | undefined;
|
|
3837
3321
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3838
3322
|
assets?: boolean | undefined;
|
|
3323
|
+
chunks?: boolean | undefined;
|
|
3839
3324
|
modules?: boolean | undefined;
|
|
3840
3325
|
entrypoints?: boolean | "auto" | undefined;
|
|
3841
3326
|
chunkGroups?: boolean | undefined;
|
|
@@ -3860,6 +3345,8 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
3860
3345
|
loggingTrace?: boolean | undefined;
|
|
3861
3346
|
runtimeModules?: boolean | undefined;
|
|
3862
3347
|
children?: boolean | undefined;
|
|
3348
|
+
usedExports?: boolean | undefined;
|
|
3349
|
+
providedExports?: boolean | undefined;
|
|
3863
3350
|
optimizationBailout?: boolean | undefined;
|
|
3864
3351
|
groupModulesByType?: boolean | undefined;
|
|
3865
3352
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -3908,11 +3395,9 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
3908
3395
|
source?: boolean | undefined;
|
|
3909
3396
|
publicPath?: boolean | undefined;
|
|
3910
3397
|
all?: boolean | undefined;
|
|
3911
|
-
chunks?: boolean | undefined;
|
|
3912
|
-
usedExports?: boolean | undefined;
|
|
3913
|
-
providedExports?: boolean | undefined;
|
|
3914
3398
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
3915
3399
|
assets?: boolean | undefined;
|
|
3400
|
+
chunks?: boolean | undefined;
|
|
3916
3401
|
modules?: boolean | undefined;
|
|
3917
3402
|
entrypoints?: boolean | "auto" | undefined;
|
|
3918
3403
|
chunkGroups?: boolean | undefined;
|
|
@@ -3937,684 +3422,54 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
3937
3422
|
loggingTrace?: boolean | undefined;
|
|
3938
3423
|
runtimeModules?: boolean | undefined;
|
|
3939
3424
|
children?: boolean | undefined;
|
|
3940
|
-
|
|
3941
|
-
groupModulesByType?: boolean | undefined;
|
|
3942
|
-
groupModulesByCacheStatus?: boolean | undefined;
|
|
3943
|
-
groupModulesByLayer?: boolean | undefined;
|
|
3944
|
-
groupModulesByAttributes?: boolean | undefined;
|
|
3945
|
-
groupModulesByPath?: boolean | undefined;
|
|
3946
|
-
groupModulesByExtension?: boolean | undefined;
|
|
3947
|
-
modulesSpace?: number | undefined;
|
|
3948
|
-
chunkModulesSpace?: number | undefined;
|
|
3949
|
-
nestedModulesSpace?: number | undefined;
|
|
3950
|
-
relatedAssets?: boolean | undefined;
|
|
3951
|
-
groupAssetsByEmitStatus?: boolean | undefined;
|
|
3952
|
-
groupAssetsByInfo?: boolean | undefined;
|
|
3953
|
-
groupAssetsByPath?: boolean | undefined;
|
|
3954
|
-
groupAssetsByExtension?: boolean | undefined;
|
|
3955
|
-
groupAssetsByChunk?: boolean | undefined;
|
|
3956
|
-
assetsSpace?: number | undefined;
|
|
3957
|
-
orphanModules?: boolean | undefined;
|
|
3958
|
-
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
3959
|
-
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
3960
|
-
modulesSort?: string | undefined;
|
|
3961
|
-
chunkModulesSort?: string | undefined;
|
|
3962
|
-
nestedModulesSort?: string | undefined;
|
|
3963
|
-
chunksSort?: string | undefined;
|
|
3964
|
-
assetsSort?: string | undefined;
|
|
3965
|
-
performance?: boolean | undefined;
|
|
3966
|
-
env?: boolean | undefined;
|
|
3967
|
-
chunkGroupAuxiliary?: boolean | undefined;
|
|
3968
|
-
chunkGroupChildren?: boolean | undefined;
|
|
3969
|
-
chunkGroupMaxAssets?: number | undefined;
|
|
3970
|
-
dependentModules?: boolean | undefined;
|
|
3971
|
-
chunkOrigins?: boolean | undefined;
|
|
3972
|
-
runtime?: boolean | undefined;
|
|
3973
|
-
depth?: boolean | undefined;
|
|
3974
|
-
reasonsSpace?: number | undefined;
|
|
3975
|
-
groupReasonsByOrigin?: boolean | undefined;
|
|
3976
|
-
errorDetails?: boolean | undefined;
|
|
3977
|
-
errorStack?: boolean | undefined;
|
|
3978
|
-
moduleTrace?: boolean | undefined;
|
|
3979
|
-
cachedModules?: boolean | undefined;
|
|
3980
|
-
cachedAssets?: boolean | undefined;
|
|
3981
|
-
cached?: boolean | undefined;
|
|
3982
|
-
errorsSpace?: number | undefined;
|
|
3983
|
-
warningsSpace?: number | undefined;
|
|
3984
|
-
}>]>;
|
|
3985
|
-
export type StatsValue = z.infer<typeof statsValue>;
|
|
3986
|
-
export interface RspackPluginInstance {
|
|
3987
|
-
apply: (compiler: Compiler) => void;
|
|
3988
|
-
[k: string]: any;
|
|
3989
|
-
}
|
|
3990
|
-
export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
|
|
3991
|
-
export type WebpackCompiler = any;
|
|
3992
|
-
export interface WebpackPluginInstance {
|
|
3993
|
-
apply: (compiler: WebpackCompiler) => void;
|
|
3994
|
-
[k: string]: any;
|
|
3995
|
-
}
|
|
3996
|
-
export type WebpackPluginFunction = (this: WebpackCompiler, compiler: WebpackCompiler) => void;
|
|
3997
|
-
declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
|
|
3998
|
-
export type Plugins = z.infer<typeof plugins>;
|
|
3999
|
-
declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
4000
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4001
|
-
name: z.ZodString;
|
|
4002
|
-
}, "strict", z.ZodTypeAny, {
|
|
4003
|
-
name: string;
|
|
4004
|
-
}, {
|
|
4005
|
-
name: string;
|
|
4006
|
-
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
4007
|
-
}, "strict", z.ZodTypeAny, {
|
|
4008
|
-
name?: string | ((args_0: {
|
|
4009
|
-
name: string;
|
|
4010
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4011
|
-
}, {
|
|
4012
|
-
name?: string | ((args_0: {
|
|
4013
|
-
name: string;
|
|
4014
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4015
|
-
}>]>;
|
|
4016
|
-
export type OptimizationRuntimeChunk = z.infer<typeof optimizationRuntimeChunk>;
|
|
4017
|
-
declare const optimizationSplitChunksNameFunction: z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>;
|
|
4018
|
-
export type OptimizationSplitChunksNameFunction = z.infer<typeof optimizationSplitChunksNameFunction>;
|
|
4019
|
-
declare const optimizationSplitChunksCacheGroup: z.ZodObject<{
|
|
4020
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4021
|
-
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4022
|
-
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4023
|
-
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4024
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4025
|
-
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4026
|
-
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4027
|
-
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4028
|
-
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4029
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
4030
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
4031
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4032
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4033
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
4034
|
-
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
4035
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
4036
|
-
reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
|
|
4037
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4038
|
-
idHint: z.ZodOptional<z.ZodString>;
|
|
4039
|
-
}, "strict", z.ZodTypeAny, {
|
|
4040
|
-
filename?: string | undefined;
|
|
4041
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4042
|
-
priority?: number | undefined;
|
|
4043
|
-
type?: string | RegExp | undefined;
|
|
4044
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4045
|
-
enforce?: boolean | undefined;
|
|
4046
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4047
|
-
idHint?: string | undefined;
|
|
4048
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4049
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4050
|
-
minChunks?: number | undefined;
|
|
4051
|
-
usedExports?: boolean | undefined;
|
|
4052
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4053
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4054
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4055
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4056
|
-
maxAsyncRequests?: number | undefined;
|
|
4057
|
-
maxInitialRequests?: number | undefined;
|
|
4058
|
-
automaticNameDelimiter?: string | undefined;
|
|
4059
|
-
}, {
|
|
4060
|
-
filename?: string | undefined;
|
|
4061
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4062
|
-
priority?: number | undefined;
|
|
4063
|
-
type?: string | RegExp | undefined;
|
|
4064
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4065
|
-
enforce?: boolean | undefined;
|
|
4066
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4067
|
-
idHint?: string | undefined;
|
|
4068
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4069
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4070
|
-
minChunks?: number | undefined;
|
|
4071
|
-
usedExports?: boolean | undefined;
|
|
4072
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4073
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4074
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4075
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4076
|
-
maxAsyncRequests?: number | undefined;
|
|
4077
|
-
maxInitialRequests?: number | undefined;
|
|
4078
|
-
automaticNameDelimiter?: string | undefined;
|
|
4079
|
-
}>;
|
|
4080
|
-
export type OptimizationSplitChunksCacheGroup = z.infer<typeof optimizationSplitChunksCacheGroup>;
|
|
4081
|
-
declare const optimizationSplitChunksOptions: z.ZodObject<{
|
|
4082
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4083
|
-
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4084
|
-
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4085
|
-
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4086
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4087
|
-
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4088
|
-
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4089
|
-
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4090
|
-
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4091
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
4092
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
4093
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4094
|
-
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4095
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4096
|
-
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4097
|
-
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4098
|
-
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4099
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4100
|
-
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4101
|
-
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4102
|
-
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4103
|
-
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4104
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
4105
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
4106
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4107
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4108
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
4109
|
-
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
4110
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
4111
|
-
reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
|
|
4112
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4113
|
-
idHint: z.ZodOptional<z.ZodString>;
|
|
4114
|
-
}, "strict", z.ZodTypeAny, {
|
|
4115
|
-
filename?: string | undefined;
|
|
4116
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4117
|
-
priority?: number | undefined;
|
|
4118
|
-
type?: string | RegExp | undefined;
|
|
4119
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4120
|
-
enforce?: boolean | undefined;
|
|
4121
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4122
|
-
idHint?: string | undefined;
|
|
4123
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4124
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4125
|
-
minChunks?: number | undefined;
|
|
4126
|
-
usedExports?: boolean | undefined;
|
|
4127
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4128
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4129
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4130
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4131
|
-
maxAsyncRequests?: number | undefined;
|
|
4132
|
-
maxInitialRequests?: number | undefined;
|
|
4133
|
-
automaticNameDelimiter?: string | undefined;
|
|
4134
|
-
}, {
|
|
4135
|
-
filename?: string | undefined;
|
|
4136
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4137
|
-
priority?: number | undefined;
|
|
4138
|
-
type?: string | RegExp | undefined;
|
|
4139
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4140
|
-
enforce?: boolean | undefined;
|
|
4141
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4142
|
-
idHint?: string | undefined;
|
|
4143
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4144
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4145
|
-
minChunks?: number | undefined;
|
|
4146
|
-
usedExports?: boolean | undefined;
|
|
4147
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4148
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4149
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4150
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4151
|
-
maxAsyncRequests?: number | undefined;
|
|
4152
|
-
maxInitialRequests?: number | undefined;
|
|
4153
|
-
automaticNameDelimiter?: string | undefined;
|
|
4154
|
-
}>]>>>;
|
|
4155
|
-
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
4156
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4157
|
-
minSize: z.ZodOptional<z.ZodNumber>;
|
|
4158
|
-
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
4159
|
-
maxAsyncSize: z.ZodOptional<z.ZodNumber>;
|
|
4160
|
-
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4161
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4162
|
-
}, "strict", z.ZodTypeAny, {
|
|
4163
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4164
|
-
minSize?: number | undefined;
|
|
4165
|
-
maxSize?: number | undefined;
|
|
4166
|
-
maxAsyncSize?: number | undefined;
|
|
4167
|
-
maxInitialSize?: number | undefined;
|
|
4168
|
-
automaticNameDelimiter?: string | undefined;
|
|
4169
|
-
}, {
|
|
4170
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4171
|
-
minSize?: number | undefined;
|
|
4172
|
-
maxSize?: number | undefined;
|
|
4173
|
-
maxAsyncSize?: number | undefined;
|
|
4174
|
-
maxInitialSize?: number | undefined;
|
|
4175
|
-
automaticNameDelimiter?: string | undefined;
|
|
4176
|
-
}>>;
|
|
4177
|
-
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4178
|
-
}, "strict", z.ZodTypeAny, {
|
|
4179
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4180
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4181
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4182
|
-
minChunks?: number | undefined;
|
|
4183
|
-
usedExports?: boolean | undefined;
|
|
4184
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4185
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4186
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4187
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4188
|
-
maxAsyncRequests?: number | undefined;
|
|
4189
|
-
maxInitialRequests?: number | undefined;
|
|
4190
|
-
automaticNameDelimiter?: string | undefined;
|
|
4191
|
-
cacheGroups?: Record<string, false | {
|
|
4192
|
-
filename?: string | undefined;
|
|
4193
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4194
|
-
priority?: number | undefined;
|
|
4195
|
-
type?: string | RegExp | undefined;
|
|
4196
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4197
|
-
enforce?: boolean | undefined;
|
|
4198
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4199
|
-
idHint?: string | undefined;
|
|
4200
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4201
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4202
|
-
minChunks?: number | undefined;
|
|
4203
|
-
usedExports?: boolean | undefined;
|
|
4204
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4205
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4206
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4207
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4208
|
-
maxAsyncRequests?: number | undefined;
|
|
4209
|
-
maxInitialRequests?: number | undefined;
|
|
4210
|
-
automaticNameDelimiter?: string | undefined;
|
|
4211
|
-
}> | undefined;
|
|
4212
|
-
fallbackCacheGroup?: {
|
|
4213
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4214
|
-
minSize?: number | undefined;
|
|
4215
|
-
maxSize?: number | undefined;
|
|
4216
|
-
maxAsyncSize?: number | undefined;
|
|
4217
|
-
maxInitialSize?: number | undefined;
|
|
4218
|
-
automaticNameDelimiter?: string | undefined;
|
|
4219
|
-
} | undefined;
|
|
4220
|
-
hidePathInfo?: boolean | undefined;
|
|
4221
|
-
}, {
|
|
4222
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4223
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4224
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4225
|
-
minChunks?: number | undefined;
|
|
4226
|
-
usedExports?: boolean | undefined;
|
|
4227
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4228
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4229
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4230
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4231
|
-
maxAsyncRequests?: number | undefined;
|
|
4232
|
-
maxInitialRequests?: number | undefined;
|
|
4233
|
-
automaticNameDelimiter?: string | undefined;
|
|
4234
|
-
cacheGroups?: Record<string, false | {
|
|
4235
|
-
filename?: string | undefined;
|
|
4236
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4237
|
-
priority?: number | undefined;
|
|
4238
|
-
type?: string | RegExp | undefined;
|
|
4239
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4240
|
-
enforce?: boolean | undefined;
|
|
4241
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4242
|
-
idHint?: string | undefined;
|
|
4243
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4244
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4245
|
-
minChunks?: number | undefined;
|
|
4246
|
-
usedExports?: boolean | undefined;
|
|
4247
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4248
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4249
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4250
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4251
|
-
maxAsyncRequests?: number | undefined;
|
|
4252
|
-
maxInitialRequests?: number | undefined;
|
|
4253
|
-
automaticNameDelimiter?: string | undefined;
|
|
4254
|
-
}> | undefined;
|
|
4255
|
-
fallbackCacheGroup?: {
|
|
4256
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4257
|
-
minSize?: number | undefined;
|
|
4258
|
-
maxSize?: number | undefined;
|
|
4259
|
-
maxAsyncSize?: number | undefined;
|
|
4260
|
-
maxInitialSize?: number | undefined;
|
|
4261
|
-
automaticNameDelimiter?: string | undefined;
|
|
4262
|
-
} | undefined;
|
|
4263
|
-
hidePathInfo?: boolean | undefined;
|
|
4264
|
-
}>;
|
|
4265
|
-
export type OptimizationSplitChunksOptions = z.infer<typeof optimizationSplitChunksOptions>;
|
|
4266
|
-
declare const optimization: z.ZodObject<{
|
|
4267
|
-
moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
|
|
4268
|
-
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
|
|
4269
|
-
minimize: z.ZodOptional<z.ZodBoolean>;
|
|
4270
|
-
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
|
|
4271
|
-
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
4272
|
-
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4273
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4274
|
-
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4275
|
-
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4276
|
-
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4277
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4278
|
-
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4279
|
-
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4280
|
-
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4281
|
-
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4282
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
4283
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
4284
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4285
|
-
cacheGroups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
4286
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4287
|
-
defaultSizeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4288
|
-
minChunks: z.ZodOptional<z.ZodNumber>;
|
|
4289
|
-
usedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4290
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodType<Module, z.ZodTypeDef, Module>>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4291
|
-
minSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4292
|
-
maxSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4293
|
-
maxAsyncSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4294
|
-
maxInitialSize: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodRecord<z.ZodString, z.ZodNumber>]>>;
|
|
4295
|
-
maxAsyncRequests: z.ZodOptional<z.ZodNumber>;
|
|
4296
|
-
maxInitialRequests: z.ZodOptional<z.ZodNumber>;
|
|
4297
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4298
|
-
test: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodUnknown>]>>;
|
|
4299
|
-
priority: z.ZodOptional<z.ZodNumber>;
|
|
4300
|
-
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
4301
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
4302
|
-
reuseExistingChunk: z.ZodOptional<z.ZodBoolean>;
|
|
4303
|
-
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
4304
|
-
idHint: z.ZodOptional<z.ZodString>;
|
|
4305
|
-
}, "strict", z.ZodTypeAny, {
|
|
4306
|
-
filename?: string | undefined;
|
|
4307
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4308
|
-
priority?: number | undefined;
|
|
4309
|
-
type?: string | RegExp | undefined;
|
|
4310
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4311
|
-
enforce?: boolean | undefined;
|
|
4312
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4313
|
-
idHint?: string | undefined;
|
|
4314
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4315
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4316
|
-
minChunks?: number | undefined;
|
|
4317
|
-
usedExports?: boolean | undefined;
|
|
4318
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4319
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4320
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4321
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4322
|
-
maxAsyncRequests?: number | undefined;
|
|
4323
|
-
maxInitialRequests?: number | undefined;
|
|
4324
|
-
automaticNameDelimiter?: string | undefined;
|
|
4325
|
-
}, {
|
|
4326
|
-
filename?: string | undefined;
|
|
4327
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4328
|
-
priority?: number | undefined;
|
|
4329
|
-
type?: string | RegExp | undefined;
|
|
4330
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4331
|
-
enforce?: boolean | undefined;
|
|
4332
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4333
|
-
idHint?: string | undefined;
|
|
4334
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4335
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4336
|
-
minChunks?: number | undefined;
|
|
4337
|
-
usedExports?: boolean | undefined;
|
|
4338
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4339
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4340
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4341
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4342
|
-
maxAsyncRequests?: number | undefined;
|
|
4343
|
-
maxInitialRequests?: number | undefined;
|
|
4344
|
-
automaticNameDelimiter?: string | undefined;
|
|
4345
|
-
}>]>>>;
|
|
4346
|
-
fallbackCacheGroup: z.ZodOptional<z.ZodObject<{
|
|
4347
|
-
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
4348
|
-
minSize: z.ZodOptional<z.ZodNumber>;
|
|
4349
|
-
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
4350
|
-
maxAsyncSize: z.ZodOptional<z.ZodNumber>;
|
|
4351
|
-
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
4352
|
-
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
4353
|
-
}, "strict", z.ZodTypeAny, {
|
|
4354
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4355
|
-
minSize?: number | undefined;
|
|
4356
|
-
maxSize?: number | undefined;
|
|
4357
|
-
maxAsyncSize?: number | undefined;
|
|
4358
|
-
maxInitialSize?: number | undefined;
|
|
4359
|
-
automaticNameDelimiter?: string | undefined;
|
|
4360
|
-
}, {
|
|
4361
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4362
|
-
minSize?: number | undefined;
|
|
4363
|
-
maxSize?: number | undefined;
|
|
4364
|
-
maxAsyncSize?: number | undefined;
|
|
4365
|
-
maxInitialSize?: number | undefined;
|
|
4366
|
-
automaticNameDelimiter?: string | undefined;
|
|
4367
|
-
}>>;
|
|
4368
|
-
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
4369
|
-
}, "strict", z.ZodTypeAny, {
|
|
4370
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4371
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4372
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4373
|
-
minChunks?: number | undefined;
|
|
4374
|
-
usedExports?: boolean | undefined;
|
|
4375
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4376
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4377
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4378
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4379
|
-
maxAsyncRequests?: number | undefined;
|
|
4380
|
-
maxInitialRequests?: number | undefined;
|
|
4381
|
-
automaticNameDelimiter?: string | undefined;
|
|
4382
|
-
cacheGroups?: Record<string, false | {
|
|
4383
|
-
filename?: string | undefined;
|
|
4384
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4385
|
-
priority?: number | undefined;
|
|
4386
|
-
type?: string | RegExp | undefined;
|
|
4387
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4388
|
-
enforce?: boolean | undefined;
|
|
4389
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4390
|
-
idHint?: string | undefined;
|
|
4391
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4392
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4393
|
-
minChunks?: number | undefined;
|
|
4394
|
-
usedExports?: boolean | undefined;
|
|
4395
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4396
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4397
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4398
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4399
|
-
maxAsyncRequests?: number | undefined;
|
|
4400
|
-
maxInitialRequests?: number | undefined;
|
|
4401
|
-
automaticNameDelimiter?: string | undefined;
|
|
4402
|
-
}> | undefined;
|
|
4403
|
-
fallbackCacheGroup?: {
|
|
4404
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4405
|
-
minSize?: number | undefined;
|
|
4406
|
-
maxSize?: number | undefined;
|
|
4407
|
-
maxAsyncSize?: number | undefined;
|
|
4408
|
-
maxInitialSize?: number | undefined;
|
|
4409
|
-
automaticNameDelimiter?: string | undefined;
|
|
4410
|
-
} | undefined;
|
|
4411
|
-
hidePathInfo?: boolean | undefined;
|
|
4412
|
-
}, {
|
|
4413
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4414
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4415
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4416
|
-
minChunks?: number | undefined;
|
|
4417
|
-
usedExports?: boolean | undefined;
|
|
4418
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4419
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4420
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4421
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4422
|
-
maxAsyncRequests?: number | undefined;
|
|
4423
|
-
maxInitialRequests?: number | undefined;
|
|
4424
|
-
automaticNameDelimiter?: string | undefined;
|
|
4425
|
-
cacheGroups?: Record<string, false | {
|
|
4426
|
-
filename?: string | undefined;
|
|
4427
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4428
|
-
priority?: number | undefined;
|
|
4429
|
-
type?: string | RegExp | undefined;
|
|
4430
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4431
|
-
enforce?: boolean | undefined;
|
|
4432
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4433
|
-
idHint?: string | undefined;
|
|
4434
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4435
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4436
|
-
minChunks?: number | undefined;
|
|
4437
|
-
usedExports?: boolean | undefined;
|
|
4438
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4439
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4440
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4441
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4442
|
-
maxAsyncRequests?: number | undefined;
|
|
4443
|
-
maxInitialRequests?: number | undefined;
|
|
4444
|
-
automaticNameDelimiter?: string | undefined;
|
|
4445
|
-
}> | undefined;
|
|
4446
|
-
fallbackCacheGroup?: {
|
|
4447
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4448
|
-
minSize?: number | undefined;
|
|
4449
|
-
maxSize?: number | undefined;
|
|
4450
|
-
maxAsyncSize?: number | undefined;
|
|
4451
|
-
maxInitialSize?: number | undefined;
|
|
4452
|
-
automaticNameDelimiter?: string | undefined;
|
|
4453
|
-
} | undefined;
|
|
4454
|
-
hidePathInfo?: boolean | undefined;
|
|
4455
|
-
}>]>>;
|
|
4456
|
-
runtimeChunk: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
4457
|
-
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
4458
|
-
name: z.ZodString;
|
|
4459
|
-
}, "strict", z.ZodTypeAny, {
|
|
4460
|
-
name: string;
|
|
4461
|
-
}, {
|
|
4462
|
-
name: string;
|
|
4463
|
-
}>], z.ZodUnknown>, z.ZodString>]>>;
|
|
4464
|
-
}, "strict", z.ZodTypeAny, {
|
|
4465
|
-
name?: string | ((args_0: {
|
|
4466
|
-
name: string;
|
|
4467
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4468
|
-
}, {
|
|
4469
|
-
name?: string | ((args_0: {
|
|
4470
|
-
name: string;
|
|
4471
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4472
|
-
}>]>>;
|
|
4473
|
-
removeAvailableModules: z.ZodOptional<z.ZodBoolean>;
|
|
4474
|
-
removeEmptyChunks: z.ZodOptional<z.ZodBoolean>;
|
|
4475
|
-
realContentHash: z.ZodOptional<z.ZodBoolean>;
|
|
4476
|
-
sideEffects: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["flag"]>, z.ZodBoolean]>>;
|
|
4477
|
-
providedExports: z.ZodOptional<z.ZodBoolean>;
|
|
4478
|
-
concatenateModules: z.ZodOptional<z.ZodBoolean>;
|
|
4479
|
-
innerGraph: z.ZodOptional<z.ZodBoolean>;
|
|
4480
|
-
usedExports: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["global"]>, z.ZodBoolean]>>;
|
|
4481
|
-
mangleExports: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["size", "deterministic"]>, z.ZodBoolean]>>;
|
|
4482
|
-
nodeEnv: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
4483
|
-
emitOnErrors: z.ZodOptional<z.ZodBoolean>;
|
|
4484
|
-
}, "strict", z.ZodTypeAny, {
|
|
4485
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4486
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4487
|
-
minimize?: boolean | undefined;
|
|
4488
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4489
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
4490
|
-
usedExports?: boolean | "global" | undefined;
|
|
4491
|
-
splitChunks?: false | {
|
|
4492
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4493
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4494
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4495
|
-
minChunks?: number | undefined;
|
|
4496
|
-
usedExports?: boolean | undefined;
|
|
4497
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4498
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4499
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4500
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4501
|
-
maxAsyncRequests?: number | undefined;
|
|
4502
|
-
maxInitialRequests?: number | undefined;
|
|
4503
|
-
automaticNameDelimiter?: string | undefined;
|
|
4504
|
-
cacheGroups?: Record<string, false | {
|
|
4505
|
-
filename?: string | undefined;
|
|
4506
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4507
|
-
priority?: number | undefined;
|
|
4508
|
-
type?: string | RegExp | undefined;
|
|
4509
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4510
|
-
enforce?: boolean | undefined;
|
|
4511
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4512
|
-
idHint?: string | undefined;
|
|
4513
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4514
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4515
|
-
minChunks?: number | undefined;
|
|
4516
|
-
usedExports?: boolean | undefined;
|
|
4517
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4518
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4519
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4520
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4521
|
-
maxAsyncRequests?: number | undefined;
|
|
4522
|
-
maxInitialRequests?: number | undefined;
|
|
4523
|
-
automaticNameDelimiter?: string | undefined;
|
|
4524
|
-
}> | undefined;
|
|
4525
|
-
fallbackCacheGroup?: {
|
|
4526
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4527
|
-
minSize?: number | undefined;
|
|
4528
|
-
maxSize?: number | undefined;
|
|
4529
|
-
maxAsyncSize?: number | undefined;
|
|
4530
|
-
maxInitialSize?: number | undefined;
|
|
4531
|
-
automaticNameDelimiter?: string | undefined;
|
|
4532
|
-
} | undefined;
|
|
4533
|
-
hidePathInfo?: boolean | undefined;
|
|
4534
|
-
} | undefined;
|
|
4535
|
-
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
4536
|
-
name?: string | ((args_0: {
|
|
4537
|
-
name: string;
|
|
4538
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4539
|
-
} | undefined;
|
|
4540
|
-
removeAvailableModules?: boolean | undefined;
|
|
4541
|
-
removeEmptyChunks?: boolean | undefined;
|
|
4542
|
-
realContentHash?: boolean | undefined;
|
|
4543
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
4544
|
-
providedExports?: boolean | undefined;
|
|
4545
|
-
concatenateModules?: boolean | undefined;
|
|
4546
|
-
innerGraph?: boolean | undefined;
|
|
4547
|
-
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
4548
|
-
nodeEnv?: string | false | undefined;
|
|
4549
|
-
emitOnErrors?: boolean | undefined;
|
|
4550
|
-
}, {
|
|
4551
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4552
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
4553
|
-
minimize?: boolean | undefined;
|
|
4554
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
4555
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
4556
|
-
usedExports?: boolean | "global" | undefined;
|
|
4557
|
-
splitChunks?: false | {
|
|
4558
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4559
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4560
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4561
|
-
minChunks?: number | undefined;
|
|
4562
|
-
usedExports?: boolean | undefined;
|
|
4563
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4564
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4565
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4566
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4567
|
-
maxAsyncRequests?: number | undefined;
|
|
4568
|
-
maxInitialRequests?: number | undefined;
|
|
4569
|
-
automaticNameDelimiter?: string | undefined;
|
|
4570
|
-
cacheGroups?: Record<string, false | {
|
|
4571
|
-
filename?: string | undefined;
|
|
4572
|
-
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
4573
|
-
priority?: number | undefined;
|
|
4574
|
-
type?: string | RegExp | undefined;
|
|
4575
|
-
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
4576
|
-
enforce?: boolean | undefined;
|
|
4577
|
-
reuseExistingChunk?: boolean | undefined;
|
|
4578
|
-
idHint?: string | undefined;
|
|
4579
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4580
|
-
defaultSizeTypes?: string[] | undefined;
|
|
4581
|
-
minChunks?: number | undefined;
|
|
4582
|
-
usedExports?: boolean | undefined;
|
|
4583
|
-
minSize?: number | Record<string, number> | undefined;
|
|
4584
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
4585
|
-
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
4586
|
-
maxInitialSize?: number | Record<string, number> | undefined;
|
|
4587
|
-
maxAsyncRequests?: number | undefined;
|
|
4588
|
-
maxInitialRequests?: number | undefined;
|
|
4589
|
-
automaticNameDelimiter?: string | undefined;
|
|
4590
|
-
}> | undefined;
|
|
4591
|
-
fallbackCacheGroup?: {
|
|
4592
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
4593
|
-
minSize?: number | undefined;
|
|
4594
|
-
maxSize?: number | undefined;
|
|
4595
|
-
maxAsyncSize?: number | undefined;
|
|
4596
|
-
maxInitialSize?: number | undefined;
|
|
4597
|
-
automaticNameDelimiter?: string | undefined;
|
|
4598
|
-
} | undefined;
|
|
4599
|
-
hidePathInfo?: boolean | undefined;
|
|
4600
|
-
} | undefined;
|
|
4601
|
-
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
4602
|
-
name?: string | ((args_0: {
|
|
4603
|
-
name: string;
|
|
4604
|
-
}, ...args_1: unknown[]) => string) | undefined;
|
|
4605
|
-
} | undefined;
|
|
4606
|
-
removeAvailableModules?: boolean | undefined;
|
|
4607
|
-
removeEmptyChunks?: boolean | undefined;
|
|
4608
|
-
realContentHash?: boolean | undefined;
|
|
4609
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
3425
|
+
usedExports?: boolean | undefined;
|
|
4610
3426
|
providedExports?: boolean | undefined;
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
3427
|
+
optimizationBailout?: boolean | undefined;
|
|
3428
|
+
groupModulesByType?: boolean | undefined;
|
|
3429
|
+
groupModulesByCacheStatus?: boolean | undefined;
|
|
3430
|
+
groupModulesByLayer?: boolean | undefined;
|
|
3431
|
+
groupModulesByAttributes?: boolean | undefined;
|
|
3432
|
+
groupModulesByPath?: boolean | undefined;
|
|
3433
|
+
groupModulesByExtension?: boolean | undefined;
|
|
3434
|
+
modulesSpace?: number | undefined;
|
|
3435
|
+
chunkModulesSpace?: number | undefined;
|
|
3436
|
+
nestedModulesSpace?: number | undefined;
|
|
3437
|
+
relatedAssets?: boolean | undefined;
|
|
3438
|
+
groupAssetsByEmitStatus?: boolean | undefined;
|
|
3439
|
+
groupAssetsByInfo?: boolean | undefined;
|
|
3440
|
+
groupAssetsByPath?: boolean | undefined;
|
|
3441
|
+
groupAssetsByExtension?: boolean | undefined;
|
|
3442
|
+
groupAssetsByChunk?: boolean | undefined;
|
|
3443
|
+
assetsSpace?: number | undefined;
|
|
3444
|
+
orphanModules?: boolean | undefined;
|
|
3445
|
+
excludeModules?: string | boolean | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any, args_2: any) => boolean))[] | undefined;
|
|
3446
|
+
excludeAssets?: string | RegExp | ((args_0: string, args_1: any) => boolean) | (string | RegExp | ((args_0: string, args_1: any) => boolean))[] | undefined;
|
|
3447
|
+
modulesSort?: string | undefined;
|
|
3448
|
+
chunkModulesSort?: string | undefined;
|
|
3449
|
+
nestedModulesSort?: string | undefined;
|
|
3450
|
+
chunksSort?: string | undefined;
|
|
3451
|
+
assetsSort?: string | undefined;
|
|
3452
|
+
performance?: boolean | undefined;
|
|
3453
|
+
env?: boolean | undefined;
|
|
3454
|
+
chunkGroupAuxiliary?: boolean | undefined;
|
|
3455
|
+
chunkGroupChildren?: boolean | undefined;
|
|
3456
|
+
chunkGroupMaxAssets?: number | undefined;
|
|
3457
|
+
dependentModules?: boolean | undefined;
|
|
3458
|
+
chunkOrigins?: boolean | undefined;
|
|
3459
|
+
runtime?: boolean | undefined;
|
|
3460
|
+
depth?: boolean | undefined;
|
|
3461
|
+
reasonsSpace?: number | undefined;
|
|
3462
|
+
groupReasonsByOrigin?: boolean | undefined;
|
|
3463
|
+
errorDetails?: boolean | undefined;
|
|
3464
|
+
errorStack?: boolean | undefined;
|
|
3465
|
+
moduleTrace?: boolean | undefined;
|
|
3466
|
+
cachedModules?: boolean | undefined;
|
|
3467
|
+
cachedAssets?: boolean | undefined;
|
|
3468
|
+
cached?: boolean | undefined;
|
|
3469
|
+
errorsSpace?: number | undefined;
|
|
3470
|
+
warningsSpace?: number | undefined;
|
|
3471
|
+
}>]>;
|
|
3472
|
+
export type StatsValue = z.infer<typeof statsValue>;
|
|
4618
3473
|
declare const rspackFutureOptions: z.ZodObject<{
|
|
4619
3474
|
bundlerInfo: z.ZodOptional<z.ZodObject<{
|
|
4620
3475
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -6111,16 +4966,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6111
4966
|
issuer: string;
|
|
6112
4967
|
}>>;
|
|
6113
4968
|
}, "strict", z.ZodTypeAny, {
|
|
4969
|
+
request?: string | undefined;
|
|
6114
4970
|
context?: string | undefined;
|
|
6115
4971
|
dependencyType?: string | undefined;
|
|
6116
|
-
request?: string | undefined;
|
|
6117
4972
|
contextInfo?: {
|
|
6118
4973
|
issuer: string;
|
|
6119
4974
|
} | undefined;
|
|
6120
4975
|
}, {
|
|
4976
|
+
request?: string | undefined;
|
|
6121
4977
|
context?: string | undefined;
|
|
6122
4978
|
dependencyType?: string | undefined;
|
|
6123
|
-
request?: string | undefined;
|
|
6124
4979
|
contextInfo?: {
|
|
6125
4980
|
issuer: string;
|
|
6126
4981
|
} | undefined;
|
|
@@ -6136,16 +4991,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6136
4991
|
issuer: string;
|
|
6137
4992
|
}>>;
|
|
6138
4993
|
}, "strict", z.ZodTypeAny, {
|
|
4994
|
+
request?: string | undefined;
|
|
6139
4995
|
context?: string | undefined;
|
|
6140
4996
|
dependencyType?: string | undefined;
|
|
6141
|
-
request?: string | undefined;
|
|
6142
4997
|
contextInfo?: {
|
|
6143
4998
|
issuer: string;
|
|
6144
4999
|
} | undefined;
|
|
6145
5000
|
}, {
|
|
5001
|
+
request?: string | undefined;
|
|
6146
5002
|
context?: string | undefined;
|
|
6147
5003
|
dependencyType?: string | undefined;
|
|
6148
|
-
request?: string | undefined;
|
|
6149
5004
|
contextInfo?: {
|
|
6150
5005
|
issuer: string;
|
|
6151
5006
|
} | undefined;
|
|
@@ -6161,16 +5016,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6161
5016
|
issuer: string;
|
|
6162
5017
|
}>>;
|
|
6163
5018
|
}, "strict", z.ZodTypeAny, {
|
|
5019
|
+
request?: string | undefined;
|
|
6164
5020
|
context?: string | undefined;
|
|
6165
5021
|
dependencyType?: string | undefined;
|
|
6166
|
-
request?: string | undefined;
|
|
6167
5022
|
contextInfo?: {
|
|
6168
5023
|
issuer: string;
|
|
6169
5024
|
} | undefined;
|
|
6170
5025
|
}, {
|
|
5026
|
+
request?: string | undefined;
|
|
6171
5027
|
context?: string | undefined;
|
|
6172
5028
|
dependencyType?: string | undefined;
|
|
6173
|
-
request?: string | undefined;
|
|
6174
5029
|
contextInfo?: {
|
|
6175
5030
|
issuer: string;
|
|
6176
5031
|
} | undefined;
|
|
@@ -6186,16 +5041,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6186
5041
|
issuer: string;
|
|
6187
5042
|
}>>;
|
|
6188
5043
|
}, "strict", z.ZodTypeAny, {
|
|
5044
|
+
request?: string | undefined;
|
|
6189
5045
|
context?: string | undefined;
|
|
6190
5046
|
dependencyType?: string | undefined;
|
|
6191
|
-
request?: string | undefined;
|
|
6192
5047
|
contextInfo?: {
|
|
6193
5048
|
issuer: string;
|
|
6194
5049
|
} | undefined;
|
|
6195
5050
|
}, {
|
|
5051
|
+
request?: string | undefined;
|
|
6196
5052
|
context?: string | undefined;
|
|
6197
5053
|
dependencyType?: string | undefined;
|
|
6198
|
-
request?: string | undefined;
|
|
6199
5054
|
contextInfo?: {
|
|
6200
5055
|
issuer: string;
|
|
6201
5056
|
} | undefined;
|
|
@@ -6370,11 +5225,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6370
5225
|
source?: boolean | undefined;
|
|
6371
5226
|
publicPath?: boolean | undefined;
|
|
6372
5227
|
all?: boolean | undefined;
|
|
6373
|
-
chunks?: boolean | undefined;
|
|
6374
|
-
usedExports?: boolean | undefined;
|
|
6375
|
-
providedExports?: boolean | undefined;
|
|
6376
5228
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
6377
5229
|
assets?: boolean | undefined;
|
|
5230
|
+
chunks?: boolean | undefined;
|
|
6378
5231
|
modules?: boolean | undefined;
|
|
6379
5232
|
entrypoints?: boolean | "auto" | undefined;
|
|
6380
5233
|
chunkGroups?: boolean | undefined;
|
|
@@ -6399,6 +5252,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6399
5252
|
loggingTrace?: boolean | undefined;
|
|
6400
5253
|
runtimeModules?: boolean | undefined;
|
|
6401
5254
|
children?: boolean | undefined;
|
|
5255
|
+
usedExports?: boolean | undefined;
|
|
5256
|
+
providedExports?: boolean | undefined;
|
|
6402
5257
|
optimizationBailout?: boolean | undefined;
|
|
6403
5258
|
groupModulesByType?: boolean | undefined;
|
|
6404
5259
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -6447,11 +5302,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6447
5302
|
source?: boolean | undefined;
|
|
6448
5303
|
publicPath?: boolean | undefined;
|
|
6449
5304
|
all?: boolean | undefined;
|
|
6450
|
-
chunks?: boolean | undefined;
|
|
6451
|
-
usedExports?: boolean | undefined;
|
|
6452
|
-
providedExports?: boolean | undefined;
|
|
6453
5305
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
6454
5306
|
assets?: boolean | undefined;
|
|
5307
|
+
chunks?: boolean | undefined;
|
|
6455
5308
|
modules?: boolean | undefined;
|
|
6456
5309
|
entrypoints?: boolean | "auto" | undefined;
|
|
6457
5310
|
chunkGroups?: boolean | undefined;
|
|
@@ -6476,6 +5329,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6476
5329
|
loggingTrace?: boolean | undefined;
|
|
6477
5330
|
runtimeModules?: boolean | undefined;
|
|
6478
5331
|
children?: boolean | undefined;
|
|
5332
|
+
usedExports?: boolean | undefined;
|
|
5333
|
+
providedExports?: boolean | undefined;
|
|
6479
5334
|
optimizationBailout?: boolean | undefined;
|
|
6480
5335
|
groupModulesByType?: boolean | undefined;
|
|
6481
5336
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -6526,7 +5381,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6526
5381
|
moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
|
|
6527
5382
|
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
|
|
6528
5383
|
minimize: z.ZodOptional<z.ZodBoolean>;
|
|
6529
|
-
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance |
|
|
5384
|
+
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction, z.ZodTypeDef, t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
|
|
6530
5385
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
6531
5386
|
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
6532
5387
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
@@ -6562,40 +5417,40 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6562
5417
|
type: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>>;
|
|
6563
5418
|
idHint: z.ZodOptional<z.ZodString>;
|
|
6564
5419
|
}, "strict", z.ZodTypeAny, {
|
|
5420
|
+
type?: string | RegExp | undefined;
|
|
6565
5421
|
filename?: string | undefined;
|
|
6566
5422
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6567
5423
|
priority?: number | undefined;
|
|
6568
|
-
|
|
5424
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5425
|
+
usedExports?: boolean | undefined;
|
|
6569
5426
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6570
5427
|
enforce?: boolean | undefined;
|
|
5428
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6571
5429
|
reuseExistingChunk?: boolean | undefined;
|
|
6572
5430
|
idHint?: string | undefined;
|
|
6573
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6574
5431
|
defaultSizeTypes?: string[] | undefined;
|
|
6575
5432
|
minChunks?: number | undefined;
|
|
6576
|
-
usedExports?: boolean | undefined;
|
|
6577
5433
|
minSize?: number | Record<string, number> | undefined;
|
|
6578
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6579
5434
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6580
5435
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6581
5436
|
maxAsyncRequests?: number | undefined;
|
|
6582
5437
|
maxInitialRequests?: number | undefined;
|
|
6583
5438
|
automaticNameDelimiter?: string | undefined;
|
|
6584
5439
|
}, {
|
|
5440
|
+
type?: string | RegExp | undefined;
|
|
6585
5441
|
filename?: string | undefined;
|
|
6586
5442
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6587
5443
|
priority?: number | undefined;
|
|
6588
|
-
|
|
5444
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5445
|
+
usedExports?: boolean | undefined;
|
|
6589
5446
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6590
5447
|
enforce?: boolean | undefined;
|
|
5448
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6591
5449
|
reuseExistingChunk?: boolean | undefined;
|
|
6592
5450
|
idHint?: string | undefined;
|
|
6593
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6594
5451
|
defaultSizeTypes?: string[] | undefined;
|
|
6595
5452
|
minChunks?: number | undefined;
|
|
6596
|
-
usedExports?: boolean | undefined;
|
|
6597
5453
|
minSize?: number | Record<string, number> | undefined;
|
|
6598
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6599
5454
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6600
5455
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6601
5456
|
maxAsyncRequests?: number | undefined;
|
|
@@ -6610,16 +5465,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6610
5465
|
maxInitialSize: z.ZodOptional<z.ZodNumber>;
|
|
6611
5466
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
|
6612
5467
|
}, "strict", z.ZodTypeAny, {
|
|
6613
|
-
chunks?: RegExp | "
|
|
6614
|
-
minSize?: number | undefined;
|
|
5468
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6615
5469
|
maxSize?: number | undefined;
|
|
5470
|
+
minSize?: number | undefined;
|
|
6616
5471
|
maxAsyncSize?: number | undefined;
|
|
6617
5472
|
maxInitialSize?: number | undefined;
|
|
6618
5473
|
automaticNameDelimiter?: string | undefined;
|
|
6619
5474
|
}, {
|
|
6620
|
-
chunks?: RegExp | "
|
|
6621
|
-
minSize?: number | undefined;
|
|
5475
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6622
5476
|
maxSize?: number | undefined;
|
|
5477
|
+
minSize?: number | undefined;
|
|
6623
5478
|
maxAsyncSize?: number | undefined;
|
|
6624
5479
|
maxInitialSize?: number | undefined;
|
|
6625
5480
|
automaticNameDelimiter?: string | undefined;
|
|
@@ -6627,32 +5482,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6627
5482
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
|
6628
5483
|
}, "strict", z.ZodTypeAny, {
|
|
6629
5484
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6630
|
-
chunks?: RegExp | "
|
|
5485
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5486
|
+
usedExports?: boolean | undefined;
|
|
5487
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6631
5488
|
defaultSizeTypes?: string[] | undefined;
|
|
6632
5489
|
minChunks?: number | undefined;
|
|
6633
|
-
usedExports?: boolean | undefined;
|
|
6634
5490
|
minSize?: number | Record<string, number> | undefined;
|
|
6635
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6636
5491
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6637
5492
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6638
5493
|
maxAsyncRequests?: number | undefined;
|
|
6639
5494
|
maxInitialRequests?: number | undefined;
|
|
6640
5495
|
automaticNameDelimiter?: string | undefined;
|
|
6641
5496
|
cacheGroups?: Record<string, false | {
|
|
5497
|
+
type?: string | RegExp | undefined;
|
|
6642
5498
|
filename?: string | undefined;
|
|
6643
5499
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6644
5500
|
priority?: number | undefined;
|
|
6645
|
-
|
|
5501
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5502
|
+
usedExports?: boolean | undefined;
|
|
6646
5503
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6647
5504
|
enforce?: boolean | undefined;
|
|
5505
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6648
5506
|
reuseExistingChunk?: boolean | undefined;
|
|
6649
5507
|
idHint?: string | undefined;
|
|
6650
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6651
5508
|
defaultSizeTypes?: string[] | undefined;
|
|
6652
5509
|
minChunks?: number | undefined;
|
|
6653
|
-
usedExports?: boolean | undefined;
|
|
6654
5510
|
minSize?: number | Record<string, number> | undefined;
|
|
6655
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6656
5511
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6657
5512
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6658
5513
|
maxAsyncRequests?: number | undefined;
|
|
@@ -6660,9 +5515,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6660
5515
|
automaticNameDelimiter?: string | undefined;
|
|
6661
5516
|
}> | undefined;
|
|
6662
5517
|
fallbackCacheGroup?: {
|
|
6663
|
-
chunks?: RegExp | "
|
|
6664
|
-
minSize?: number | undefined;
|
|
5518
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6665
5519
|
maxSize?: number | undefined;
|
|
5520
|
+
minSize?: number | undefined;
|
|
6666
5521
|
maxAsyncSize?: number | undefined;
|
|
6667
5522
|
maxInitialSize?: number | undefined;
|
|
6668
5523
|
automaticNameDelimiter?: string | undefined;
|
|
@@ -6670,32 +5525,32 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6670
5525
|
hidePathInfo?: boolean | undefined;
|
|
6671
5526
|
}, {
|
|
6672
5527
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6673
|
-
chunks?: RegExp | "
|
|
5528
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5529
|
+
usedExports?: boolean | undefined;
|
|
5530
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6674
5531
|
defaultSizeTypes?: string[] | undefined;
|
|
6675
5532
|
minChunks?: number | undefined;
|
|
6676
|
-
usedExports?: boolean | undefined;
|
|
6677
5533
|
minSize?: number | Record<string, number> | undefined;
|
|
6678
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6679
5534
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6680
5535
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6681
5536
|
maxAsyncRequests?: number | undefined;
|
|
6682
5537
|
maxInitialRequests?: number | undefined;
|
|
6683
5538
|
automaticNameDelimiter?: string | undefined;
|
|
6684
5539
|
cacheGroups?: Record<string, false | {
|
|
5540
|
+
type?: string | RegExp | undefined;
|
|
6685
5541
|
filename?: string | undefined;
|
|
6686
5542
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6687
5543
|
priority?: number | undefined;
|
|
6688
|
-
|
|
5544
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5545
|
+
usedExports?: boolean | undefined;
|
|
6689
5546
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6690
5547
|
enforce?: boolean | undefined;
|
|
5548
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6691
5549
|
reuseExistingChunk?: boolean | undefined;
|
|
6692
5550
|
idHint?: string | undefined;
|
|
6693
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6694
5551
|
defaultSizeTypes?: string[] | undefined;
|
|
6695
5552
|
minChunks?: number | undefined;
|
|
6696
|
-
usedExports?: boolean | undefined;
|
|
6697
5553
|
minSize?: number | Record<string, number> | undefined;
|
|
6698
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6699
5554
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6700
5555
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6701
5556
|
maxAsyncRequests?: number | undefined;
|
|
@@ -6703,9 +5558,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6703
5558
|
automaticNameDelimiter?: string | undefined;
|
|
6704
5559
|
}> | undefined;
|
|
6705
5560
|
fallbackCacheGroup?: {
|
|
6706
|
-
chunks?: RegExp | "
|
|
6707
|
-
minSize?: number | undefined;
|
|
5561
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6708
5562
|
maxSize?: number | undefined;
|
|
5563
|
+
minSize?: number | undefined;
|
|
6709
5564
|
maxAsyncSize?: number | undefined;
|
|
6710
5565
|
maxInitialSize?: number | undefined;
|
|
6711
5566
|
automaticNameDelimiter?: string | undefined;
|
|
@@ -6741,40 +5596,34 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6741
5596
|
nodeEnv: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<false>]>>;
|
|
6742
5597
|
emitOnErrors: z.ZodOptional<z.ZodBoolean>;
|
|
6743
5598
|
}, "strict", z.ZodTypeAny, {
|
|
6744
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
6745
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
6746
|
-
minimize?: boolean | undefined;
|
|
6747
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
6748
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
6749
|
-
usedExports?: boolean | "global" | undefined;
|
|
6750
5599
|
splitChunks?: false | {
|
|
6751
5600
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6752
|
-
chunks?: RegExp | "
|
|
5601
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5602
|
+
usedExports?: boolean | undefined;
|
|
5603
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6753
5604
|
defaultSizeTypes?: string[] | undefined;
|
|
6754
5605
|
minChunks?: number | undefined;
|
|
6755
|
-
usedExports?: boolean | undefined;
|
|
6756
5606
|
minSize?: number | Record<string, number> | undefined;
|
|
6757
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6758
5607
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6759
5608
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6760
5609
|
maxAsyncRequests?: number | undefined;
|
|
6761
5610
|
maxInitialRequests?: number | undefined;
|
|
6762
5611
|
automaticNameDelimiter?: string | undefined;
|
|
6763
5612
|
cacheGroups?: Record<string, false | {
|
|
5613
|
+
type?: string | RegExp | undefined;
|
|
6764
5614
|
filename?: string | undefined;
|
|
6765
5615
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6766
5616
|
priority?: number | undefined;
|
|
6767
|
-
|
|
5617
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5618
|
+
usedExports?: boolean | undefined;
|
|
6768
5619
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6769
5620
|
enforce?: boolean | undefined;
|
|
5621
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6770
5622
|
reuseExistingChunk?: boolean | undefined;
|
|
6771
5623
|
idHint?: string | undefined;
|
|
6772
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6773
5624
|
defaultSizeTypes?: string[] | undefined;
|
|
6774
5625
|
minChunks?: number | undefined;
|
|
6775
|
-
usedExports?: boolean | undefined;
|
|
6776
5626
|
minSize?: number | Record<string, number> | undefined;
|
|
6777
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6778
5627
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6779
5628
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6780
5629
|
maxAsyncRequests?: number | undefined;
|
|
@@ -6782,15 +5631,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6782
5631
|
automaticNameDelimiter?: string | undefined;
|
|
6783
5632
|
}> | undefined;
|
|
6784
5633
|
fallbackCacheGroup?: {
|
|
6785
|
-
chunks?: RegExp | "
|
|
6786
|
-
minSize?: number | undefined;
|
|
5634
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6787
5635
|
maxSize?: number | undefined;
|
|
5636
|
+
minSize?: number | undefined;
|
|
6788
5637
|
maxAsyncSize?: number | undefined;
|
|
6789
5638
|
maxInitialSize?: number | undefined;
|
|
6790
5639
|
automaticNameDelimiter?: string | undefined;
|
|
6791
5640
|
} | undefined;
|
|
6792
5641
|
hidePathInfo?: boolean | undefined;
|
|
6793
5642
|
} | undefined;
|
|
5643
|
+
usedExports?: boolean | "global" | undefined;
|
|
5644
|
+
providedExports?: boolean | undefined;
|
|
5645
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
5646
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5647
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5648
|
+
minimize?: boolean | undefined;
|
|
5649
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5650
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
6794
5651
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
6795
5652
|
name?: string | ((args_0: {
|
|
6796
5653
|
name: string;
|
|
@@ -6799,48 +5656,40 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6799
5656
|
removeAvailableModules?: boolean | undefined;
|
|
6800
5657
|
removeEmptyChunks?: boolean | undefined;
|
|
6801
5658
|
realContentHash?: boolean | undefined;
|
|
6802
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
6803
|
-
providedExports?: boolean | undefined;
|
|
6804
5659
|
concatenateModules?: boolean | undefined;
|
|
6805
5660
|
innerGraph?: boolean | undefined;
|
|
6806
5661
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
6807
5662
|
nodeEnv?: string | false | undefined;
|
|
6808
5663
|
emitOnErrors?: boolean | undefined;
|
|
6809
5664
|
}, {
|
|
6810
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
6811
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
6812
|
-
minimize?: boolean | undefined;
|
|
6813
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
6814
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
6815
|
-
usedExports?: boolean | "global" | undefined;
|
|
6816
5665
|
splitChunks?: false | {
|
|
6817
5666
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6818
|
-
chunks?: RegExp | "
|
|
5667
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5668
|
+
usedExports?: boolean | undefined;
|
|
5669
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6819
5670
|
defaultSizeTypes?: string[] | undefined;
|
|
6820
5671
|
minChunks?: number | undefined;
|
|
6821
|
-
usedExports?: boolean | undefined;
|
|
6822
5672
|
minSize?: number | Record<string, number> | undefined;
|
|
6823
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6824
5673
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6825
5674
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6826
5675
|
maxAsyncRequests?: number | undefined;
|
|
6827
5676
|
maxInitialRequests?: number | undefined;
|
|
6828
5677
|
automaticNameDelimiter?: string | undefined;
|
|
6829
5678
|
cacheGroups?: Record<string, false | {
|
|
5679
|
+
type?: string | RegExp | undefined;
|
|
6830
5680
|
filename?: string | undefined;
|
|
6831
5681
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
6832
5682
|
priority?: number | undefined;
|
|
6833
|
-
|
|
5683
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
5684
|
+
usedExports?: boolean | undefined;
|
|
6834
5685
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
6835
5686
|
enforce?: boolean | undefined;
|
|
5687
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
6836
5688
|
reuseExistingChunk?: boolean | undefined;
|
|
6837
5689
|
idHint?: string | undefined;
|
|
6838
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6839
5690
|
defaultSizeTypes?: string[] | undefined;
|
|
6840
5691
|
minChunks?: number | undefined;
|
|
6841
|
-
usedExports?: boolean | undefined;
|
|
6842
5692
|
minSize?: number | Record<string, number> | undefined;
|
|
6843
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
6844
5693
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
6845
5694
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
6846
5695
|
maxAsyncRequests?: number | undefined;
|
|
@@ -6848,15 +5697,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6848
5697
|
automaticNameDelimiter?: string | undefined;
|
|
6849
5698
|
}> | undefined;
|
|
6850
5699
|
fallbackCacheGroup?: {
|
|
6851
|
-
chunks?: RegExp | "
|
|
6852
|
-
minSize?: number | undefined;
|
|
5700
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
6853
5701
|
maxSize?: number | undefined;
|
|
5702
|
+
minSize?: number | undefined;
|
|
6854
5703
|
maxAsyncSize?: number | undefined;
|
|
6855
5704
|
maxInitialSize?: number | undefined;
|
|
6856
5705
|
automaticNameDelimiter?: string | undefined;
|
|
6857
5706
|
} | undefined;
|
|
6858
5707
|
hidePathInfo?: boolean | undefined;
|
|
6859
5708
|
} | undefined;
|
|
5709
|
+
usedExports?: boolean | "global" | undefined;
|
|
5710
|
+
providedExports?: boolean | undefined;
|
|
5711
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
5712
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5713
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5714
|
+
minimize?: boolean | undefined;
|
|
5715
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5716
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
6860
5717
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
6861
5718
|
name?: string | ((args_0: {
|
|
6862
5719
|
name: string;
|
|
@@ -6865,8 +5722,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6865
5722
|
removeAvailableModules?: boolean | undefined;
|
|
6866
5723
|
removeEmptyChunks?: boolean | undefined;
|
|
6867
5724
|
realContentHash?: boolean | undefined;
|
|
6868
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
6869
|
-
providedExports?: boolean | undefined;
|
|
6870
5725
|
concatenateModules?: boolean | undefined;
|
|
6871
5726
|
innerGraph?: boolean | undefined;
|
|
6872
5727
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
@@ -6875,7 +5730,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6875
5730
|
}>>;
|
|
6876
5731
|
resolve: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
6877
5732
|
resolveLoader: z.ZodOptional<z.ZodType<t.ResolveOptions, z.ZodTypeDef, t.ResolveOptions>>;
|
|
6878
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance |
|
|
5733
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction, z.ZodTypeDef, t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
6879
5734
|
devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
|
|
6880
5735
|
module: z.ZodOptional<z.ZodObject<{
|
|
6881
5736
|
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">>;
|
|
@@ -7878,6 +6733,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7878
6733
|
maxEntrypointSize?: number | undefined;
|
|
7879
6734
|
}>, z.ZodLiteral<false>]>>;
|
|
7880
6735
|
}, "strict", z.ZodTypeAny, {
|
|
6736
|
+
context?: string | undefined;
|
|
6737
|
+
dependencies?: string[] | undefined;
|
|
7881
6738
|
module?: {
|
|
7882
6739
|
parser?: {
|
|
7883
6740
|
javascript?: {
|
|
@@ -8023,9 +6880,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8023
6880
|
defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
8024
6881
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
8025
6882
|
} | undefined;
|
|
8026
|
-
dependencies?: string[] | undefined;
|
|
8027
6883
|
name?: string | undefined;
|
|
8028
|
-
context?: string | undefined;
|
|
8029
6884
|
performance?: false | {
|
|
8030
6885
|
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
8031
6886
|
hints?: false | "error" | "warning" | undefined;
|
|
@@ -8268,30 +7123,30 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8268
7123
|
} | undefined;
|
|
8269
7124
|
} | undefined;
|
|
8270
7125
|
externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
7126
|
+
request?: string | undefined;
|
|
8271
7127
|
context?: string | undefined;
|
|
8272
7128
|
dependencyType?: string | undefined;
|
|
8273
|
-
request?: string | undefined;
|
|
8274
7129
|
contextInfo?: {
|
|
8275
7130
|
issuer: string;
|
|
8276
7131
|
} | undefined;
|
|
8277
7132
|
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7133
|
+
request?: string | undefined;
|
|
8278
7134
|
context?: string | undefined;
|
|
8279
7135
|
dependencyType?: string | undefined;
|
|
8280
|
-
request?: string | undefined;
|
|
8281
7136
|
contextInfo?: {
|
|
8282
7137
|
issuer: string;
|
|
8283
7138
|
} | undefined;
|
|
8284
7139
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
7140
|
+
request?: string | undefined;
|
|
8285
7141
|
context?: string | undefined;
|
|
8286
7142
|
dependencyType?: string | undefined;
|
|
8287
|
-
request?: string | undefined;
|
|
8288
7143
|
contextInfo?: {
|
|
8289
7144
|
issuer: string;
|
|
8290
7145
|
} | undefined;
|
|
8291
7146
|
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7147
|
+
request?: string | undefined;
|
|
8292
7148
|
context?: string | undefined;
|
|
8293
7149
|
dependencyType?: string | undefined;
|
|
8294
|
-
request?: string | undefined;
|
|
8295
7150
|
contextInfo?: {
|
|
8296
7151
|
issuer: string;
|
|
8297
7152
|
} | undefined;
|
|
@@ -8329,11 +7184,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8329
7184
|
source?: boolean | undefined;
|
|
8330
7185
|
publicPath?: boolean | undefined;
|
|
8331
7186
|
all?: boolean | undefined;
|
|
8332
|
-
chunks?: boolean | undefined;
|
|
8333
|
-
usedExports?: boolean | undefined;
|
|
8334
|
-
providedExports?: boolean | undefined;
|
|
8335
7187
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
8336
7188
|
assets?: boolean | undefined;
|
|
7189
|
+
chunks?: boolean | undefined;
|
|
8337
7190
|
modules?: boolean | undefined;
|
|
8338
7191
|
entrypoints?: boolean | "auto" | undefined;
|
|
8339
7192
|
chunkGroups?: boolean | undefined;
|
|
@@ -8358,6 +7211,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8358
7211
|
loggingTrace?: boolean | undefined;
|
|
8359
7212
|
runtimeModules?: boolean | undefined;
|
|
8360
7213
|
children?: boolean | undefined;
|
|
7214
|
+
usedExports?: boolean | undefined;
|
|
7215
|
+
providedExports?: boolean | undefined;
|
|
8361
7216
|
optimizationBailout?: boolean | undefined;
|
|
8362
7217
|
groupModulesByType?: boolean | undefined;
|
|
8363
7218
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -8405,40 +7260,34 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8405
7260
|
} | undefined;
|
|
8406
7261
|
snapshot?: {} | undefined;
|
|
8407
7262
|
optimization?: {
|
|
8408
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
8409
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
8410
|
-
minimize?: boolean | undefined;
|
|
8411
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
8412
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
8413
|
-
usedExports?: boolean | "global" | undefined;
|
|
8414
7263
|
splitChunks?: false | {
|
|
8415
7264
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
8416
|
-
chunks?: RegExp | "
|
|
7265
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7266
|
+
usedExports?: boolean | undefined;
|
|
7267
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
8417
7268
|
defaultSizeTypes?: string[] | undefined;
|
|
8418
7269
|
minChunks?: number | undefined;
|
|
8419
|
-
usedExports?: boolean | undefined;
|
|
8420
7270
|
minSize?: number | Record<string, number> | undefined;
|
|
8421
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
8422
7271
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
8423
7272
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
8424
7273
|
maxAsyncRequests?: number | undefined;
|
|
8425
7274
|
maxInitialRequests?: number | undefined;
|
|
8426
7275
|
automaticNameDelimiter?: string | undefined;
|
|
8427
7276
|
cacheGroups?: Record<string, false | {
|
|
7277
|
+
type?: string | RegExp | undefined;
|
|
8428
7278
|
filename?: string | undefined;
|
|
8429
7279
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
8430
7280
|
priority?: number | undefined;
|
|
8431
|
-
|
|
7281
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7282
|
+
usedExports?: boolean | undefined;
|
|
8432
7283
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
8433
7284
|
enforce?: boolean | undefined;
|
|
7285
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
8434
7286
|
reuseExistingChunk?: boolean | undefined;
|
|
8435
7287
|
idHint?: string | undefined;
|
|
8436
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
8437
7288
|
defaultSizeTypes?: string[] | undefined;
|
|
8438
7289
|
minChunks?: number | undefined;
|
|
8439
|
-
usedExports?: boolean | undefined;
|
|
8440
7290
|
minSize?: number | Record<string, number> | undefined;
|
|
8441
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
8442
7291
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
8443
7292
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
8444
7293
|
maxAsyncRequests?: number | undefined;
|
|
@@ -8446,15 +7295,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8446
7295
|
automaticNameDelimiter?: string | undefined;
|
|
8447
7296
|
}> | undefined;
|
|
8448
7297
|
fallbackCacheGroup?: {
|
|
8449
|
-
chunks?: RegExp | "
|
|
8450
|
-
minSize?: number | undefined;
|
|
7298
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
8451
7299
|
maxSize?: number | undefined;
|
|
7300
|
+
minSize?: number | undefined;
|
|
8452
7301
|
maxAsyncSize?: number | undefined;
|
|
8453
7302
|
maxInitialSize?: number | undefined;
|
|
8454
7303
|
automaticNameDelimiter?: string | undefined;
|
|
8455
7304
|
} | undefined;
|
|
8456
7305
|
hidePathInfo?: boolean | undefined;
|
|
8457
7306
|
} | undefined;
|
|
7307
|
+
usedExports?: boolean | "global" | undefined;
|
|
7308
|
+
providedExports?: boolean | undefined;
|
|
7309
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
7310
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7311
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7312
|
+
minimize?: boolean | undefined;
|
|
7313
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7314
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
8458
7315
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
8459
7316
|
name?: string | ((args_0: {
|
|
8460
7317
|
name: string;
|
|
@@ -8463,8 +7320,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8463
7320
|
removeAvailableModules?: boolean | undefined;
|
|
8464
7321
|
removeEmptyChunks?: boolean | undefined;
|
|
8465
7322
|
realContentHash?: boolean | undefined;
|
|
8466
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
8467
|
-
providedExports?: boolean | undefined;
|
|
8468
7323
|
concatenateModules?: boolean | undefined;
|
|
8469
7324
|
innerGraph?: boolean | undefined;
|
|
8470
7325
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
@@ -8472,10 +7327,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8472
7327
|
emitOnErrors?: boolean | undefined;
|
|
8473
7328
|
} | undefined;
|
|
8474
7329
|
resolveLoader?: t.ResolveOptions | undefined;
|
|
8475
|
-
plugins?: (false | "" | 0 | RspackPluginInstance |
|
|
7330
|
+
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
8476
7331
|
devServer?: DevServer | undefined;
|
|
8477
7332
|
bail?: boolean | undefined;
|
|
8478
7333
|
}, {
|
|
7334
|
+
context?: string | undefined;
|
|
7335
|
+
dependencies?: string[] | undefined;
|
|
8479
7336
|
module?: {
|
|
8480
7337
|
parser?: {
|
|
8481
7338
|
javascript?: {
|
|
@@ -8621,9 +7478,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8621
7478
|
defaultRules?: (false | "" | 0 | "..." | RuleSetRule | null | undefined)[] | undefined;
|
|
8622
7479
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
8623
7480
|
} | undefined;
|
|
8624
|
-
dependencies?: string[] | undefined;
|
|
8625
7481
|
name?: string | undefined;
|
|
8626
|
-
context?: string | undefined;
|
|
8627
7482
|
performance?: false | {
|
|
8628
7483
|
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
8629
7484
|
hints?: false | "error" | "warning" | undefined;
|
|
@@ -8866,30 +7721,30 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8866
7721
|
} | undefined;
|
|
8867
7722
|
} | undefined;
|
|
8868
7723
|
externals?: string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
7724
|
+
request?: string | undefined;
|
|
8869
7725
|
context?: string | undefined;
|
|
8870
7726
|
dependencyType?: string | undefined;
|
|
8871
|
-
request?: string | undefined;
|
|
8872
7727
|
contextInfo?: {
|
|
8873
7728
|
issuer: string;
|
|
8874
7729
|
} | undefined;
|
|
8875
7730
|
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7731
|
+
request?: string | undefined;
|
|
8876
7732
|
context?: string | undefined;
|
|
8877
7733
|
dependencyType?: string | undefined;
|
|
8878
|
-
request?: string | undefined;
|
|
8879
7734
|
contextInfo?: {
|
|
8880
7735
|
issuer: string;
|
|
8881
7736
|
} | undefined;
|
|
8882
7737
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>) | (string | RegExp | Record<string, string | boolean | string[] | Record<string, string | string[]>> | ((args_0: {
|
|
7738
|
+
request?: string | undefined;
|
|
8883
7739
|
context?: string | undefined;
|
|
8884
7740
|
dependencyType?: string | undefined;
|
|
8885
|
-
request?: string | undefined;
|
|
8886
7741
|
contextInfo?: {
|
|
8887
7742
|
issuer: string;
|
|
8888
7743
|
} | undefined;
|
|
8889
7744
|
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "module" | "global" | "system" | "promise" | "commonjs" | "umd" | "amd" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd2" | "module-import" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
7745
|
+
request?: string | undefined;
|
|
8890
7746
|
context?: string | undefined;
|
|
8891
7747
|
dependencyType?: string | undefined;
|
|
8892
|
-
request?: string | undefined;
|
|
8893
7748
|
contextInfo?: {
|
|
8894
7749
|
issuer: string;
|
|
8895
7750
|
} | undefined;
|
|
@@ -8927,11 +7782,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8927
7782
|
source?: boolean | undefined;
|
|
8928
7783
|
publicPath?: boolean | undefined;
|
|
8929
7784
|
all?: boolean | undefined;
|
|
8930
|
-
chunks?: boolean | undefined;
|
|
8931
|
-
usedExports?: boolean | undefined;
|
|
8932
|
-
providedExports?: boolean | undefined;
|
|
8933
7785
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
8934
7786
|
assets?: boolean | undefined;
|
|
7787
|
+
chunks?: boolean | undefined;
|
|
8935
7788
|
modules?: boolean | undefined;
|
|
8936
7789
|
entrypoints?: boolean | "auto" | undefined;
|
|
8937
7790
|
chunkGroups?: boolean | undefined;
|
|
@@ -8956,6 +7809,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8956
7809
|
loggingTrace?: boolean | undefined;
|
|
8957
7810
|
runtimeModules?: boolean | undefined;
|
|
8958
7811
|
children?: boolean | undefined;
|
|
7812
|
+
usedExports?: boolean | undefined;
|
|
7813
|
+
providedExports?: boolean | undefined;
|
|
8959
7814
|
optimizationBailout?: boolean | undefined;
|
|
8960
7815
|
groupModulesByType?: boolean | undefined;
|
|
8961
7816
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
@@ -9003,40 +7858,34 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9003
7858
|
} | undefined;
|
|
9004
7859
|
snapshot?: {} | undefined;
|
|
9005
7860
|
optimization?: {
|
|
9006
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
9007
|
-
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
9008
|
-
minimize?: boolean | undefined;
|
|
9009
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9010
|
-
mergeDuplicateChunks?: boolean | undefined;
|
|
9011
|
-
usedExports?: boolean | "global" | undefined;
|
|
9012
7861
|
splitChunks?: false | {
|
|
9013
7862
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
9014
|
-
chunks?: RegExp | "
|
|
7863
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7864
|
+
usedExports?: boolean | undefined;
|
|
7865
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
9015
7866
|
defaultSizeTypes?: string[] | undefined;
|
|
9016
7867
|
minChunks?: number | undefined;
|
|
9017
|
-
usedExports?: boolean | undefined;
|
|
9018
7868
|
minSize?: number | Record<string, number> | undefined;
|
|
9019
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
9020
7869
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9021
7870
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
9022
7871
|
maxAsyncRequests?: number | undefined;
|
|
9023
7872
|
maxInitialRequests?: number | undefined;
|
|
9024
7873
|
automaticNameDelimiter?: string | undefined;
|
|
9025
7874
|
cacheGroups?: Record<string, false | {
|
|
7875
|
+
type?: string | RegExp | undefined;
|
|
9026
7876
|
filename?: string | undefined;
|
|
9027
7877
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
9028
7878
|
priority?: number | undefined;
|
|
9029
|
-
|
|
7879
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
7880
|
+
usedExports?: boolean | undefined;
|
|
9030
7881
|
test?: string | RegExp | ((args_0: Module, ...args_1: unknown[]) => unknown) | undefined;
|
|
9031
7882
|
enforce?: boolean | undefined;
|
|
7883
|
+
maxSize?: number | Record<string, number> | undefined;
|
|
9032
7884
|
reuseExistingChunk?: boolean | undefined;
|
|
9033
7885
|
idHint?: string | undefined;
|
|
9034
|
-
chunks?: RegExp | "async" | "initial" | "all" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9035
7886
|
defaultSizeTypes?: string[] | undefined;
|
|
9036
7887
|
minChunks?: number | undefined;
|
|
9037
|
-
usedExports?: boolean | undefined;
|
|
9038
7888
|
minSize?: number | Record<string, number> | undefined;
|
|
9039
|
-
maxSize?: number | Record<string, number> | undefined;
|
|
9040
7889
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
|
9041
7890
|
maxInitialSize?: number | Record<string, number> | undefined;
|
|
9042
7891
|
maxAsyncRequests?: number | undefined;
|
|
@@ -9044,15 +7893,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9044
7893
|
automaticNameDelimiter?: string | undefined;
|
|
9045
7894
|
}> | undefined;
|
|
9046
7895
|
fallbackCacheGroup?: {
|
|
9047
|
-
chunks?: RegExp | "
|
|
9048
|
-
minSize?: number | undefined;
|
|
7896
|
+
chunks?: RegExp | "all" | "async" | "initial" | ((args_0: Chunk, ...args_1: unknown[]) => boolean) | undefined;
|
|
9049
7897
|
maxSize?: number | undefined;
|
|
7898
|
+
minSize?: number | undefined;
|
|
9050
7899
|
maxAsyncSize?: number | undefined;
|
|
9051
7900
|
maxInitialSize?: number | undefined;
|
|
9052
7901
|
automaticNameDelimiter?: string | undefined;
|
|
9053
7902
|
} | undefined;
|
|
9054
7903
|
hidePathInfo?: boolean | undefined;
|
|
9055
7904
|
} | undefined;
|
|
7905
|
+
usedExports?: boolean | "global" | undefined;
|
|
7906
|
+
providedExports?: boolean | undefined;
|
|
7907
|
+
sideEffects?: boolean | "flag" | undefined;
|
|
7908
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7909
|
+
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7910
|
+
minimize?: boolean | undefined;
|
|
7911
|
+
minimizer?: (false | "" | 0 | t.RspackPluginInstance | "..." | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7912
|
+
mergeDuplicateChunks?: boolean | undefined;
|
|
9056
7913
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
|
9057
7914
|
name?: string | ((args_0: {
|
|
9058
7915
|
name: string;
|
|
@@ -9061,8 +7918,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9061
7918
|
removeAvailableModules?: boolean | undefined;
|
|
9062
7919
|
removeEmptyChunks?: boolean | undefined;
|
|
9063
7920
|
realContentHash?: boolean | undefined;
|
|
9064
|
-
sideEffects?: boolean | "flag" | undefined;
|
|
9065
|
-
providedExports?: boolean | undefined;
|
|
9066
7921
|
concatenateModules?: boolean | undefined;
|
|
9067
7922
|
innerGraph?: boolean | undefined;
|
|
9068
7923
|
mangleExports?: boolean | "size" | "deterministic" | undefined;
|
|
@@ -9070,7 +7925,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9070
7925
|
emitOnErrors?: boolean | undefined;
|
|
9071
7926
|
} | undefined;
|
|
9072
7927
|
resolveLoader?: t.ResolveOptions | undefined;
|
|
9073
|
-
plugins?: (false | "" | 0 | RspackPluginInstance |
|
|
7928
|
+
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9074
7929
|
devServer?: DevServer | undefined;
|
|
9075
7930
|
bail?: boolean | undefined;
|
|
9076
7931
|
}>;
|