@rspack/core 1.2.8 → 1.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ChunkGraph.d.ts +4 -5
- package/dist/ChunkGroup.d.ts +1 -1
- package/dist/Compilation.d.ts +2 -2
- package/dist/ConcatenatedModule.d.ts +1 -0
- package/dist/ContextModule.d.ts +1 -0
- package/dist/ExternalModule.d.ts +1 -0
- package/dist/Module.d.ts +15 -51
- package/dist/ModuleGraph.d.ts +1 -1
- package/dist/ModuleGraphConnection.d.ts +1 -1
- package/dist/NormalModule.d.ts +10 -7
- package/dist/Resolver.d.ts +2 -0
- package/dist/Watching.d.ts +1 -1
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +59 -0
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -1
- package/dist/builtin-plugin/index.d.ts +2 -1
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +5 -4
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +4 -0
- package/dist/config/adapterRuleUse.d.ts +1 -1
- package/dist/config/index.d.ts +0 -1
- package/dist/config/types.d.ts +25 -6
- package/dist/config/zod.d.ts +373 -482
- package/dist/container/ModuleFederationPluginV1.d.ts +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/cssExtractLoader.js +1 -1
- package/dist/exports.d.ts +8 -2
- package/dist/index.js +2093 -2267
- package/dist/stats/statsFactoryUtils.d.ts +8 -8
- package/dist/util/MergeCaller.d.ts +1 -0
- package/hot/lazy-compilation-node.js +5 -1
- package/hot/lazy-compilation-web.js +6 -10
- package/package.json +7 -7
- package/dist/DependenciesBlock.d.ts +0 -9
- package/dist/builtin-plugin/lazy-compilation/backend.d.ts +0 -52
- package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +0 -13
package/dist/config/zod.d.ts
CHANGED
@@ -11,6 +11,7 @@ export declare const externalsType: z.ZodEnum<["var", "module", "assign", "this"
|
|
11
11
|
export declare const rspackOptions: z.ZodObject<{
|
12
12
|
name: z.ZodOptional<z.ZodString>;
|
13
13
|
dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
14
|
+
extends: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
14
15
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
15
16
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
16
17
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
@@ -91,7 +92,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
91
92
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
92
93
|
}, "strict", z.ZodTypeAny, {
|
93
94
|
import: string | string[];
|
94
|
-
layer?: string | null | undefined;
|
95
95
|
runtime?: string | false | undefined;
|
96
96
|
chunkLoading?: string | false | undefined;
|
97
97
|
asyncChunks?: boolean | undefined;
|
@@ -115,11 +115,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
115
115
|
export?: string | string[] | undefined;
|
116
116
|
umdNamedDefine?: boolean | undefined;
|
117
117
|
} | undefined;
|
118
|
+
layer?: string | null | undefined;
|
118
119
|
wasmLoading?: string | false | undefined;
|
119
120
|
dependOn?: string | string[] | undefined;
|
120
121
|
}, {
|
121
122
|
import: string | string[];
|
122
|
-
layer?: string | null | undefined;
|
123
123
|
runtime?: string | false | undefined;
|
124
124
|
chunkLoading?: string | false | undefined;
|
125
125
|
asyncChunks?: boolean | undefined;
|
@@ -143,6 +143,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
143
143
|
export?: string | string[] | undefined;
|
144
144
|
umdNamedDefine?: boolean | undefined;
|
145
145
|
} | undefined;
|
146
|
+
layer?: string | null | undefined;
|
146
147
|
wasmLoading?: string | false | undefined;
|
147
148
|
dependOn?: string | string[] | undefined;
|
148
149
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
@@ -225,7 +226,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
225
226
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
226
227
|
}, "strict", z.ZodTypeAny, {
|
227
228
|
import: string | string[];
|
228
|
-
layer?: string | null | undefined;
|
229
229
|
runtime?: string | false | undefined;
|
230
230
|
chunkLoading?: string | false | undefined;
|
231
231
|
asyncChunks?: boolean | undefined;
|
@@ -249,11 +249,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
249
249
|
export?: string | string[] | undefined;
|
250
250
|
umdNamedDefine?: boolean | undefined;
|
251
251
|
} | undefined;
|
252
|
+
layer?: string | null | undefined;
|
252
253
|
wasmLoading?: string | false | undefined;
|
253
254
|
dependOn?: string | string[] | undefined;
|
254
255
|
}, {
|
255
256
|
import: string | string[];
|
256
|
-
layer?: string | null | undefined;
|
257
257
|
runtime?: string | false | undefined;
|
258
258
|
chunkLoading?: string | false | undefined;
|
259
259
|
asyncChunks?: boolean | undefined;
|
@@ -277,6 +277,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
277
277
|
export?: string | string[] | undefined;
|
278
278
|
umdNamedDefine?: boolean | undefined;
|
279
279
|
} | undefined;
|
280
|
+
layer?: string | null | undefined;
|
280
281
|
wasmLoading?: string | false | undefined;
|
281
282
|
dependOn?: string | string[] | undefined;
|
282
283
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>, z.ZodPromise<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
@@ -359,7 +360,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
359
360
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
360
361
|
}, "strict", z.ZodTypeAny, {
|
361
362
|
import: string | string[];
|
362
|
-
layer?: string | null | undefined;
|
363
363
|
runtime?: string | false | undefined;
|
364
364
|
chunkLoading?: string | false | undefined;
|
365
365
|
asyncChunks?: boolean | undefined;
|
@@ -383,11 +383,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
383
383
|
export?: string | string[] | undefined;
|
384
384
|
umdNamedDefine?: boolean | undefined;
|
385
385
|
} | undefined;
|
386
|
+
layer?: string | null | undefined;
|
386
387
|
wasmLoading?: string | false | undefined;
|
387
388
|
dependOn?: string | string[] | undefined;
|
388
389
|
}, {
|
389
390
|
import: string | string[];
|
390
|
-
layer?: string | null | undefined;
|
391
391
|
runtime?: string | false | undefined;
|
392
392
|
chunkLoading?: string | false | undefined;
|
393
393
|
asyncChunks?: boolean | undefined;
|
@@ -411,6 +411,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
411
411
|
export?: string | string[] | undefined;
|
412
412
|
umdNamedDefine?: boolean | undefined;
|
413
413
|
} | undefined;
|
414
|
+
layer?: string | null | undefined;
|
414
415
|
wasmLoading?: string | false | undefined;
|
415
416
|
dependOn?: string | string[] | undefined;
|
416
417
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>]>>;
|
@@ -591,39 +592,38 @@ export declare const rspackOptions: z.ZodObject<{
|
|
591
592
|
templateLiteral: z.ZodOptional<z.ZodBoolean>;
|
592
593
|
}, "strict", z.ZodTypeAny, {
|
593
594
|
module?: boolean | undefined;
|
594
|
-
|
595
|
-
|
596
|
-
globalThis?: boolean | undefined;
|
595
|
+
arrowFunction?: boolean | undefined;
|
596
|
+
asyncFunction?: boolean | undefined;
|
597
597
|
bigIntLiteral?: boolean | undefined;
|
598
598
|
const?: boolean | undefined;
|
599
|
-
arrowFunction?: boolean | undefined;
|
600
|
-
forOf?: boolean | undefined;
|
601
599
|
destructuring?: boolean | undefined;
|
600
|
+
document?: boolean | undefined;
|
602
601
|
dynamicImport?: boolean | undefined;
|
603
602
|
dynamicImportInWorker?: boolean | undefined;
|
603
|
+
forOf?: boolean | undefined;
|
604
|
+
globalThis?: boolean | undefined;
|
605
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
604
606
|
optionalChaining?: boolean | undefined;
|
605
607
|
templateLiteral?: boolean | undefined;
|
606
|
-
asyncFunction?: boolean | undefined;
|
607
608
|
}, {
|
608
609
|
module?: boolean | undefined;
|
609
|
-
|
610
|
-
|
611
|
-
globalThis?: boolean | undefined;
|
610
|
+
arrowFunction?: boolean | undefined;
|
611
|
+
asyncFunction?: boolean | undefined;
|
612
612
|
bigIntLiteral?: boolean | undefined;
|
613
613
|
const?: boolean | undefined;
|
614
|
-
arrowFunction?: boolean | undefined;
|
615
|
-
forOf?: boolean | undefined;
|
616
614
|
destructuring?: boolean | undefined;
|
615
|
+
document?: boolean | undefined;
|
617
616
|
dynamicImport?: boolean | undefined;
|
618
617
|
dynamicImportInWorker?: boolean | undefined;
|
618
|
+
forOf?: boolean | undefined;
|
619
|
+
globalThis?: boolean | undefined;
|
620
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
619
621
|
optionalChaining?: boolean | undefined;
|
620
622
|
templateLiteral?: boolean | undefined;
|
621
|
-
asyncFunction?: boolean | undefined;
|
622
623
|
}>>;
|
623
624
|
compareBeforeEmit: z.ZodOptional<z.ZodBoolean>;
|
624
625
|
}, "strict", z.ZodTypeAny, {
|
625
626
|
module?: boolean | undefined;
|
626
|
-
path?: string | undefined;
|
627
627
|
chunkLoading?: string | false | undefined;
|
628
628
|
asyncChunks?: boolean | undefined;
|
629
629
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -658,11 +658,28 @@ export declare const rspackOptions: z.ZodObject<{
|
|
658
658
|
root?: string | undefined;
|
659
659
|
} | undefined;
|
660
660
|
umdNamedDefine?: boolean | undefined;
|
661
|
+
path?: string | undefined;
|
662
|
+
environment?: {
|
663
|
+
module?: boolean | undefined;
|
664
|
+
arrowFunction?: boolean | undefined;
|
665
|
+
asyncFunction?: boolean | undefined;
|
666
|
+
bigIntLiteral?: boolean | undefined;
|
667
|
+
const?: boolean | undefined;
|
668
|
+
destructuring?: boolean | undefined;
|
669
|
+
document?: boolean | undefined;
|
670
|
+
dynamicImport?: boolean | undefined;
|
671
|
+
dynamicImportInWorker?: boolean | undefined;
|
672
|
+
forOf?: boolean | undefined;
|
673
|
+
globalThis?: boolean | undefined;
|
674
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
675
|
+
optionalChaining?: boolean | undefined;
|
676
|
+
templateLiteral?: boolean | undefined;
|
677
|
+
} | undefined;
|
678
|
+
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
661
679
|
pathinfo?: boolean | "verbose" | undefined;
|
662
680
|
clean?: boolean | {
|
663
681
|
keep?: string | undefined;
|
664
682
|
} | undefined;
|
665
|
-
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
666
683
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
667
684
|
cssFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
668
685
|
cssChunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -673,6 +690,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
673
690
|
uniqueName?: string | undefined;
|
674
691
|
chunkLoadingGlobal?: string | undefined;
|
675
692
|
enabledLibraryTypes?: string[] | undefined;
|
693
|
+
libraryExport?: string | string[] | undefined;
|
694
|
+
libraryTarget?: string | undefined;
|
695
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
676
696
|
strictModuleErrorHandling?: boolean | undefined;
|
677
697
|
globalObject?: string | undefined;
|
678
698
|
importFunctionName?: string | undefined;
|
@@ -698,31 +718,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
698
718
|
devtoolNamespace?: string | undefined;
|
699
719
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
700
720
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
701
|
-
environment?: {
|
702
|
-
module?: boolean | undefined;
|
703
|
-
document?: boolean | undefined;
|
704
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
705
|
-
globalThis?: boolean | undefined;
|
706
|
-
bigIntLiteral?: boolean | undefined;
|
707
|
-
const?: boolean | undefined;
|
708
|
-
arrowFunction?: boolean | undefined;
|
709
|
-
forOf?: boolean | undefined;
|
710
|
-
destructuring?: boolean | undefined;
|
711
|
-
dynamicImport?: boolean | undefined;
|
712
|
-
dynamicImportInWorker?: boolean | undefined;
|
713
|
-
optionalChaining?: boolean | undefined;
|
714
|
-
templateLiteral?: boolean | undefined;
|
715
|
-
asyncFunction?: boolean | undefined;
|
716
|
-
} | undefined;
|
717
|
-
charset?: boolean | undefined;
|
718
721
|
chunkLoadTimeout?: number | undefined;
|
722
|
+
charset?: boolean | undefined;
|
719
723
|
compareBeforeEmit?: boolean | undefined;
|
720
|
-
libraryExport?: string | string[] | undefined;
|
721
|
-
libraryTarget?: string | undefined;
|
722
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
723
724
|
}, {
|
724
725
|
module?: boolean | undefined;
|
725
|
-
path?: string | undefined;
|
726
726
|
chunkLoading?: string | false | undefined;
|
727
727
|
asyncChunks?: boolean | undefined;
|
728
728
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -757,11 +757,28 @@ export declare const rspackOptions: z.ZodObject<{
|
|
757
757
|
root?: string | undefined;
|
758
758
|
} | undefined;
|
759
759
|
umdNamedDefine?: boolean | undefined;
|
760
|
+
path?: string | undefined;
|
761
|
+
environment?: {
|
762
|
+
module?: boolean | undefined;
|
763
|
+
arrowFunction?: boolean | undefined;
|
764
|
+
asyncFunction?: boolean | undefined;
|
765
|
+
bigIntLiteral?: boolean | undefined;
|
766
|
+
const?: boolean | undefined;
|
767
|
+
destructuring?: boolean | undefined;
|
768
|
+
document?: boolean | undefined;
|
769
|
+
dynamicImport?: boolean | undefined;
|
770
|
+
dynamicImportInWorker?: boolean | undefined;
|
771
|
+
forOf?: boolean | undefined;
|
772
|
+
globalThis?: boolean | undefined;
|
773
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
774
|
+
optionalChaining?: boolean | undefined;
|
775
|
+
templateLiteral?: boolean | undefined;
|
776
|
+
} | undefined;
|
777
|
+
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
760
778
|
pathinfo?: boolean | "verbose" | undefined;
|
761
779
|
clean?: boolean | {
|
762
780
|
keep?: string | undefined;
|
763
781
|
} | undefined;
|
764
|
-
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
765
782
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
766
783
|
cssFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
767
784
|
cssChunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -772,6 +789,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
772
789
|
uniqueName?: string | undefined;
|
773
790
|
chunkLoadingGlobal?: string | undefined;
|
774
791
|
enabledLibraryTypes?: string[] | undefined;
|
792
|
+
libraryExport?: string | string[] | undefined;
|
793
|
+
libraryTarget?: string | undefined;
|
794
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
775
795
|
strictModuleErrorHandling?: boolean | undefined;
|
776
796
|
globalObject?: string | undefined;
|
777
797
|
importFunctionName?: string | undefined;
|
@@ -797,28 +817,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
797
817
|
devtoolNamespace?: string | undefined;
|
798
818
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
799
819
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
800
|
-
environment?: {
|
801
|
-
module?: boolean | undefined;
|
802
|
-
document?: boolean | undefined;
|
803
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
804
|
-
globalThis?: boolean | undefined;
|
805
|
-
bigIntLiteral?: boolean | undefined;
|
806
|
-
const?: boolean | undefined;
|
807
|
-
arrowFunction?: boolean | undefined;
|
808
|
-
forOf?: boolean | undefined;
|
809
|
-
destructuring?: boolean | undefined;
|
810
|
-
dynamicImport?: boolean | undefined;
|
811
|
-
dynamicImportInWorker?: boolean | undefined;
|
812
|
-
optionalChaining?: boolean | undefined;
|
813
|
-
templateLiteral?: boolean | undefined;
|
814
|
-
asyncFunction?: boolean | undefined;
|
815
|
-
} | undefined;
|
816
|
-
charset?: boolean | undefined;
|
817
820
|
chunkLoadTimeout?: number | undefined;
|
821
|
+
charset?: boolean | undefined;
|
818
822
|
compareBeforeEmit?: boolean | undefined;
|
819
|
-
libraryExport?: string | string[] | undefined;
|
820
|
-
libraryTarget?: string | undefined;
|
821
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
822
823
|
}>>;
|
823
824
|
target: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, z.ZodArray<z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"]>, z.ZodLiteral<"node">, z.ZodLiteral<"async-node">, z.ZodType<`node${number}`, z.ZodTypeDef, `node${number}`>, z.ZodType<`async-node${number}`, z.ZodTypeDef, `async-node${number}`>, z.ZodType<`node${number}.${number}`, z.ZodTypeDef, `node${number}.${number}`>, z.ZodType<`async-node${number}.${number}`, z.ZodTypeDef, `async-node${number}.${number}`>, z.ZodLiteral<"electron-main">, z.ZodType<`electron${number}-main`, z.ZodTypeDef, `electron${number}-main`>, z.ZodType<`electron${number}.${number}-main`, z.ZodTypeDef, `electron${number}.${number}-main`>, z.ZodLiteral<"electron-renderer">, z.ZodType<`electron${number}-renderer`, z.ZodTypeDef, `electron${number}-renderer`>, z.ZodType<`electron${number}.${number}-renderer`, z.ZodTypeDef, `electron${number}.${number}-renderer`>, z.ZodLiteral<"electron-preload">, z.ZodType<`electron${number}-preload`, z.ZodTypeDef, `electron${number}-preload`>, z.ZodType<`electron${number}.${number}-preload`, z.ZodTypeDef, `electron${number}.${number}-preload`>, z.ZodLiteral<"nwjs">, z.ZodType<`nwjs${number}`, z.ZodTypeDef, `nwjs${number}`>, z.ZodType<`nwjs${number}.${number}`, z.ZodTypeDef, `nwjs${number}.${number}`>, z.ZodLiteral<"node-webkit">, z.ZodType<`node-webkit${number}`, z.ZodTypeDef, `node-webkit${number}`>, z.ZodType<`node-webkit${number}.${number}`, z.ZodTypeDef, `node-webkit${number}.${number}`>, z.ZodLiteral<"browserslist">, z.ZodType<`browserslist:${string}`, z.ZodTypeDef, `browserslist:${string}`>]>, "many">]>>;
|
824
825
|
mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
|
@@ -859,12 +860,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
859
860
|
}, "strip", z.ZodTypeAny, {
|
860
861
|
type: "persistent";
|
861
862
|
version?: string | undefined;
|
863
|
+
buildDependencies?: string[] | undefined;
|
862
864
|
snapshot?: {
|
863
865
|
immutablePaths?: (string | RegExp)[] | undefined;
|
864
866
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
865
867
|
managedPaths?: (string | RegExp)[] | undefined;
|
866
868
|
} | undefined;
|
867
|
-
buildDependencies?: string[] | undefined;
|
868
869
|
storage?: {
|
869
870
|
type: "filesystem";
|
870
871
|
directory?: string | undefined;
|
@@ -872,120 +873,35 @@ export declare const rspackOptions: z.ZodObject<{
|
|
872
873
|
}, {
|
873
874
|
type: "persistent";
|
874
875
|
version?: string | undefined;
|
876
|
+
buildDependencies?: string[] | undefined;
|
875
877
|
snapshot?: {
|
876
878
|
immutablePaths?: (string | RegExp)[] | undefined;
|
877
879
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
878
880
|
managedPaths?: (string | RegExp)[] | undefined;
|
879
881
|
} | undefined;
|
880
|
-
buildDependencies?: string[] | undefined;
|
881
882
|
storage?: {
|
882
883
|
type: "filesystem";
|
883
884
|
directory?: string | undefined;
|
884
885
|
} | undefined;
|
885
886
|
}>]>]>;
|
886
887
|
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
887
|
-
backend: z.ZodOptional<z.ZodObject<{
|
888
|
-
client: z.ZodOptional<z.ZodString>;
|
889
|
-
listen: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
890
|
-
port: z.ZodOptional<z.ZodNumber>;
|
891
|
-
host: z.ZodOptional<z.ZodString>;
|
892
|
-
backlog: z.ZodOptional<z.ZodNumber>;
|
893
|
-
path: z.ZodOptional<z.ZodString>;
|
894
|
-
exclusive: z.ZodOptional<z.ZodBoolean>;
|
895
|
-
readableAll: z.ZodOptional<z.ZodBoolean>;
|
896
|
-
writableAll: z.ZodOptional<z.ZodBoolean>;
|
897
|
-
ipv6Only: z.ZodOptional<z.ZodBoolean>;
|
898
|
-
}, "strip", z.ZodTypeAny, {
|
899
|
-
port?: number | undefined;
|
900
|
-
host?: string | undefined;
|
901
|
-
backlog?: number | undefined;
|
902
|
-
path?: string | undefined;
|
903
|
-
exclusive?: boolean | undefined;
|
904
|
-
readableAll?: boolean | undefined;
|
905
|
-
writableAll?: boolean | undefined;
|
906
|
-
ipv6Only?: boolean | undefined;
|
907
|
-
}, {
|
908
|
-
port?: number | undefined;
|
909
|
-
host?: string | undefined;
|
910
|
-
backlog?: number | undefined;
|
911
|
-
path?: string | undefined;
|
912
|
-
exclusive?: boolean | undefined;
|
913
|
-
readableAll?: boolean | undefined;
|
914
|
-
writableAll?: boolean | undefined;
|
915
|
-
ipv6Only?: boolean | undefined;
|
916
|
-
}>]>, z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodVoid>]>>;
|
917
|
-
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
918
|
-
server: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodAny>]>>;
|
919
|
-
}, "strip", z.ZodTypeAny, {
|
920
|
-
client?: string | undefined;
|
921
|
-
listen?: number | {
|
922
|
-
port?: number | undefined;
|
923
|
-
host?: string | undefined;
|
924
|
-
backlog?: number | undefined;
|
925
|
-
path?: string | undefined;
|
926
|
-
exclusive?: boolean | undefined;
|
927
|
-
readableAll?: boolean | undefined;
|
928
|
-
writableAll?: boolean | undefined;
|
929
|
-
ipv6Only?: boolean | undefined;
|
930
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
931
|
-
protocol?: "http" | "https" | undefined;
|
932
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
933
|
-
}, {
|
934
|
-
client?: string | undefined;
|
935
|
-
listen?: number | {
|
936
|
-
port?: number | undefined;
|
937
|
-
host?: string | undefined;
|
938
|
-
backlog?: number | undefined;
|
939
|
-
path?: string | undefined;
|
940
|
-
exclusive?: boolean | undefined;
|
941
|
-
readableAll?: boolean | undefined;
|
942
|
-
writableAll?: boolean | undefined;
|
943
|
-
ipv6Only?: boolean | undefined;
|
944
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
945
|
-
protocol?: "http" | "https" | undefined;
|
946
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
947
|
-
}>>;
|
948
888
|
imports: z.ZodOptional<z.ZodBoolean>;
|
949
889
|
entries: z.ZodOptional<z.ZodBoolean>;
|
950
890
|
test: z.ZodOptional<z.ZodUnion<[z.ZodType<RegExp, z.ZodTypeDef, RegExp>, z.ZodFunction<z.ZodTuple<[z.ZodType<Module, z.ZodTypeDef, Module>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
891
|
+
client: z.ZodOptional<z.ZodString>;
|
892
|
+
serverUrl: z.ZodOptional<z.ZodString>;
|
951
893
|
}, "strip", z.ZodTypeAny, {
|
952
894
|
entries?: boolean | undefined;
|
953
|
-
backend?: {
|
954
|
-
client?: string | undefined;
|
955
|
-
listen?: number | {
|
956
|
-
port?: number | undefined;
|
957
|
-
host?: string | undefined;
|
958
|
-
backlog?: number | undefined;
|
959
|
-
path?: string | undefined;
|
960
|
-
exclusive?: boolean | undefined;
|
961
|
-
readableAll?: boolean | undefined;
|
962
|
-
writableAll?: boolean | undefined;
|
963
|
-
ipv6Only?: boolean | undefined;
|
964
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
965
|
-
protocol?: "http" | "https" | undefined;
|
966
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
967
|
-
} | undefined;
|
968
895
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
969
896
|
imports?: boolean | undefined;
|
897
|
+
client?: string | undefined;
|
898
|
+
serverUrl?: string | undefined;
|
970
899
|
}, {
|
971
900
|
entries?: boolean | undefined;
|
972
|
-
backend?: {
|
973
|
-
client?: string | undefined;
|
974
|
-
listen?: number | {
|
975
|
-
port?: number | undefined;
|
976
|
-
host?: string | undefined;
|
977
|
-
backlog?: number | undefined;
|
978
|
-
path?: string | undefined;
|
979
|
-
exclusive?: boolean | undefined;
|
980
|
-
readableAll?: boolean | undefined;
|
981
|
-
writableAll?: boolean | undefined;
|
982
|
-
ipv6Only?: boolean | undefined;
|
983
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
984
|
-
protocol?: "http" | "https" | undefined;
|
985
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
986
|
-
} | undefined;
|
987
901
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
988
902
|
imports?: boolean | undefined;
|
903
|
+
client?: string | undefined;
|
904
|
+
serverUrl?: string | undefined;
|
989
905
|
}>]>;
|
990
906
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
991
907
|
outputModule: z.ZodOptional<z.ZodBoolean>;
|
@@ -1011,12 +927,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1011
927
|
}, "strict", z.ZodTypeAny, {
|
1012
928
|
providedExports?: boolean | undefined;
|
1013
929
|
make?: boolean | undefined;
|
1014
|
-
inferAsyncModules?: boolean | undefined;
|
1015
|
-
dependenciesDiagnostics?: boolean | undefined;
|
1016
930
|
sideEffects?: boolean | undefined;
|
1017
|
-
buildChunkGraph?: boolean | undefined;
|
1018
931
|
moduleIds?: boolean | undefined;
|
1019
932
|
chunkIds?: boolean | undefined;
|
933
|
+
inferAsyncModules?: boolean | undefined;
|
934
|
+
dependenciesDiagnostics?: boolean | undefined;
|
935
|
+
buildChunkGraph?: boolean | undefined;
|
1020
936
|
modulesHashes?: boolean | undefined;
|
1021
937
|
modulesCodegen?: boolean | undefined;
|
1022
938
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -1027,12 +943,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1027
943
|
}, {
|
1028
944
|
providedExports?: boolean | undefined;
|
1029
945
|
make?: boolean | undefined;
|
1030
|
-
inferAsyncModules?: boolean | undefined;
|
1031
|
-
dependenciesDiagnostics?: boolean | undefined;
|
1032
946
|
sideEffects?: boolean | undefined;
|
1033
|
-
buildChunkGraph?: boolean | undefined;
|
1034
947
|
moduleIds?: boolean | undefined;
|
1035
948
|
chunkIds?: boolean | undefined;
|
949
|
+
inferAsyncModules?: boolean | undefined;
|
950
|
+
dependenciesDiagnostics?: boolean | undefined;
|
951
|
+
buildChunkGraph?: boolean | undefined;
|
1036
952
|
modulesHashes?: boolean | undefined;
|
1037
953
|
modulesCodegen?: boolean | undefined;
|
1038
954
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -1077,12 +993,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1077
993
|
} | {
|
1078
994
|
type: "persistent";
|
1079
995
|
version?: string | undefined;
|
996
|
+
buildDependencies?: string[] | undefined;
|
1080
997
|
snapshot?: {
|
1081
998
|
immutablePaths?: (string | RegExp)[] | undefined;
|
1082
999
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
1083
1000
|
managedPaths?: (string | RegExp)[] | undefined;
|
1084
1001
|
} | undefined;
|
1085
|
-
buildDependencies?: string[] | undefined;
|
1086
1002
|
storage?: {
|
1087
1003
|
type: "filesystem";
|
1088
1004
|
directory?: string | undefined;
|
@@ -1090,23 +1006,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1090
1006
|
} | undefined;
|
1091
1007
|
lazyCompilation?: boolean | {
|
1092
1008
|
entries?: boolean | undefined;
|
1093
|
-
backend?: {
|
1094
|
-
client?: string | undefined;
|
1095
|
-
listen?: number | {
|
1096
|
-
port?: number | undefined;
|
1097
|
-
host?: string | undefined;
|
1098
|
-
backlog?: number | undefined;
|
1099
|
-
path?: string | undefined;
|
1100
|
-
exclusive?: boolean | undefined;
|
1101
|
-
readableAll?: boolean | undefined;
|
1102
|
-
writableAll?: boolean | undefined;
|
1103
|
-
ipv6Only?: boolean | undefined;
|
1104
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
1105
|
-
protocol?: "http" | "https" | undefined;
|
1106
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
1107
|
-
} | undefined;
|
1108
1009
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
1109
1010
|
imports?: boolean | undefined;
|
1011
|
+
client?: string | undefined;
|
1012
|
+
serverUrl?: string | undefined;
|
1110
1013
|
} | undefined;
|
1111
1014
|
asyncWebAssembly?: boolean | undefined;
|
1112
1015
|
outputModule?: boolean | undefined;
|
@@ -1115,12 +1018,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1115
1018
|
incremental?: boolean | {
|
1116
1019
|
providedExports?: boolean | undefined;
|
1117
1020
|
make?: boolean | undefined;
|
1118
|
-
inferAsyncModules?: boolean | undefined;
|
1119
|
-
dependenciesDiagnostics?: boolean | undefined;
|
1120
1021
|
sideEffects?: boolean | undefined;
|
1121
|
-
buildChunkGraph?: boolean | undefined;
|
1122
1022
|
moduleIds?: boolean | undefined;
|
1123
1023
|
chunkIds?: boolean | undefined;
|
1024
|
+
inferAsyncModules?: boolean | undefined;
|
1025
|
+
dependenciesDiagnostics?: boolean | undefined;
|
1026
|
+
buildChunkGraph?: boolean | undefined;
|
1124
1027
|
modulesHashes?: boolean | undefined;
|
1125
1028
|
modulesCodegen?: boolean | undefined;
|
1126
1029
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -1145,12 +1048,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1145
1048
|
} | {
|
1146
1049
|
type: "persistent";
|
1147
1050
|
version?: string | undefined;
|
1051
|
+
buildDependencies?: string[] | undefined;
|
1148
1052
|
snapshot?: {
|
1149
1053
|
immutablePaths?: (string | RegExp)[] | undefined;
|
1150
1054
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
1151
1055
|
managedPaths?: (string | RegExp)[] | undefined;
|
1152
1056
|
} | undefined;
|
1153
|
-
buildDependencies?: string[] | undefined;
|
1154
1057
|
storage?: {
|
1155
1058
|
type: "filesystem";
|
1156
1059
|
directory?: string | undefined;
|
@@ -1158,23 +1061,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1158
1061
|
} | undefined;
|
1159
1062
|
lazyCompilation?: boolean | {
|
1160
1063
|
entries?: boolean | undefined;
|
1161
|
-
backend?: {
|
1162
|
-
client?: string | undefined;
|
1163
|
-
listen?: number | {
|
1164
|
-
port?: number | undefined;
|
1165
|
-
host?: string | undefined;
|
1166
|
-
backlog?: number | undefined;
|
1167
|
-
path?: string | undefined;
|
1168
|
-
exclusive?: boolean | undefined;
|
1169
|
-
readableAll?: boolean | undefined;
|
1170
|
-
writableAll?: boolean | undefined;
|
1171
|
-
ipv6Only?: boolean | undefined;
|
1172
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
1173
|
-
protocol?: "http" | "https" | undefined;
|
1174
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
1175
|
-
} | undefined;
|
1176
1064
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
1177
1065
|
imports?: boolean | undefined;
|
1066
|
+
client?: string | undefined;
|
1067
|
+
serverUrl?: string | undefined;
|
1178
1068
|
} | undefined;
|
1179
1069
|
asyncWebAssembly?: boolean | undefined;
|
1180
1070
|
outputModule?: boolean | undefined;
|
@@ -1183,12 +1073,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1183
1073
|
incremental?: boolean | {
|
1184
1074
|
providedExports?: boolean | undefined;
|
1185
1075
|
make?: boolean | undefined;
|
1186
|
-
inferAsyncModules?: boolean | undefined;
|
1187
|
-
dependenciesDiagnostics?: boolean | undefined;
|
1188
1076
|
sideEffects?: boolean | undefined;
|
1189
|
-
buildChunkGraph?: boolean | undefined;
|
1190
1077
|
moduleIds?: boolean | undefined;
|
1191
1078
|
chunkIds?: boolean | undefined;
|
1079
|
+
inferAsyncModules?: boolean | undefined;
|
1080
|
+
dependenciesDiagnostics?: boolean | undefined;
|
1081
|
+
buildChunkGraph?: boolean | undefined;
|
1192
1082
|
modulesHashes?: boolean | undefined;
|
1193
1083
|
modulesCodegen?: boolean | undefined;
|
1194
1084
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -1222,20 +1112,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1222
1112
|
web?: boolean | undefined;
|
1223
1113
|
node?: boolean | undefined;
|
1224
1114
|
nwjs?: boolean | undefined;
|
1115
|
+
webAsync?: boolean | undefined;
|
1225
1116
|
electron?: boolean | undefined;
|
1226
1117
|
electronMain?: boolean | undefined;
|
1227
1118
|
electronPreload?: boolean | undefined;
|
1228
1119
|
electronRenderer?: boolean | undefined;
|
1229
|
-
webAsync?: boolean | undefined;
|
1230
1120
|
}, {
|
1231
1121
|
web?: boolean | undefined;
|
1232
1122
|
node?: boolean | undefined;
|
1233
1123
|
nwjs?: boolean | undefined;
|
1124
|
+
webAsync?: boolean | undefined;
|
1234
1125
|
electron?: boolean | undefined;
|
1235
1126
|
electronMain?: boolean | undefined;
|
1236
1127
|
electronPreload?: boolean | undefined;
|
1237
1128
|
electronRenderer?: boolean | undefined;
|
1238
|
-
webAsync?: boolean | undefined;
|
1239
1129
|
}>>;
|
1240
1130
|
infrastructureLogging: z.ZodOptional<z.ZodObject<{
|
1241
1131
|
appendOnly: z.ZodOptional<z.ZodBoolean>;
|
@@ -1247,17 +1137,17 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1247
1137
|
}, "strict", z.ZodTypeAny, {
|
1248
1138
|
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
1249
1139
|
colors?: boolean | undefined;
|
1250
|
-
stream?: NodeJS.WritableStream | undefined;
|
1251
|
-
appendOnly?: boolean | undefined;
|
1252
|
-
console?: Console | undefined;
|
1253
1140
|
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
1141
|
+
console?: Console | undefined;
|
1142
|
+
appendOnly?: boolean | undefined;
|
1143
|
+
stream?: NodeJS.WritableStream | undefined;
|
1254
1144
|
}, {
|
1255
1145
|
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
1256
1146
|
colors?: boolean | undefined;
|
1257
|
-
stream?: NodeJS.WritableStream | undefined;
|
1258
|
-
appendOnly?: boolean | undefined;
|
1259
|
-
console?: Console | undefined;
|
1260
1147
|
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
1148
|
+
console?: Console | undefined;
|
1149
|
+
appendOnly?: boolean | undefined;
|
1150
|
+
stream?: NodeJS.WritableStream | undefined;
|
1261
1151
|
}>>;
|
1262
1152
|
cache: z.ZodOptional<z.ZodBoolean>;
|
1263
1153
|
context: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
@@ -1375,14 +1265,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1375
1265
|
errorsSpace: z.ZodOptional<z.ZodNumber>;
|
1376
1266
|
warningsSpace: z.ZodOptional<z.ZodNumber>;
|
1377
1267
|
}, "strict", z.ZodTypeAny, {
|
1268
|
+
ids?: boolean | undefined;
|
1269
|
+
runtime?: boolean | undefined;
|
1270
|
+
hash?: boolean | undefined;
|
1378
1271
|
modules?: boolean | undefined;
|
1379
|
-
chunks?: boolean | undefined;
|
1380
1272
|
all?: boolean | undefined;
|
1381
1273
|
version?: boolean | undefined;
|
1382
|
-
runtime?: boolean | undefined;
|
1383
1274
|
publicPath?: boolean | undefined;
|
1384
1275
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
1385
1276
|
assets?: boolean | undefined;
|
1277
|
+
chunks?: boolean | undefined;
|
1386
1278
|
entrypoints?: boolean | "auto" | undefined;
|
1387
1279
|
chunkGroups?: boolean | undefined;
|
1388
1280
|
warnings?: boolean | undefined;
|
@@ -1390,12 +1282,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1390
1282
|
errors?: boolean | undefined;
|
1391
1283
|
errorsCount?: boolean | undefined;
|
1392
1284
|
colors?: boolean | undefined;
|
1393
|
-
hash?: boolean | undefined;
|
1394
1285
|
reasons?: boolean | undefined;
|
1395
1286
|
outputPath?: boolean | undefined;
|
1396
1287
|
chunkModules?: boolean | undefined;
|
1397
1288
|
chunkRelations?: boolean | undefined;
|
1398
|
-
ids?: boolean | undefined;
|
1399
1289
|
timings?: boolean | undefined;
|
1400
1290
|
builtAt?: boolean | undefined;
|
1401
1291
|
moduleAssets?: boolean | undefined;
|
@@ -1452,14 +1342,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1452
1342
|
errorsSpace?: number | undefined;
|
1453
1343
|
warningsSpace?: number | undefined;
|
1454
1344
|
}, {
|
1345
|
+
ids?: boolean | undefined;
|
1346
|
+
runtime?: boolean | undefined;
|
1347
|
+
hash?: boolean | undefined;
|
1455
1348
|
modules?: boolean | undefined;
|
1456
|
-
chunks?: boolean | undefined;
|
1457
1349
|
all?: boolean | undefined;
|
1458
1350
|
version?: boolean | undefined;
|
1459
|
-
runtime?: boolean | undefined;
|
1460
1351
|
publicPath?: boolean | undefined;
|
1461
1352
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
1462
1353
|
assets?: boolean | undefined;
|
1354
|
+
chunks?: boolean | undefined;
|
1463
1355
|
entrypoints?: boolean | "auto" | undefined;
|
1464
1356
|
chunkGroups?: boolean | undefined;
|
1465
1357
|
warnings?: boolean | undefined;
|
@@ -1467,12 +1359,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1467
1359
|
errors?: boolean | undefined;
|
1468
1360
|
errorsCount?: boolean | undefined;
|
1469
1361
|
colors?: boolean | undefined;
|
1470
|
-
hash?: boolean | undefined;
|
1471
1362
|
reasons?: boolean | undefined;
|
1472
1363
|
outputPath?: boolean | undefined;
|
1473
1364
|
chunkModules?: boolean | undefined;
|
1474
1365
|
chunkRelations?: boolean | undefined;
|
1475
|
-
ids?: boolean | undefined;
|
1476
1366
|
timings?: boolean | undefined;
|
1477
1367
|
builtAt?: boolean | undefined;
|
1478
1368
|
moduleAssets?: boolean | undefined;
|
@@ -1581,20 +1471,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1581
1471
|
idHint: z.ZodOptional<z.ZodString>;
|
1582
1472
|
layer: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodOptional<z.ZodString>], null>, z.ZodBoolean>]>>;
|
1583
1473
|
}, "strict", z.ZodTypeAny, {
|
1584
|
-
type?: string | RegExp | undefined;
|
1585
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1586
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1587
1474
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1588
1475
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1476
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1477
|
+
type?: string | RegExp | undefined;
|
1478
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1589
1479
|
usedExports?: boolean | undefined;
|
1590
1480
|
defaultSizeTypes?: string[] | undefined;
|
1591
|
-
maxSize?: number | Record<string, number> | undefined;
|
1592
1481
|
priority?: number | undefined;
|
1593
1482
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1594
1483
|
moduleGraph: ModuleGraph;
|
1595
1484
|
chunkGraph: ChunkGraph;
|
1596
1485
|
}, ...args: unknown[]) => boolean) | undefined;
|
1597
1486
|
minSize?: number | Record<string, number> | undefined;
|
1487
|
+
maxSize?: number | Record<string, number> | undefined;
|
1598
1488
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1599
1489
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1600
1490
|
minChunks?: number | undefined;
|
@@ -1605,20 +1495,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1605
1495
|
reuseExistingChunk?: boolean | undefined;
|
1606
1496
|
idHint?: string | undefined;
|
1607
1497
|
}, {
|
1608
|
-
type?: string | RegExp | undefined;
|
1609
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1610
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1611
1498
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1612
1499
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1500
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1501
|
+
type?: string | RegExp | undefined;
|
1502
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1613
1503
|
usedExports?: boolean | undefined;
|
1614
1504
|
defaultSizeTypes?: string[] | undefined;
|
1615
|
-
maxSize?: number | Record<string, number> | undefined;
|
1616
1505
|
priority?: number | undefined;
|
1617
1506
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1618
1507
|
moduleGraph: ModuleGraph;
|
1619
1508
|
chunkGraph: ChunkGraph;
|
1620
1509
|
}, ...args: unknown[]) => boolean) | undefined;
|
1621
1510
|
minSize?: number | Record<string, number> | undefined;
|
1511
|
+
maxSize?: number | Record<string, number> | undefined;
|
1622
1512
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1623
1513
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1624
1514
|
minChunks?: number | undefined;
|
@@ -1638,41 +1528,41 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1638
1528
|
automaticNameDelimiter: z.ZodOptional<z.ZodString>;
|
1639
1529
|
}, "strict", z.ZodTypeAny, {
|
1640
1530
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1641
|
-
maxSize?: number | undefined;
|
1642
1531
|
minSize?: number | undefined;
|
1532
|
+
maxSize?: number | undefined;
|
1643
1533
|
maxAsyncSize?: number | undefined;
|
1644
1534
|
maxInitialSize?: number | undefined;
|
1645
1535
|
automaticNameDelimiter?: string | undefined;
|
1646
1536
|
}, {
|
1647
1537
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1648
|
-
maxSize?: number | undefined;
|
1649
1538
|
minSize?: number | undefined;
|
1539
|
+
maxSize?: number | undefined;
|
1650
1540
|
maxAsyncSize?: number | undefined;
|
1651
1541
|
maxInitialSize?: number | undefined;
|
1652
1542
|
automaticNameDelimiter?: string | undefined;
|
1653
1543
|
}>>;
|
1654
1544
|
hidePathInfo: z.ZodOptional<z.ZodBoolean>;
|
1655
1545
|
}, "strict", z.ZodTypeAny, {
|
1656
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1657
1546
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1658
1547
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1548
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1659
1549
|
usedExports?: boolean | undefined;
|
1660
1550
|
defaultSizeTypes?: string[] | undefined;
|
1661
1551
|
cacheGroups?: Record<string, false | {
|
1662
|
-
type?: string | RegExp | undefined;
|
1663
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1664
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1665
1552
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1666
1553
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1554
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1555
|
+
type?: string | RegExp | undefined;
|
1556
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1667
1557
|
usedExports?: boolean | undefined;
|
1668
1558
|
defaultSizeTypes?: string[] | undefined;
|
1669
|
-
maxSize?: number | Record<string, number> | undefined;
|
1670
1559
|
priority?: number | undefined;
|
1671
1560
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1672
1561
|
moduleGraph: ModuleGraph;
|
1673
1562
|
chunkGraph: ChunkGraph;
|
1674
1563
|
}, ...args: unknown[]) => boolean) | undefined;
|
1675
1564
|
minSize?: number | Record<string, number> | undefined;
|
1565
|
+
maxSize?: number | Record<string, number> | undefined;
|
1676
1566
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1677
1567
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1678
1568
|
minChunks?: number | undefined;
|
@@ -1683,16 +1573,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1683
1573
|
reuseExistingChunk?: boolean | undefined;
|
1684
1574
|
idHint?: string | undefined;
|
1685
1575
|
}> | undefined;
|
1686
|
-
maxSize?: number | Record<string, number> | undefined;
|
1687
1576
|
fallbackCacheGroup?: {
|
1688
1577
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1689
|
-
maxSize?: number | undefined;
|
1690
1578
|
minSize?: number | undefined;
|
1579
|
+
maxSize?: number | undefined;
|
1691
1580
|
maxAsyncSize?: number | undefined;
|
1692
1581
|
maxInitialSize?: number | undefined;
|
1693
1582
|
automaticNameDelimiter?: string | undefined;
|
1694
1583
|
} | undefined;
|
1695
1584
|
minSize?: number | Record<string, number> | undefined;
|
1585
|
+
maxSize?: number | Record<string, number> | undefined;
|
1696
1586
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1697
1587
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1698
1588
|
hidePathInfo?: boolean | undefined;
|
@@ -1701,26 +1591,26 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1701
1591
|
maxInitialRequests?: number | undefined;
|
1702
1592
|
automaticNameDelimiter?: string | undefined;
|
1703
1593
|
}, {
|
1704
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1705
1594
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1706
1595
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1596
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1707
1597
|
usedExports?: boolean | undefined;
|
1708
1598
|
defaultSizeTypes?: string[] | undefined;
|
1709
1599
|
cacheGroups?: Record<string, false | {
|
1710
|
-
type?: string | RegExp | undefined;
|
1711
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1712
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1713
1600
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1714
1601
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1602
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1603
|
+
type?: string | RegExp | undefined;
|
1604
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1715
1605
|
usedExports?: boolean | undefined;
|
1716
1606
|
defaultSizeTypes?: string[] | undefined;
|
1717
|
-
maxSize?: number | Record<string, number> | undefined;
|
1718
1607
|
priority?: number | undefined;
|
1719
1608
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1720
1609
|
moduleGraph: ModuleGraph;
|
1721
1610
|
chunkGraph: ChunkGraph;
|
1722
1611
|
}, ...args: unknown[]) => boolean) | undefined;
|
1723
1612
|
minSize?: number | Record<string, number> | undefined;
|
1613
|
+
maxSize?: number | Record<string, number> | undefined;
|
1724
1614
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1725
1615
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1726
1616
|
minChunks?: number | undefined;
|
@@ -1731,16 +1621,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1731
1621
|
reuseExistingChunk?: boolean | undefined;
|
1732
1622
|
idHint?: string | undefined;
|
1733
1623
|
}> | undefined;
|
1734
|
-
maxSize?: number | Record<string, number> | undefined;
|
1735
1624
|
fallbackCacheGroup?: {
|
1736
1625
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1737
|
-
maxSize?: number | undefined;
|
1738
1626
|
minSize?: number | undefined;
|
1627
|
+
maxSize?: number | undefined;
|
1739
1628
|
maxAsyncSize?: number | undefined;
|
1740
1629
|
maxInitialSize?: number | undefined;
|
1741
1630
|
automaticNameDelimiter?: string | undefined;
|
1742
1631
|
} | undefined;
|
1743
1632
|
minSize?: number | Record<string, number> | undefined;
|
1633
|
+
maxSize?: number | Record<string, number> | undefined;
|
1744
1634
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1745
1635
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1746
1636
|
hidePathInfo?: boolean | undefined;
|
@@ -1781,33 +1671,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1781
1671
|
}, "strict", z.ZodTypeAny, {
|
1782
1672
|
usedExports?: boolean | "global" | undefined;
|
1783
1673
|
providedExports?: boolean | undefined;
|
1784
|
-
sideEffects?: boolean | "flag" | undefined;
|
1785
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
1786
|
-
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
1787
|
-
minimize?: boolean | undefined;
|
1788
|
-
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
1789
|
-
mergeDuplicateChunks?: boolean | undefined;
|
1790
1674
|
splitChunks?: false | {
|
1791
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1792
1675
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1793
1676
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1677
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1794
1678
|
usedExports?: boolean | undefined;
|
1795
1679
|
defaultSizeTypes?: string[] | undefined;
|
1796
1680
|
cacheGroups?: Record<string, false | {
|
1797
|
-
type?: string | RegExp | undefined;
|
1798
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1799
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1800
1681
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1801
1682
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1802
|
-
|
1683
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1684
|
+
type?: string | RegExp | undefined;
|
1685
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1686
|
+
usedExports?: boolean | undefined;
|
1803
1687
|
defaultSizeTypes?: string[] | undefined;
|
1804
|
-
maxSize?: number | Record<string, number> | undefined;
|
1805
1688
|
priority?: number | undefined;
|
1806
1689
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1807
1690
|
moduleGraph: ModuleGraph;
|
1808
1691
|
chunkGraph: ChunkGraph;
|
1809
1692
|
}, ...args: unknown[]) => boolean) | undefined;
|
1810
1693
|
minSize?: number | Record<string, number> | undefined;
|
1694
|
+
maxSize?: number | Record<string, number> | undefined;
|
1811
1695
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1812
1696
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1813
1697
|
minChunks?: number | undefined;
|
@@ -1818,16 +1702,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1818
1702
|
reuseExistingChunk?: boolean | undefined;
|
1819
1703
|
idHint?: string | undefined;
|
1820
1704
|
}> | undefined;
|
1821
|
-
maxSize?: number | Record<string, number> | undefined;
|
1822
1705
|
fallbackCacheGroup?: {
|
1823
1706
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1824
|
-
maxSize?: number | undefined;
|
1825
1707
|
minSize?: number | undefined;
|
1708
|
+
maxSize?: number | undefined;
|
1826
1709
|
maxAsyncSize?: number | undefined;
|
1827
1710
|
maxInitialSize?: number | undefined;
|
1828
1711
|
automaticNameDelimiter?: string | undefined;
|
1829
1712
|
} | undefined;
|
1830
1713
|
minSize?: number | Record<string, number> | undefined;
|
1714
|
+
maxSize?: number | Record<string, number> | undefined;
|
1831
1715
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1832
1716
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1833
1717
|
hidePathInfo?: boolean | undefined;
|
@@ -1836,6 +1720,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1836
1720
|
maxInitialRequests?: number | undefined;
|
1837
1721
|
automaticNameDelimiter?: string | undefined;
|
1838
1722
|
} | undefined;
|
1723
|
+
minimize?: boolean | undefined;
|
1724
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
1725
|
+
sideEffects?: boolean | "flag" | undefined;
|
1726
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
1727
|
+
chunkIds?: "named" | "natural" | "deterministic" | "size" | "total-size" | undefined;
|
1728
|
+
mergeDuplicateChunks?: boolean | undefined;
|
1839
1729
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
1840
1730
|
name?: string | ((args_0: {
|
1841
1731
|
name: string;
|
@@ -1846,40 +1736,34 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1846
1736
|
realContentHash?: boolean | undefined;
|
1847
1737
|
concatenateModules?: boolean | undefined;
|
1848
1738
|
innerGraph?: boolean | undefined;
|
1849
|
-
mangleExports?: boolean | "
|
1739
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
1850
1740
|
nodeEnv?: string | false | undefined;
|
1851
1741
|
emitOnErrors?: boolean | undefined;
|
1852
1742
|
avoidEntryIife?: boolean | undefined;
|
1853
1743
|
}, {
|
1854
1744
|
usedExports?: boolean | "global" | undefined;
|
1855
1745
|
providedExports?: boolean | undefined;
|
1856
|
-
sideEffects?: boolean | "flag" | undefined;
|
1857
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
1858
|
-
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
1859
|
-
minimize?: boolean | undefined;
|
1860
|
-
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
1861
|
-
mergeDuplicateChunks?: boolean | undefined;
|
1862
1746
|
splitChunks?: false | {
|
1863
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1864
1747
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1865
1748
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1749
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1866
1750
|
usedExports?: boolean | undefined;
|
1867
1751
|
defaultSizeTypes?: string[] | undefined;
|
1868
1752
|
cacheGroups?: Record<string, false | {
|
1869
|
-
type?: string | RegExp | undefined;
|
1870
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1871
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1872
1753
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
1873
1754
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
1755
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
1756
|
+
type?: string | RegExp | undefined;
|
1757
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1874
1758
|
usedExports?: boolean | undefined;
|
1875
1759
|
defaultSizeTypes?: string[] | undefined;
|
1876
|
-
maxSize?: number | Record<string, number> | undefined;
|
1877
1760
|
priority?: number | undefined;
|
1878
1761
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
1879
1762
|
moduleGraph: ModuleGraph;
|
1880
1763
|
chunkGraph: ChunkGraph;
|
1881
1764
|
}, ...args: unknown[]) => boolean) | undefined;
|
1882
1765
|
minSize?: number | Record<string, number> | undefined;
|
1766
|
+
maxSize?: number | Record<string, number> | undefined;
|
1883
1767
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1884
1768
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1885
1769
|
minChunks?: number | undefined;
|
@@ -1890,16 +1774,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1890
1774
|
reuseExistingChunk?: boolean | undefined;
|
1891
1775
|
idHint?: string | undefined;
|
1892
1776
|
}> | undefined;
|
1893
|
-
maxSize?: number | Record<string, number> | undefined;
|
1894
1777
|
fallbackCacheGroup?: {
|
1895
1778
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
1896
|
-
maxSize?: number | undefined;
|
1897
1779
|
minSize?: number | undefined;
|
1780
|
+
maxSize?: number | undefined;
|
1898
1781
|
maxAsyncSize?: number | undefined;
|
1899
1782
|
maxInitialSize?: number | undefined;
|
1900
1783
|
automaticNameDelimiter?: string | undefined;
|
1901
1784
|
} | undefined;
|
1902
1785
|
minSize?: number | Record<string, number> | undefined;
|
1786
|
+
maxSize?: number | Record<string, number> | undefined;
|
1903
1787
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
1904
1788
|
maxInitialSize?: number | Record<string, number> | undefined;
|
1905
1789
|
hidePathInfo?: boolean | undefined;
|
@@ -1908,6 +1792,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1908
1792
|
maxInitialRequests?: number | undefined;
|
1909
1793
|
automaticNameDelimiter?: string | undefined;
|
1910
1794
|
} | undefined;
|
1795
|
+
minimize?: boolean | undefined;
|
1796
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
1797
|
+
sideEffects?: boolean | "flag" | undefined;
|
1798
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
1799
|
+
chunkIds?: "named" | "natural" | "deterministic" | "size" | "total-size" | undefined;
|
1800
|
+
mergeDuplicateChunks?: boolean | undefined;
|
1911
1801
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
1912
1802
|
name?: string | ((args_0: {
|
1913
1803
|
name: string;
|
@@ -1918,7 +1808,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
1918
1808
|
realContentHash?: boolean | undefined;
|
1919
1809
|
concatenateModules?: boolean | undefined;
|
1920
1810
|
innerGraph?: boolean | undefined;
|
1921
|
-
mangleExports?: boolean | "
|
1811
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
1922
1812
|
nodeEnv?: string | false | undefined;
|
1923
1813
|
emitOnErrors?: boolean | undefined;
|
1924
1814
|
avoidEntryIife?: boolean | undefined;
|
@@ -2418,11 +2308,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2418
2308
|
encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
|
2419
2309
|
mimetype: z.ZodOptional<z.ZodString>;
|
2420
2310
|
}, "strict", z.ZodTypeAny, {
|
2421
|
-
encoding?: false | "base64" | undefined;
|
2422
2311
|
mimetype?: string | undefined;
|
2423
|
-
}, {
|
2424
2312
|
encoding?: false | "base64" | undefined;
|
2313
|
+
}, {
|
2425
2314
|
mimetype?: string | undefined;
|
2315
|
+
encoding?: false | "base64" | undefined;
|
2426
2316
|
}>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
|
2427
2317
|
filename: z.ZodString;
|
2428
2318
|
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
@@ -2440,36 +2330,36 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2440
2330
|
}>, "strict", z.ZodTypeAny, {
|
2441
2331
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2442
2332
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2333
|
+
emit?: boolean | undefined;
|
2443
2334
|
dataUrl?: {
|
2444
|
-
encoding?: false | "base64" | undefined;
|
2445
2335
|
mimetype?: string | undefined;
|
2336
|
+
encoding?: false | "base64" | undefined;
|
2446
2337
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2447
2338
|
module: Module;
|
2448
2339
|
filename: string;
|
2449
2340
|
}, ...args: unknown[]) => string) | undefined;
|
2450
|
-
emit?: boolean | undefined;
|
2451
2341
|
}, {
|
2452
2342
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2453
2343
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2344
|
+
emit?: boolean | undefined;
|
2454
2345
|
dataUrl?: {
|
2455
|
-
encoding?: false | "base64" | undefined;
|
2456
2346
|
mimetype?: string | undefined;
|
2347
|
+
encoding?: false | "base64" | undefined;
|
2457
2348
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2458
2349
|
module: Module;
|
2459
2350
|
filename: string;
|
2460
2351
|
}, ...args: unknown[]) => string) | undefined;
|
2461
|
-
emit?: boolean | undefined;
|
2462
2352
|
}>>;
|
2463
2353
|
"asset/inline": z.ZodOptional<z.ZodObject<{
|
2464
2354
|
dataUrl: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
2465
2355
|
encoding: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<"base64">]>>;
|
2466
2356
|
mimetype: z.ZodOptional<z.ZodString>;
|
2467
2357
|
}, "strict", z.ZodTypeAny, {
|
2468
|
-
encoding?: false | "base64" | undefined;
|
2469
2358
|
mimetype?: string | undefined;
|
2470
|
-
}, {
|
2471
2359
|
encoding?: false | "base64" | undefined;
|
2360
|
+
}, {
|
2472
2361
|
mimetype?: string | undefined;
|
2362
|
+
encoding?: false | "base64" | undefined;
|
2473
2363
|
}>, z.ZodFunction<z.ZodTuple<[z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>, z.ZodObject<{
|
2474
2364
|
filename: z.ZodString;
|
2475
2365
|
module: z.ZodType<Module, z.ZodTypeDef, Module>;
|
@@ -2482,16 +2372,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2482
2372
|
}>], z.ZodUnknown>, z.ZodString>]>>;
|
2483
2373
|
}, "strict", z.ZodTypeAny, {
|
2484
2374
|
dataUrl?: {
|
2485
|
-
encoding?: false | "base64" | undefined;
|
2486
2375
|
mimetype?: string | undefined;
|
2376
|
+
encoding?: false | "base64" | undefined;
|
2487
2377
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2488
2378
|
module: Module;
|
2489
2379
|
filename: string;
|
2490
2380
|
}, ...args: unknown[]) => string) | undefined;
|
2491
2381
|
}, {
|
2492
2382
|
dataUrl?: {
|
2493
|
-
encoding?: false | "base64" | undefined;
|
2494
2383
|
mimetype?: string | undefined;
|
2384
|
+
encoding?: false | "base64" | undefined;
|
2495
2385
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2496
2386
|
module: Module;
|
2497
2387
|
filename: string;
|
@@ -2552,6 +2442,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2552
2442
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
2553
2443
|
localIdentName?: string | undefined;
|
2554
2444
|
}>>;
|
2445
|
+
json: z.ZodOptional<z.ZodObject<{
|
2446
|
+
JSONParse: z.ZodOptional<z.ZodBoolean>;
|
2447
|
+
}, "strict", z.ZodTypeAny, {
|
2448
|
+
JSONParse?: boolean | undefined;
|
2449
|
+
}, {
|
2450
|
+
JSONParse?: boolean | undefined;
|
2451
|
+
}>>;
|
2555
2452
|
}, "strict", z.ZodTypeAny, {
|
2556
2453
|
css?: {
|
2557
2454
|
exportsOnly?: boolean | undefined;
|
@@ -2560,14 +2457,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2560
2457
|
asset?: {
|
2561
2458
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2562
2459
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2460
|
+
emit?: boolean | undefined;
|
2563
2461
|
dataUrl?: {
|
2564
|
-
encoding?: false | "base64" | undefined;
|
2565
2462
|
mimetype?: string | undefined;
|
2463
|
+
encoding?: false | "base64" | undefined;
|
2566
2464
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2567
2465
|
module: Module;
|
2568
2466
|
filename: string;
|
2569
2467
|
}, ...args: unknown[]) => string) | undefined;
|
2570
|
-
emit?: boolean | undefined;
|
2571
2468
|
} | undefined;
|
2572
2469
|
"css/auto"?: {
|
2573
2470
|
exportsOnly?: boolean | undefined;
|
@@ -2581,10 +2478,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2581
2478
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
2582
2479
|
localIdentName?: string | undefined;
|
2583
2480
|
} | undefined;
|
2481
|
+
json?: {
|
2482
|
+
JSONParse?: boolean | undefined;
|
2483
|
+
} | undefined;
|
2584
2484
|
"asset/inline"?: {
|
2585
2485
|
dataUrl?: {
|
2586
|
-
encoding?: false | "base64" | undefined;
|
2587
2486
|
mimetype?: string | undefined;
|
2487
|
+
encoding?: false | "base64" | undefined;
|
2588
2488
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2589
2489
|
module: Module;
|
2590
2490
|
filename: string;
|
@@ -2603,14 +2503,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2603
2503
|
asset?: {
|
2604
2504
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2605
2505
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2506
|
+
emit?: boolean | undefined;
|
2606
2507
|
dataUrl?: {
|
2607
|
-
encoding?: false | "base64" | undefined;
|
2608
2508
|
mimetype?: string | undefined;
|
2509
|
+
encoding?: false | "base64" | undefined;
|
2609
2510
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2610
2511
|
module: Module;
|
2611
2512
|
filename: string;
|
2612
2513
|
}, ...args: unknown[]) => string) | undefined;
|
2613
|
-
emit?: boolean | undefined;
|
2614
2514
|
} | undefined;
|
2615
2515
|
"css/auto"?: {
|
2616
2516
|
exportsOnly?: boolean | undefined;
|
@@ -2624,10 +2524,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2624
2524
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
2625
2525
|
localIdentName?: string | undefined;
|
2626
2526
|
} | undefined;
|
2527
|
+
json?: {
|
2528
|
+
JSONParse?: boolean | undefined;
|
2529
|
+
} | undefined;
|
2627
2530
|
"asset/inline"?: {
|
2628
2531
|
dataUrl?: {
|
2629
|
-
encoding?: false | "base64" | undefined;
|
2630
2532
|
mimetype?: string | undefined;
|
2533
|
+
encoding?: false | "base64" | undefined;
|
2631
2534
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2632
2535
|
module: Module;
|
2633
2536
|
filename: string;
|
@@ -2641,8 +2544,6 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2641
2544
|
}>, z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>]>>;
|
2642
2545
|
noParse: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodBoolean>]>, "many">]>>;
|
2643
2546
|
}, "strict", z.ZodTypeAny, {
|
2644
|
-
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2645
|
-
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2646
2547
|
parser?: {
|
2647
2548
|
css?: {
|
2648
2549
|
namedExports?: boolean | undefined;
|
@@ -2751,14 +2652,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2751
2652
|
asset?: {
|
2752
2653
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2753
2654
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2655
|
+
emit?: boolean | undefined;
|
2754
2656
|
dataUrl?: {
|
2755
|
-
encoding?: false | "base64" | undefined;
|
2756
2657
|
mimetype?: string | undefined;
|
2658
|
+
encoding?: false | "base64" | undefined;
|
2757
2659
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2758
2660
|
module: Module;
|
2759
2661
|
filename: string;
|
2760
2662
|
}, ...args: unknown[]) => string) | undefined;
|
2761
|
-
emit?: boolean | undefined;
|
2762
2663
|
} | undefined;
|
2763
2664
|
"css/auto"?: {
|
2764
2665
|
exportsOnly?: boolean | undefined;
|
@@ -2772,10 +2673,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2772
2673
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
2773
2674
|
localIdentName?: string | undefined;
|
2774
2675
|
} | undefined;
|
2676
|
+
json?: {
|
2677
|
+
JSONParse?: boolean | undefined;
|
2678
|
+
} | undefined;
|
2775
2679
|
"asset/inline"?: {
|
2776
2680
|
dataUrl?: {
|
2777
|
-
encoding?: false | "base64" | undefined;
|
2778
2681
|
mimetype?: string | undefined;
|
2682
|
+
encoding?: false | "base64" | undefined;
|
2779
2683
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2780
2684
|
module: Module;
|
2781
2685
|
filename: string;
|
@@ -2787,10 +2691,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2787
2691
|
emit?: boolean | undefined;
|
2788
2692
|
} | undefined;
|
2789
2693
|
} | undefined;
|
2694
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2695
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2790
2696
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
2791
2697
|
}, {
|
2792
|
-
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2793
|
-
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2794
2698
|
parser?: {
|
2795
2699
|
css?: {
|
2796
2700
|
namedExports?: boolean | undefined;
|
@@ -2899,14 +2803,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2899
2803
|
asset?: {
|
2900
2804
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2901
2805
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2806
|
+
emit?: boolean | undefined;
|
2902
2807
|
dataUrl?: {
|
2903
|
-
encoding?: false | "base64" | undefined;
|
2904
2808
|
mimetype?: string | undefined;
|
2809
|
+
encoding?: false | "base64" | undefined;
|
2905
2810
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2906
2811
|
module: Module;
|
2907
2812
|
filename: string;
|
2908
2813
|
}, ...args: unknown[]) => string) | undefined;
|
2909
|
-
emit?: boolean | undefined;
|
2910
2814
|
} | undefined;
|
2911
2815
|
"css/auto"?: {
|
2912
2816
|
exportsOnly?: boolean | undefined;
|
@@ -2920,10 +2824,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2920
2824
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
2921
2825
|
localIdentName?: string | undefined;
|
2922
2826
|
} | undefined;
|
2827
|
+
json?: {
|
2828
|
+
JSONParse?: boolean | undefined;
|
2829
|
+
} | undefined;
|
2923
2830
|
"asset/inline"?: {
|
2924
2831
|
dataUrl?: {
|
2925
|
-
encoding?: false | "base64" | undefined;
|
2926
2832
|
mimetype?: string | undefined;
|
2833
|
+
encoding?: false | "base64" | undefined;
|
2927
2834
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
2928
2835
|
module: Module;
|
2929
2836
|
filename: string;
|
@@ -2935,6 +2842,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2935
2842
|
emit?: boolean | undefined;
|
2936
2843
|
} | undefined;
|
2937
2844
|
} | undefined;
|
2845
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2846
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2938
2847
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
2939
2848
|
}>>;
|
2940
2849
|
profile: z.ZodOptional<z.ZodBoolean>;
|
@@ -2946,23 +2855,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
2946
2855
|
maxAssetSize: z.ZodOptional<z.ZodNumber>;
|
2947
2856
|
maxEntrypointSize: z.ZodOptional<z.ZodNumber>;
|
2948
2857
|
}, "strict", z.ZodTypeAny, {
|
2949
|
-
maxAssetSize?: number | undefined;
|
2950
2858
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
2951
2859
|
hints?: false | "error" | "warning" | undefined;
|
2860
|
+
maxAssetSize?: number | undefined;
|
2952
2861
|
maxEntrypointSize?: number | undefined;
|
2953
2862
|
}, {
|
2954
|
-
maxAssetSize?: number | undefined;
|
2955
2863
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
2956
2864
|
hints?: false | "error" | "warning" | undefined;
|
2865
|
+
maxAssetSize?: number | undefined;
|
2957
2866
|
maxEntrypointSize?: number | undefined;
|
2958
2867
|
}>, z.ZodLiteral<false>]>>;
|
2959
2868
|
}, "strict", z.ZodTypeAny, {
|
2960
|
-
dependencies?: string[] | undefined;
|
2961
|
-
context?: string | undefined;
|
2962
2869
|
name?: string | undefined;
|
2963
2870
|
module?: {
|
2964
|
-
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2965
|
-
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
2966
2871
|
parser?: {
|
2967
2872
|
css?: {
|
2968
2873
|
namedExports?: boolean | undefined;
|
@@ -3071,14 +2976,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3071
2976
|
asset?: {
|
3072
2977
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3073
2978
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
2979
|
+
emit?: boolean | undefined;
|
3074
2980
|
dataUrl?: {
|
3075
|
-
encoding?: false | "base64" | undefined;
|
3076
2981
|
mimetype?: string | undefined;
|
2982
|
+
encoding?: false | "base64" | undefined;
|
3077
2983
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
3078
2984
|
module: Module;
|
3079
2985
|
filename: string;
|
3080
2986
|
}, ...args: unknown[]) => string) | undefined;
|
3081
|
-
emit?: boolean | undefined;
|
3082
2987
|
} | undefined;
|
3083
2988
|
"css/auto"?: {
|
3084
2989
|
exportsOnly?: boolean | undefined;
|
@@ -3092,10 +2997,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3092
2997
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
3093
2998
|
localIdentName?: string | undefined;
|
3094
2999
|
} | undefined;
|
3000
|
+
json?: {
|
3001
|
+
JSONParse?: boolean | undefined;
|
3002
|
+
} | undefined;
|
3095
3003
|
"asset/inline"?: {
|
3096
3004
|
dataUrl?: {
|
3097
|
-
encoding?: false | "base64" | undefined;
|
3098
3005
|
mimetype?: string | undefined;
|
3006
|
+
encoding?: false | "base64" | undefined;
|
3099
3007
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
3100
3008
|
module: Module;
|
3101
3009
|
filename: string;
|
@@ -3107,8 +3015,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3107
3015
|
emit?: boolean | undefined;
|
3108
3016
|
} | undefined;
|
3109
3017
|
} | undefined;
|
3018
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3019
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3110
3020
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
3111
3021
|
} | undefined;
|
3022
|
+
resolve?: t.ResolveOptions | undefined;
|
3112
3023
|
profile?: boolean | undefined;
|
3113
3024
|
cache?: boolean | undefined;
|
3114
3025
|
amd?: false | Record<string, any> | undefined;
|
@@ -3118,11 +3029,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3118
3029
|
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
3119
3030
|
} | undefined;
|
3120
3031
|
performance?: false | {
|
3121
|
-
maxAssetSize?: number | undefined;
|
3122
3032
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
3123
3033
|
hints?: false | "error" | "warning" | undefined;
|
3034
|
+
maxAssetSize?: number | undefined;
|
3124
3035
|
maxEntrypointSize?: number | undefined;
|
3125
3036
|
} | undefined;
|
3037
|
+
context?: string | undefined;
|
3126
3038
|
mode?: "development" | "production" | "none" | undefined;
|
3127
3039
|
experiments?: {
|
3128
3040
|
css?: boolean | undefined;
|
@@ -3131,12 +3043,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3131
3043
|
} | {
|
3132
3044
|
type: "persistent";
|
3133
3045
|
version?: string | undefined;
|
3046
|
+
buildDependencies?: string[] | undefined;
|
3134
3047
|
snapshot?: {
|
3135
3048
|
immutablePaths?: (string | RegExp)[] | undefined;
|
3136
3049
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
3137
3050
|
managedPaths?: (string | RegExp)[] | undefined;
|
3138
3051
|
} | undefined;
|
3139
|
-
buildDependencies?: string[] | undefined;
|
3140
3052
|
storage?: {
|
3141
3053
|
type: "filesystem";
|
3142
3054
|
directory?: string | undefined;
|
@@ -3144,23 +3056,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3144
3056
|
} | undefined;
|
3145
3057
|
lazyCompilation?: boolean | {
|
3146
3058
|
entries?: boolean | undefined;
|
3147
|
-
backend?: {
|
3148
|
-
client?: string | undefined;
|
3149
|
-
listen?: number | {
|
3150
|
-
port?: number | undefined;
|
3151
|
-
host?: string | undefined;
|
3152
|
-
backlog?: number | undefined;
|
3153
|
-
path?: string | undefined;
|
3154
|
-
exclusive?: boolean | undefined;
|
3155
|
-
readableAll?: boolean | undefined;
|
3156
|
-
writableAll?: boolean | undefined;
|
3157
|
-
ipv6Only?: boolean | undefined;
|
3158
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
3159
|
-
protocol?: "http" | "https" | undefined;
|
3160
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
3161
|
-
} | undefined;
|
3162
3059
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
3163
3060
|
imports?: boolean | undefined;
|
3061
|
+
client?: string | undefined;
|
3062
|
+
serverUrl?: string | undefined;
|
3164
3063
|
} | undefined;
|
3165
3064
|
asyncWebAssembly?: boolean | undefined;
|
3166
3065
|
outputModule?: boolean | undefined;
|
@@ -3169,12 +3068,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3169
3068
|
incremental?: boolean | {
|
3170
3069
|
providedExports?: boolean | undefined;
|
3171
3070
|
make?: boolean | undefined;
|
3172
|
-
inferAsyncModules?: boolean | undefined;
|
3173
|
-
dependenciesDiagnostics?: boolean | undefined;
|
3174
3071
|
sideEffects?: boolean | undefined;
|
3175
|
-
buildChunkGraph?: boolean | undefined;
|
3176
3072
|
moduleIds?: boolean | undefined;
|
3177
3073
|
chunkIds?: boolean | undefined;
|
3074
|
+
inferAsyncModules?: boolean | undefined;
|
3075
|
+
dependenciesDiagnostics?: boolean | undefined;
|
3076
|
+
buildChunkGraph?: boolean | undefined;
|
3178
3077
|
modulesHashes?: boolean | undefined;
|
3179
3078
|
modulesCodegen?: boolean | undefined;
|
3180
3079
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -3194,16 +3093,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3194
3093
|
} | undefined;
|
3195
3094
|
} | undefined;
|
3196
3095
|
devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
|
3197
|
-
|
3096
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
3097
|
+
target?: false | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
3198
3098
|
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
3099
|
+
ids?: boolean | undefined;
|
3100
|
+
runtime?: boolean | undefined;
|
3101
|
+
hash?: boolean | undefined;
|
3199
3102
|
modules?: boolean | undefined;
|
3200
|
-
chunks?: boolean | undefined;
|
3201
3103
|
all?: boolean | undefined;
|
3202
3104
|
version?: boolean | undefined;
|
3203
|
-
runtime?: boolean | undefined;
|
3204
3105
|
publicPath?: boolean | undefined;
|
3205
3106
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
3206
3107
|
assets?: boolean | undefined;
|
3108
|
+
chunks?: boolean | undefined;
|
3207
3109
|
entrypoints?: boolean | "auto" | undefined;
|
3208
3110
|
chunkGroups?: boolean | undefined;
|
3209
3111
|
warnings?: boolean | undefined;
|
@@ -3211,12 +3113,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3211
3113
|
errors?: boolean | undefined;
|
3212
3114
|
errorsCount?: boolean | undefined;
|
3213
3115
|
colors?: boolean | undefined;
|
3214
|
-
hash?: boolean | undefined;
|
3215
3116
|
reasons?: boolean | undefined;
|
3216
3117
|
outputPath?: boolean | undefined;
|
3217
3118
|
chunkModules?: boolean | undefined;
|
3218
3119
|
chunkRelations?: boolean | undefined;
|
3219
|
-
ids?: boolean | undefined;
|
3220
3120
|
timings?: boolean | undefined;
|
3221
3121
|
builtAt?: boolean | undefined;
|
3222
3122
|
moduleAssets?: boolean | undefined;
|
@@ -3273,12 +3173,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3273
3173
|
errorsSpace?: number | undefined;
|
3274
3174
|
warningsSpace?: number | undefined;
|
3275
3175
|
} | undefined;
|
3276
|
-
|
3277
|
-
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
3278
|
-
target?: false | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
3176
|
+
dependencies?: string[] | undefined;
|
3279
3177
|
entry?: string | string[] | Record<string, string | string[] | {
|
3280
3178
|
import: string | string[];
|
3281
|
-
layer?: string | null | undefined;
|
3282
3179
|
runtime?: string | false | undefined;
|
3283
3180
|
chunkLoading?: string | false | undefined;
|
3284
3181
|
asyncChunks?: boolean | undefined;
|
@@ -3302,11 +3199,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3302
3199
|
export?: string | string[] | undefined;
|
3303
3200
|
umdNamedDefine?: boolean | undefined;
|
3304
3201
|
} | undefined;
|
3202
|
+
layer?: string | null | undefined;
|
3305
3203
|
wasmLoading?: string | false | undefined;
|
3306
3204
|
dependOn?: string | string[] | undefined;
|
3307
3205
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
3308
3206
|
import: string | string[];
|
3309
|
-
layer?: string | null | undefined;
|
3310
3207
|
runtime?: string | false | undefined;
|
3311
3208
|
chunkLoading?: string | false | undefined;
|
3312
3209
|
asyncChunks?: boolean | undefined;
|
@@ -3330,11 +3227,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3330
3227
|
export?: string | string[] | undefined;
|
3331
3228
|
umdNamedDefine?: boolean | undefined;
|
3332
3229
|
} | undefined;
|
3230
|
+
layer?: string | null | undefined;
|
3333
3231
|
wasmLoading?: string | false | undefined;
|
3334
3232
|
dependOn?: string | string[] | undefined;
|
3335
3233
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
3336
3234
|
import: string | string[];
|
3337
|
-
layer?: string | null | undefined;
|
3338
3235
|
runtime?: string | false | undefined;
|
3339
3236
|
chunkLoading?: string | false | undefined;
|
3340
3237
|
asyncChunks?: boolean | undefined;
|
@@ -3358,12 +3255,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3358
3255
|
export?: string | string[] | undefined;
|
3359
3256
|
umdNamedDefine?: boolean | undefined;
|
3360
3257
|
} | undefined;
|
3258
|
+
layer?: string | null | undefined;
|
3361
3259
|
wasmLoading?: string | false | undefined;
|
3362
3260
|
dependOn?: string | string[] | undefined;
|
3363
3261
|
}>>) | undefined;
|
3262
|
+
infrastructureLogging?: {
|
3263
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
3264
|
+
colors?: boolean | undefined;
|
3265
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
3266
|
+
console?: Console | undefined;
|
3267
|
+
appendOnly?: boolean | undefined;
|
3268
|
+
stream?: NodeJS.WritableStream | undefined;
|
3269
|
+
} | undefined;
|
3270
|
+
loader?: Record<string, any> | undefined;
|
3271
|
+
snapshot?: {} | undefined;
|
3272
|
+
extends?: string | string[] | undefined;
|
3364
3273
|
output?: {
|
3365
3274
|
module?: boolean | undefined;
|
3366
|
-
path?: string | undefined;
|
3367
3275
|
chunkLoading?: string | false | undefined;
|
3368
3276
|
asyncChunks?: boolean | undefined;
|
3369
3277
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -3398,11 +3306,28 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3398
3306
|
root?: string | undefined;
|
3399
3307
|
} | undefined;
|
3400
3308
|
umdNamedDefine?: boolean | undefined;
|
3309
|
+
path?: string | undefined;
|
3310
|
+
environment?: {
|
3311
|
+
module?: boolean | undefined;
|
3312
|
+
arrowFunction?: boolean | undefined;
|
3313
|
+
asyncFunction?: boolean | undefined;
|
3314
|
+
bigIntLiteral?: boolean | undefined;
|
3315
|
+
const?: boolean | undefined;
|
3316
|
+
destructuring?: boolean | undefined;
|
3317
|
+
document?: boolean | undefined;
|
3318
|
+
dynamicImport?: boolean | undefined;
|
3319
|
+
dynamicImportInWorker?: boolean | undefined;
|
3320
|
+
forOf?: boolean | undefined;
|
3321
|
+
globalThis?: boolean | undefined;
|
3322
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
3323
|
+
optionalChaining?: boolean | undefined;
|
3324
|
+
templateLiteral?: boolean | undefined;
|
3325
|
+
} | undefined;
|
3326
|
+
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3401
3327
|
pathinfo?: boolean | "verbose" | undefined;
|
3402
3328
|
clean?: boolean | {
|
3403
3329
|
keep?: string | undefined;
|
3404
3330
|
} | undefined;
|
3405
|
-
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3406
3331
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
3407
3332
|
cssFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3408
3333
|
cssChunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -3413,6 +3338,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3413
3338
|
uniqueName?: string | undefined;
|
3414
3339
|
chunkLoadingGlobal?: string | undefined;
|
3415
3340
|
enabledLibraryTypes?: string[] | undefined;
|
3341
|
+
libraryExport?: string | string[] | undefined;
|
3342
|
+
libraryTarget?: string | undefined;
|
3343
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
3416
3344
|
strictModuleErrorHandling?: boolean | undefined;
|
3417
3345
|
globalObject?: string | undefined;
|
3418
3346
|
importFunctionName?: string | undefined;
|
@@ -3438,80 +3366,54 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3438
3366
|
devtoolNamespace?: string | undefined;
|
3439
3367
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
3440
3368
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
3441
|
-
environment?: {
|
3442
|
-
module?: boolean | undefined;
|
3443
|
-
document?: boolean | undefined;
|
3444
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
3445
|
-
globalThis?: boolean | undefined;
|
3446
|
-
bigIntLiteral?: boolean | undefined;
|
3447
|
-
const?: boolean | undefined;
|
3448
|
-
arrowFunction?: boolean | undefined;
|
3449
|
-
forOf?: boolean | undefined;
|
3450
|
-
destructuring?: boolean | undefined;
|
3451
|
-
dynamicImport?: boolean | undefined;
|
3452
|
-
dynamicImportInWorker?: boolean | undefined;
|
3453
|
-
optionalChaining?: boolean | undefined;
|
3454
|
-
templateLiteral?: boolean | undefined;
|
3455
|
-
asyncFunction?: boolean | undefined;
|
3456
|
-
} | undefined;
|
3457
|
-
charset?: boolean | undefined;
|
3458
3369
|
chunkLoadTimeout?: number | undefined;
|
3370
|
+
charset?: boolean | undefined;
|
3459
3371
|
compareBeforeEmit?: boolean | undefined;
|
3460
|
-
libraryExport?: string | string[] | undefined;
|
3461
|
-
libraryTarget?: string | undefined;
|
3462
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
3463
3372
|
} | undefined;
|
3464
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
3465
3373
|
externalsType?: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined;
|
3466
3374
|
externalsPresets?: {
|
3467
3375
|
web?: boolean | undefined;
|
3468
3376
|
node?: boolean | undefined;
|
3469
3377
|
nwjs?: boolean | undefined;
|
3378
|
+
webAsync?: boolean | undefined;
|
3470
3379
|
electron?: boolean | undefined;
|
3471
3380
|
electronMain?: boolean | undefined;
|
3472
3381
|
electronPreload?: boolean | undefined;
|
3473
3382
|
electronRenderer?: boolean | undefined;
|
3474
|
-
webAsync?: boolean | undefined;
|
3475
3383
|
} | undefined;
|
3476
|
-
|
3477
|
-
|
3478
|
-
|
3479
|
-
|
3480
|
-
|
3481
|
-
|
3482
|
-
|
3384
|
+
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
3385
|
+
watchOptions?: {
|
3386
|
+
aggregateTimeout?: number | undefined;
|
3387
|
+
followSymlinks?: boolean | undefined;
|
3388
|
+
ignored?: string | RegExp | string[] | undefined;
|
3389
|
+
poll?: number | boolean | undefined;
|
3390
|
+
stdin?: boolean | undefined;
|
3483
3391
|
} | undefined;
|
3484
|
-
|
3392
|
+
watch?: boolean | undefined;
|
3485
3393
|
optimization?: {
|
3486
3394
|
usedExports?: boolean | "global" | undefined;
|
3487
3395
|
providedExports?: boolean | undefined;
|
3488
|
-
sideEffects?: boolean | "flag" | undefined;
|
3489
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
3490
|
-
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
3491
|
-
minimize?: boolean | undefined;
|
3492
|
-
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
3493
|
-
mergeDuplicateChunks?: boolean | undefined;
|
3494
3396
|
splitChunks?: false | {
|
3495
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
3496
3397
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
3497
3398
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3399
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
3498
3400
|
usedExports?: boolean | undefined;
|
3499
3401
|
defaultSizeTypes?: string[] | undefined;
|
3500
3402
|
cacheGroups?: Record<string, false | {
|
3501
|
-
type?: string | RegExp | undefined;
|
3502
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
3503
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
3504
3403
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
3505
3404
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3405
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
3406
|
+
type?: string | RegExp | undefined;
|
3407
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
3506
3408
|
usedExports?: boolean | undefined;
|
3507
3409
|
defaultSizeTypes?: string[] | undefined;
|
3508
|
-
maxSize?: number | Record<string, number> | undefined;
|
3509
3410
|
priority?: number | undefined;
|
3510
3411
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
3511
3412
|
moduleGraph: ModuleGraph;
|
3512
3413
|
chunkGraph: ChunkGraph;
|
3513
3414
|
}, ...args: unknown[]) => boolean) | undefined;
|
3514
3415
|
minSize?: number | Record<string, number> | undefined;
|
3416
|
+
maxSize?: number | Record<string, number> | undefined;
|
3515
3417
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
3516
3418
|
maxInitialSize?: number | Record<string, number> | undefined;
|
3517
3419
|
minChunks?: number | undefined;
|
@@ -3522,16 +3424,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3522
3424
|
reuseExistingChunk?: boolean | undefined;
|
3523
3425
|
idHint?: string | undefined;
|
3524
3426
|
}> | undefined;
|
3525
|
-
maxSize?: number | Record<string, number> | undefined;
|
3526
3427
|
fallbackCacheGroup?: {
|
3527
3428
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
3528
|
-
maxSize?: number | undefined;
|
3529
3429
|
minSize?: number | undefined;
|
3430
|
+
maxSize?: number | undefined;
|
3530
3431
|
maxAsyncSize?: number | undefined;
|
3531
3432
|
maxInitialSize?: number | undefined;
|
3532
3433
|
automaticNameDelimiter?: string | undefined;
|
3533
3434
|
} | undefined;
|
3534
3435
|
minSize?: number | Record<string, number> | undefined;
|
3436
|
+
maxSize?: number | Record<string, number> | undefined;
|
3535
3437
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
3536
3438
|
maxInitialSize?: number | Record<string, number> | undefined;
|
3537
3439
|
hidePathInfo?: boolean | undefined;
|
@@ -3540,6 +3442,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3540
3442
|
maxInitialRequests?: number | undefined;
|
3541
3443
|
automaticNameDelimiter?: string | undefined;
|
3542
3444
|
} | undefined;
|
3445
|
+
minimize?: boolean | undefined;
|
3446
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
3447
|
+
sideEffects?: boolean | "flag" | undefined;
|
3448
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
3449
|
+
chunkIds?: "named" | "natural" | "deterministic" | "size" | "total-size" | undefined;
|
3450
|
+
mergeDuplicateChunks?: boolean | undefined;
|
3543
3451
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
3544
3452
|
name?: string | ((args_0: {
|
3545
3453
|
name: string;
|
@@ -3550,30 +3458,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3550
3458
|
realContentHash?: boolean | undefined;
|
3551
3459
|
concatenateModules?: boolean | undefined;
|
3552
3460
|
innerGraph?: boolean | undefined;
|
3553
|
-
mangleExports?: boolean | "
|
3461
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
3554
3462
|
nodeEnv?: string | false | undefined;
|
3555
3463
|
emitOnErrors?: boolean | undefined;
|
3556
3464
|
avoidEntryIife?: boolean | undefined;
|
3557
3465
|
} | undefined;
|
3466
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
3558
3467
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
3559
|
-
watch?: boolean | undefined;
|
3560
|
-
watchOptions?: {
|
3561
|
-
aggregateTimeout?: number | undefined;
|
3562
|
-
followSymlinks?: boolean | undefined;
|
3563
|
-
ignored?: string | RegExp | string[] | undefined;
|
3564
|
-
poll?: number | boolean | undefined;
|
3565
|
-
stdin?: boolean | undefined;
|
3566
|
-
} | undefined;
|
3567
3468
|
devServer?: t.DevServer | undefined;
|
3568
|
-
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
3569
3469
|
bail?: boolean | undefined;
|
3570
3470
|
}, {
|
3571
|
-
dependencies?: string[] | undefined;
|
3572
|
-
context?: string | undefined;
|
3573
3471
|
name?: string | undefined;
|
3574
3472
|
module?: {
|
3575
|
-
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3576
|
-
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3577
3473
|
parser?: {
|
3578
3474
|
css?: {
|
3579
3475
|
namedExports?: boolean | undefined;
|
@@ -3682,14 +3578,14 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3682
3578
|
asset?: {
|
3683
3579
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3684
3580
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
3581
|
+
emit?: boolean | undefined;
|
3685
3582
|
dataUrl?: {
|
3686
|
-
encoding?: false | "base64" | undefined;
|
3687
3583
|
mimetype?: string | undefined;
|
3584
|
+
encoding?: false | "base64" | undefined;
|
3688
3585
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
3689
3586
|
module: Module;
|
3690
3587
|
filename: string;
|
3691
3588
|
}, ...args: unknown[]) => string) | undefined;
|
3692
|
-
emit?: boolean | undefined;
|
3693
3589
|
} | undefined;
|
3694
3590
|
"css/auto"?: {
|
3695
3591
|
exportsOnly?: boolean | undefined;
|
@@ -3703,10 +3599,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3703
3599
|
exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" | undefined;
|
3704
3600
|
localIdentName?: string | undefined;
|
3705
3601
|
} | undefined;
|
3602
|
+
json?: {
|
3603
|
+
JSONParse?: boolean | undefined;
|
3604
|
+
} | undefined;
|
3706
3605
|
"asset/inline"?: {
|
3707
3606
|
dataUrl?: {
|
3708
|
-
encoding?: false | "base64" | undefined;
|
3709
3607
|
mimetype?: string | undefined;
|
3608
|
+
encoding?: false | "base64" | undefined;
|
3710
3609
|
} | ((args_0: Buffer<ArrayBufferLike>, args_1: {
|
3711
3610
|
module: Module;
|
3712
3611
|
filename: string;
|
@@ -3718,8 +3617,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3718
3617
|
emit?: boolean | undefined;
|
3719
3618
|
} | undefined;
|
3720
3619
|
} | undefined;
|
3620
|
+
rules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3621
|
+
defaultRules?: (false | "" | 0 | t.RuleSetRule | "..." | null | undefined)[] | undefined;
|
3721
3622
|
noParse?: string | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
3722
3623
|
} | undefined;
|
3624
|
+
resolve?: t.ResolveOptions | undefined;
|
3723
3625
|
profile?: boolean | undefined;
|
3724
3626
|
cache?: boolean | undefined;
|
3725
3627
|
amd?: false | Record<string, any> | undefined;
|
@@ -3729,11 +3631,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3729
3631
|
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | "node-module" | undefined;
|
3730
3632
|
} | undefined;
|
3731
3633
|
performance?: false | {
|
3732
|
-
maxAssetSize?: number | undefined;
|
3733
3634
|
assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
|
3734
3635
|
hints?: false | "error" | "warning" | undefined;
|
3636
|
+
maxAssetSize?: number | undefined;
|
3735
3637
|
maxEntrypointSize?: number | undefined;
|
3736
3638
|
} | undefined;
|
3639
|
+
context?: string | undefined;
|
3737
3640
|
mode?: "development" | "production" | "none" | undefined;
|
3738
3641
|
experiments?: {
|
3739
3642
|
css?: boolean | undefined;
|
@@ -3742,12 +3645,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3742
3645
|
} | {
|
3743
3646
|
type: "persistent";
|
3744
3647
|
version?: string | undefined;
|
3648
|
+
buildDependencies?: string[] | undefined;
|
3745
3649
|
snapshot?: {
|
3746
3650
|
immutablePaths?: (string | RegExp)[] | undefined;
|
3747
3651
|
unmanagedPaths?: (string | RegExp)[] | undefined;
|
3748
3652
|
managedPaths?: (string | RegExp)[] | undefined;
|
3749
3653
|
} | undefined;
|
3750
|
-
buildDependencies?: string[] | undefined;
|
3751
3654
|
storage?: {
|
3752
3655
|
type: "filesystem";
|
3753
3656
|
directory?: string | undefined;
|
@@ -3755,23 +3658,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3755
3658
|
} | undefined;
|
3756
3659
|
lazyCompilation?: boolean | {
|
3757
3660
|
entries?: boolean | undefined;
|
3758
|
-
backend?: {
|
3759
|
-
client?: string | undefined;
|
3760
|
-
listen?: number | {
|
3761
|
-
port?: number | undefined;
|
3762
|
-
host?: string | undefined;
|
3763
|
-
backlog?: number | undefined;
|
3764
|
-
path?: string | undefined;
|
3765
|
-
exclusive?: boolean | undefined;
|
3766
|
-
readableAll?: boolean | undefined;
|
3767
|
-
writableAll?: boolean | undefined;
|
3768
|
-
ipv6Only?: boolean | undefined;
|
3769
|
-
} | ((args_0: any, ...args: unknown[]) => void) | undefined;
|
3770
|
-
protocol?: "http" | "https" | undefined;
|
3771
|
-
server?: Record<string, any> | ((...args: unknown[]) => any) | undefined;
|
3772
|
-
} | undefined;
|
3773
3661
|
test?: RegExp | ((args_0: Module, ...args: unknown[]) => boolean) | undefined;
|
3774
3662
|
imports?: boolean | undefined;
|
3663
|
+
client?: string | undefined;
|
3664
|
+
serverUrl?: string | undefined;
|
3775
3665
|
} | undefined;
|
3776
3666
|
asyncWebAssembly?: boolean | undefined;
|
3777
3667
|
outputModule?: boolean | undefined;
|
@@ -3780,12 +3670,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3780
3670
|
incremental?: boolean | {
|
3781
3671
|
providedExports?: boolean | undefined;
|
3782
3672
|
make?: boolean | undefined;
|
3783
|
-
inferAsyncModules?: boolean | undefined;
|
3784
|
-
dependenciesDiagnostics?: boolean | undefined;
|
3785
3673
|
sideEffects?: boolean | undefined;
|
3786
|
-
buildChunkGraph?: boolean | undefined;
|
3787
3674
|
moduleIds?: boolean | undefined;
|
3788
3675
|
chunkIds?: boolean | undefined;
|
3676
|
+
inferAsyncModules?: boolean | undefined;
|
3677
|
+
dependenciesDiagnostics?: boolean | undefined;
|
3678
|
+
buildChunkGraph?: boolean | undefined;
|
3789
3679
|
modulesHashes?: boolean | undefined;
|
3790
3680
|
modulesCodegen?: boolean | undefined;
|
3791
3681
|
modulesRuntimeRequirements?: boolean | undefined;
|
@@ -3805,16 +3695,19 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3805
3695
|
} | undefined;
|
3806
3696
|
} | undefined;
|
3807
3697
|
devtool?: false | "eval" | "cheap-source-map" | "cheap-module-source-map" | "source-map" | "inline-cheap-source-map" | "inline-cheap-module-source-map" | "inline-source-map" | "inline-nosources-cheap-source-map" | "inline-nosources-cheap-module-source-map" | "inline-nosources-source-map" | "nosources-cheap-source-map" | "nosources-cheap-module-source-map" | "nosources-source-map" | "hidden-nosources-cheap-source-map" | "hidden-nosources-cheap-module-source-map" | "hidden-nosources-source-map" | "hidden-cheap-source-map" | "hidden-cheap-module-source-map" | "hidden-source-map" | "eval-cheap-source-map" | "eval-cheap-module-source-map" | "eval-source-map" | "eval-nosources-cheap-source-map" | "eval-nosources-cheap-module-source-map" | "eval-nosources-source-map" | undefined;
|
3808
|
-
|
3698
|
+
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
3699
|
+
target?: false | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
3809
3700
|
stats?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | {
|
3701
|
+
ids?: boolean | undefined;
|
3702
|
+
runtime?: boolean | undefined;
|
3703
|
+
hash?: boolean | undefined;
|
3810
3704
|
modules?: boolean | undefined;
|
3811
|
-
chunks?: boolean | undefined;
|
3812
3705
|
all?: boolean | undefined;
|
3813
3706
|
version?: boolean | undefined;
|
3814
|
-
runtime?: boolean | undefined;
|
3815
3707
|
publicPath?: boolean | undefined;
|
3816
3708
|
preset?: boolean | "none" | "verbose" | "normal" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
3817
3709
|
assets?: boolean | undefined;
|
3710
|
+
chunks?: boolean | undefined;
|
3818
3711
|
entrypoints?: boolean | "auto" | undefined;
|
3819
3712
|
chunkGroups?: boolean | undefined;
|
3820
3713
|
warnings?: boolean | undefined;
|
@@ -3822,12 +3715,10 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3822
3715
|
errors?: boolean | undefined;
|
3823
3716
|
errorsCount?: boolean | undefined;
|
3824
3717
|
colors?: boolean | undefined;
|
3825
|
-
hash?: boolean | undefined;
|
3826
3718
|
reasons?: boolean | undefined;
|
3827
3719
|
outputPath?: boolean | undefined;
|
3828
3720
|
chunkModules?: boolean | undefined;
|
3829
3721
|
chunkRelations?: boolean | undefined;
|
3830
|
-
ids?: boolean | undefined;
|
3831
3722
|
timings?: boolean | undefined;
|
3832
3723
|
builtAt?: boolean | undefined;
|
3833
3724
|
moduleAssets?: boolean | undefined;
|
@@ -3884,12 +3775,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3884
3775
|
errorsSpace?: number | undefined;
|
3885
3776
|
warningsSpace?: number | undefined;
|
3886
3777
|
} | undefined;
|
3887
|
-
|
3888
|
-
externals?: string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue) | (string | RegExp | Record<string, string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue> | ((args_0: t.ExternalItemFunctionData, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue | undefined, args_2: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined, ...args: unknown[]) => void, ...args: unknown[]) => unknown) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => Promise<string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue>) | ((args_0: t.ExternalItemFunctionData, ...args: unknown[]) => string | boolean | string[] | t.ExternalItemUmdValue | t.ExternalItemObjectValue))[] | undefined;
|
3889
|
-
target?: false | "async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist" | ("async-node" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | `electron${number}-main` | `electron${number}.${number}-main` | `electron${number}-renderer` | `electron${number}.${number}-renderer` | `electron${number}-preload` | `electron${number}.${number}-preload` | `nwjs${number}` | `nwjs${number}.${number}` | `node-webkit${number}` | `node-webkit${number}.${number}` | `browserslist:${string}` | "web" | "webworker" | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "electron-main" | "electron-renderer" | "electron-preload" | "nwjs" | "node-webkit" | "browserslist")[] | undefined;
|
3778
|
+
dependencies?: string[] | undefined;
|
3890
3779
|
entry?: string | string[] | Record<string, string | string[] | {
|
3891
3780
|
import: string | string[];
|
3892
|
-
layer?: string | null | undefined;
|
3893
3781
|
runtime?: string | false | undefined;
|
3894
3782
|
chunkLoading?: string | false | undefined;
|
3895
3783
|
asyncChunks?: boolean | undefined;
|
@@ -3913,11 +3801,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3913
3801
|
export?: string | string[] | undefined;
|
3914
3802
|
umdNamedDefine?: boolean | undefined;
|
3915
3803
|
} | undefined;
|
3804
|
+
layer?: string | null | undefined;
|
3916
3805
|
wasmLoading?: string | false | undefined;
|
3917
3806
|
dependOn?: string | string[] | undefined;
|
3918
3807
|
}> | ((...args: unknown[]) => string | string[] | Record<string, string | string[] | {
|
3919
3808
|
import: string | string[];
|
3920
|
-
layer?: string | null | undefined;
|
3921
3809
|
runtime?: string | false | undefined;
|
3922
3810
|
chunkLoading?: string | false | undefined;
|
3923
3811
|
asyncChunks?: boolean | undefined;
|
@@ -3941,11 +3829,11 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3941
3829
|
export?: string | string[] | undefined;
|
3942
3830
|
umdNamedDefine?: boolean | undefined;
|
3943
3831
|
} | undefined;
|
3832
|
+
layer?: string | null | undefined;
|
3944
3833
|
wasmLoading?: string | false | undefined;
|
3945
3834
|
dependOn?: string | string[] | undefined;
|
3946
3835
|
}> | Promise<string | string[] | Record<string, string | string[] | {
|
3947
3836
|
import: string | string[];
|
3948
|
-
layer?: string | null | undefined;
|
3949
3837
|
runtime?: string | false | undefined;
|
3950
3838
|
chunkLoading?: string | false | undefined;
|
3951
3839
|
asyncChunks?: boolean | undefined;
|
@@ -3969,12 +3857,23 @@ export declare const rspackOptions: z.ZodObject<{
|
|
3969
3857
|
export?: string | string[] | undefined;
|
3970
3858
|
umdNamedDefine?: boolean | undefined;
|
3971
3859
|
} | undefined;
|
3860
|
+
layer?: string | null | undefined;
|
3972
3861
|
wasmLoading?: string | false | undefined;
|
3973
3862
|
dependOn?: string | string[] | undefined;
|
3974
3863
|
}>>) | undefined;
|
3864
|
+
infrastructureLogging?: {
|
3865
|
+
debug?: string | boolean | RegExp | ((args_0: string, ...args: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args: unknown[]) => boolean))[] | undefined;
|
3866
|
+
colors?: boolean | undefined;
|
3867
|
+
level?: "error" | "warn" | "info" | "log" | "none" | "verbose" | undefined;
|
3868
|
+
console?: Console | undefined;
|
3869
|
+
appendOnly?: boolean | undefined;
|
3870
|
+
stream?: NodeJS.WritableStream | undefined;
|
3871
|
+
} | undefined;
|
3872
|
+
loader?: Record<string, any> | undefined;
|
3873
|
+
snapshot?: {} | undefined;
|
3874
|
+
extends?: string | string[] | undefined;
|
3975
3875
|
output?: {
|
3976
3876
|
module?: boolean | undefined;
|
3977
|
-
path?: string | undefined;
|
3978
3877
|
chunkLoading?: string | false | undefined;
|
3979
3878
|
asyncChunks?: boolean | undefined;
|
3980
3879
|
publicPath?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -4009,11 +3908,28 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4009
3908
|
root?: string | undefined;
|
4010
3909
|
} | undefined;
|
4011
3910
|
umdNamedDefine?: boolean | undefined;
|
3911
|
+
path?: string | undefined;
|
3912
|
+
environment?: {
|
3913
|
+
module?: boolean | undefined;
|
3914
|
+
arrowFunction?: boolean | undefined;
|
3915
|
+
asyncFunction?: boolean | undefined;
|
3916
|
+
bigIntLiteral?: boolean | undefined;
|
3917
|
+
const?: boolean | undefined;
|
3918
|
+
destructuring?: boolean | undefined;
|
3919
|
+
document?: boolean | undefined;
|
3920
|
+
dynamicImport?: boolean | undefined;
|
3921
|
+
dynamicImportInWorker?: boolean | undefined;
|
3922
|
+
forOf?: boolean | undefined;
|
3923
|
+
globalThis?: boolean | undefined;
|
3924
|
+
nodePrefixForCoreModules?: boolean | undefined;
|
3925
|
+
optionalChaining?: boolean | undefined;
|
3926
|
+
templateLiteral?: boolean | undefined;
|
3927
|
+
} | undefined;
|
3928
|
+
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
4012
3929
|
pathinfo?: boolean | "verbose" | undefined;
|
4013
3930
|
clean?: boolean | {
|
4014
3931
|
keep?: string | undefined;
|
4015
3932
|
} | undefined;
|
4016
|
-
chunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
4017
3933
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
4018
3934
|
cssFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
4019
3935
|
cssChunkFilename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
@@ -4024,6 +3940,9 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4024
3940
|
uniqueName?: string | undefined;
|
4025
3941
|
chunkLoadingGlobal?: string | undefined;
|
4026
3942
|
enabledLibraryTypes?: string[] | undefined;
|
3943
|
+
libraryExport?: string | string[] | undefined;
|
3944
|
+
libraryTarget?: string | undefined;
|
3945
|
+
strictModuleExceptionHandling?: boolean | undefined;
|
4027
3946
|
strictModuleErrorHandling?: boolean | undefined;
|
4028
3947
|
globalObject?: string | undefined;
|
4029
3948
|
importFunctionName?: string | undefined;
|
@@ -4049,80 +3968,54 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4049
3968
|
devtoolNamespace?: string | undefined;
|
4050
3969
|
devtoolModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
4051
3970
|
devtoolFallbackModuleFilenameTemplate?: string | ((args_0: any) => any) | undefined;
|
4052
|
-
environment?: {
|
4053
|
-
module?: boolean | undefined;
|
4054
|
-
document?: boolean | undefined;
|
4055
|
-
nodePrefixForCoreModules?: boolean | undefined;
|
4056
|
-
globalThis?: boolean | undefined;
|
4057
|
-
bigIntLiteral?: boolean | undefined;
|
4058
|
-
const?: boolean | undefined;
|
4059
|
-
arrowFunction?: boolean | undefined;
|
4060
|
-
forOf?: boolean | undefined;
|
4061
|
-
destructuring?: boolean | undefined;
|
4062
|
-
dynamicImport?: boolean | undefined;
|
4063
|
-
dynamicImportInWorker?: boolean | undefined;
|
4064
|
-
optionalChaining?: boolean | undefined;
|
4065
|
-
templateLiteral?: boolean | undefined;
|
4066
|
-
asyncFunction?: boolean | undefined;
|
4067
|
-
} | undefined;
|
4068
|
-
charset?: boolean | undefined;
|
4069
3971
|
chunkLoadTimeout?: number | undefined;
|
3972
|
+
charset?: boolean | undefined;
|
4070
3973
|
compareBeforeEmit?: boolean | undefined;
|
4071
|
-
libraryExport?: string | string[] | undefined;
|
4072
|
-
libraryTarget?: string | undefined;
|
4073
|
-
strictModuleExceptionHandling?: boolean | undefined;
|
4074
3974
|
} | undefined;
|
4075
|
-
resolveLoader?: t.ResolveOptions | undefined;
|
4076
3975
|
externalsType?: "module" | "jsonp" | "import" | "var" | "assign" | "this" | "window" | "self" | "global" | "commonjs" | "commonjs2" | "commonjs-module" | "commonjs-static" | "amd" | "amd-require" | "umd" | "umd2" | "system" | "promise" | "module-import" | "script" | "node-commonjs" | "commonjs-import" | undefined;
|
4077
3976
|
externalsPresets?: {
|
4078
3977
|
web?: boolean | undefined;
|
4079
3978
|
node?: boolean | undefined;
|
4080
3979
|
nwjs?: boolean | undefined;
|
3980
|
+
webAsync?: boolean | undefined;
|
4081
3981
|
electron?: boolean | undefined;
|
4082
3982
|
electronMain?: boolean | undefined;
|
4083
3983
|
electronPreload?: boolean | undefined;
|
4084
3984
|
electronRenderer?: boolean | undefined;
|
4085
|
-
webAsync?: boolean | undefined;
|
4086
3985
|
} | undefined;
|
4087
|
-
|
4088
|
-
|
4089
|
-
|
4090
|
-
|
4091
|
-
|
4092
|
-
|
4093
|
-
|
3986
|
+
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
3987
|
+
watchOptions?: {
|
3988
|
+
aggregateTimeout?: number | undefined;
|
3989
|
+
followSymlinks?: boolean | undefined;
|
3990
|
+
ignored?: string | RegExp | string[] | undefined;
|
3991
|
+
poll?: number | boolean | undefined;
|
3992
|
+
stdin?: boolean | undefined;
|
4094
3993
|
} | undefined;
|
4095
|
-
|
3994
|
+
watch?: boolean | undefined;
|
4096
3995
|
optimization?: {
|
4097
3996
|
usedExports?: boolean | "global" | undefined;
|
4098
3997
|
providedExports?: boolean | undefined;
|
4099
|
-
sideEffects?: boolean | "flag" | undefined;
|
4100
|
-
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
4101
|
-
chunkIds?: "size" | "named" | "natural" | "deterministic" | "total-size" | undefined;
|
4102
|
-
minimize?: boolean | undefined;
|
4103
|
-
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
4104
|
-
mergeDuplicateChunks?: boolean | undefined;
|
4105
3998
|
splitChunks?: false | {
|
4106
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
4107
3999
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
4108
4000
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
4001
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
4109
4002
|
usedExports?: boolean | undefined;
|
4110
4003
|
defaultSizeTypes?: string[] | undefined;
|
4111
4004
|
cacheGroups?: Record<string, false | {
|
4112
|
-
type?: string | RegExp | undefined;
|
4113
|
-
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
4114
|
-
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
4115
4005
|
name?: string | false | ((args_0: Module, args_1: Chunk[], args_2: string, ...args: unknown[]) => string | undefined) | undefined;
|
4116
4006
|
filename?: string | ((args_0: PathData, args_1: AssetInfo | undefined, ...args: unknown[]) => string) | undefined;
|
4007
|
+
layer?: string | RegExp | ((args_0: string | undefined) => boolean) | undefined;
|
4008
|
+
type?: string | RegExp | undefined;
|
4009
|
+
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
4117
4010
|
usedExports?: boolean | undefined;
|
4118
4011
|
defaultSizeTypes?: string[] | undefined;
|
4119
|
-
maxSize?: number | Record<string, number> | undefined;
|
4120
4012
|
priority?: number | undefined;
|
4121
4013
|
test?: string | RegExp | ((args_0: Module, args_1: {
|
4122
4014
|
moduleGraph: ModuleGraph;
|
4123
4015
|
chunkGraph: ChunkGraph;
|
4124
4016
|
}, ...args: unknown[]) => boolean) | undefined;
|
4125
4017
|
minSize?: number | Record<string, number> | undefined;
|
4018
|
+
maxSize?: number | Record<string, number> | undefined;
|
4126
4019
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
4127
4020
|
maxInitialSize?: number | Record<string, number> | undefined;
|
4128
4021
|
minChunks?: number | undefined;
|
@@ -4133,16 +4026,16 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4133
4026
|
reuseExistingChunk?: boolean | undefined;
|
4134
4027
|
idHint?: string | undefined;
|
4135
4028
|
}> | undefined;
|
4136
|
-
maxSize?: number | Record<string, number> | undefined;
|
4137
4029
|
fallbackCacheGroup?: {
|
4138
4030
|
chunks?: RegExp | "initial" | "async" | "all" | ((args_0: Chunk, ...args: unknown[]) => boolean) | undefined;
|
4139
|
-
maxSize?: number | undefined;
|
4140
4031
|
minSize?: number | undefined;
|
4032
|
+
maxSize?: number | undefined;
|
4141
4033
|
maxAsyncSize?: number | undefined;
|
4142
4034
|
maxInitialSize?: number | undefined;
|
4143
4035
|
automaticNameDelimiter?: string | undefined;
|
4144
4036
|
} | undefined;
|
4145
4037
|
minSize?: number | Record<string, number> | undefined;
|
4038
|
+
maxSize?: number | Record<string, number> | undefined;
|
4146
4039
|
maxAsyncSize?: number | Record<string, number> | undefined;
|
4147
4040
|
maxInitialSize?: number | Record<string, number> | undefined;
|
4148
4041
|
hidePathInfo?: boolean | undefined;
|
@@ -4151,6 +4044,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4151
4044
|
maxInitialRequests?: number | undefined;
|
4152
4045
|
automaticNameDelimiter?: string | undefined;
|
4153
4046
|
} | undefined;
|
4047
|
+
minimize?: boolean | undefined;
|
4048
|
+
minimizer?: (false | "" | 0 | "..." | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
4049
|
+
sideEffects?: boolean | "flag" | undefined;
|
4050
|
+
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
4051
|
+
chunkIds?: "named" | "natural" | "deterministic" | "size" | "total-size" | undefined;
|
4052
|
+
mergeDuplicateChunks?: boolean | undefined;
|
4154
4053
|
runtimeChunk?: boolean | "single" | "multiple" | {
|
4155
4054
|
name?: string | ((args_0: {
|
4156
4055
|
name: string;
|
@@ -4161,21 +4060,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
4161
4060
|
realContentHash?: boolean | undefined;
|
4162
4061
|
concatenateModules?: boolean | undefined;
|
4163
4062
|
innerGraph?: boolean | undefined;
|
4164
|
-
mangleExports?: boolean | "
|
4063
|
+
mangleExports?: boolean | "deterministic" | "size" | undefined;
|
4165
4064
|
nodeEnv?: string | false | undefined;
|
4166
4065
|
emitOnErrors?: boolean | undefined;
|
4167
4066
|
avoidEntryIife?: boolean | undefined;
|
4168
4067
|
} | undefined;
|
4068
|
+
resolveLoader?: t.ResolveOptions | undefined;
|
4169
4069
|
plugins?: (false | "" | 0 | t.RspackPluginInstance | t.WebpackPluginInstance | t.RspackPluginFunction | t.WebpackPluginFunction | null | undefined)[] | undefined;
|
4170
|
-
watch?: boolean | undefined;
|
4171
|
-
watchOptions?: {
|
4172
|
-
aggregateTimeout?: number | undefined;
|
4173
|
-
followSymlinks?: boolean | undefined;
|
4174
|
-
ignored?: string | RegExp | string[] | undefined;
|
4175
|
-
poll?: number | boolean | undefined;
|
4176
|
-
stdin?: boolean | undefined;
|
4177
|
-
} | undefined;
|
4178
4070
|
devServer?: t.DevServer | undefined;
|
4179
|
-
ignoreWarnings?: (RegExp | ((args_0: Error, args_1: Compilation, ...args: unknown[]) => boolean))[] | undefined;
|
4180
4071
|
bail?: boolean | undefined;
|
4181
4072
|
}>;
|