@rspack/core 1.0.0-beta.1 → 1.0.0-beta.3
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/ChunkGroup.d.ts +1 -0
- package/dist/ChunkGroup.js +3 -0
- package/dist/Compilation.d.ts +38 -1
- package/dist/Compilation.js +109 -44
- package/dist/Compiler.d.ts +1 -0
- package/dist/Compiler.js +31 -26
- package/dist/ExecuteModulePlugin.d.ts +0 -1
- package/dist/ExecuteModulePlugin.js +0 -1
- package/dist/Module.d.ts +1 -2
- package/dist/Module.js +0 -1
- package/dist/MultiCompiler.js +11 -7
- package/dist/MultiStats.d.ts +1 -1
- package/dist/MultiStats.js +19 -16
- package/dist/NormalModule.js +3 -4
- package/dist/Resolver.d.ts +1 -2
- package/dist/RspackError.js +1 -1
- package/dist/Stats.d.ts +1 -1
- package/dist/Stats.js +22 -2
- package/dist/Template.d.ts +4 -4
- package/dist/Template.js +8 -6
- package/dist/Watching.js +3 -5
- package/dist/builtin-loader/lightningcss/index.js +1 -1
- package/dist/builtin-plugin/DefinePlugin.js +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +11 -10
- package/dist/builtin-plugin/DynamicEntryPlugin.js +26 -15
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.js +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.js +1 -6
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.js +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ExternalsPlugin.js +1 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +0 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.js +1 -1
- package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.d.ts +21 -4
- package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.js +29 -5
- package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +4 -6
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +17 -12
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.js +11 -9
- package/dist/builtin-plugin/css-extract/hmr/hotModuleReplacement.js +13 -11
- package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/hmr/normalizeUrl.js +9 -7
- package/dist/builtin-plugin/css-extract/loader.js +5 -12
- package/dist/builtin-plugin/lazy-compilation/backend.js +4 -4
- package/dist/config/adapter.d.ts +2 -2
- package/dist/config/adapter.js +1 -0
- package/dist/config/adapterRuleUse.d.ts +2 -6
- package/dist/config/adapterRuleUse.js +7 -6
- package/dist/config/defaults.js +21 -32
- package/dist/config/normalization.d.ts +1 -0
- package/dist/config/normalization.js +5 -2
- package/dist/config/zod.d.ts +762 -114
- package/dist/config/zod.js +29 -6
- package/dist/container/default.runtime.js +1 -1
- package/dist/exports.d.ts +4 -3
- package/dist/exports.js +5 -2
- package/dist/lib/AbstractMethodError.js +2 -3
- package/dist/lib/Cache.d.ts +1 -1
- package/dist/lib/Cache.js +6 -4
- package/dist/lib/CacheFacade.js +8 -9
- package/dist/lib/Dependency.d.ts +23 -0
- package/dist/lib/Dependency.js +11 -0
- package/dist/lib/EnvironmentPlugin.js +1 -3
- package/dist/lib/LoaderOptionsPlugin.d.ts +4 -2
- package/dist/lib/LoaderOptionsPlugin.js +0 -2
- package/dist/lib/ModuleFilenameHelpers.js +1 -1
- package/dist/lib/WebpackError.d.ts +0 -6
- package/dist/lib/WebpackError.js +0 -8
- package/dist/lib/cache/MemoryCachePlugin.d.ts +5 -0
- package/dist/lib/cache/MemoryCachePlugin.js +40 -0
- package/dist/lib/cache/mergeEtags.d.ts +3 -3
- package/dist/lib/cache/mergeEtags.js +5 -3
- package/dist/lib/formatLocation.d.ts +1 -1
- package/dist/loader-runner/index.js +10 -9
- package/dist/loader-runner/loadLoader.js +8 -11
- package/dist/logging/Logger.js +3 -3
- package/dist/logging/createConsoleLogger.d.ts +26 -6
- package/dist/logging/createConsoleLogger.js +21 -58
- package/dist/logging/runtime.d.ts +4 -10
- package/dist/logging/runtime.js +8 -23
- package/dist/logging/truncateArgs.d.ts +4 -4
- package/dist/logging/truncateArgs.js +5 -10
- package/dist/node/NodeEnvironmentPlugin.js +2 -2
- package/dist/node/NodeWatchFileSystem.js +6 -6
- package/dist/node/nodeConsole.d.ts +7 -21
- package/dist/node/nodeConsole.js +31 -38
- package/dist/rspackOptionsApply.d.ts +0 -1
- package/dist/rspackOptionsApply.js +8 -7
- package/dist/sharing/ProvideSharedPlugin.d.ts +20 -19
- package/dist/sharing/ProvideSharedPlugin.js +26 -17
- package/dist/sharing/SharePlugin.d.ts +3 -0
- package/dist/sharing/SharePlugin.js +4 -1
- package/dist/stats/DefaultStatsFactoryPlugin.js +187 -96
- package/dist/stats/DefaultStatsPresetPlugin.js +2 -5
- package/dist/stats/DefaultStatsPrinterPlugin.js +18 -19
- package/dist/stats/StatsFactory.d.ts +2 -1
- package/dist/stats/StatsFactory.js +5 -10
- package/dist/stats/StatsPrinter.js +3 -4
- package/dist/stats/statsFactoryUtils.d.ts +155 -28
- package/dist/util/SizeFormatHelpers.js +1 -1
- package/dist/util/assertNotNil.d.ts +1 -1
- package/dist/util/assetCondition.d.ts +2 -0
- package/dist/util/assetCondition.js +2 -0
- package/dist/util/bindingVersionCheck.js +3 -3
- package/dist/util/cleverMerge.js +8 -6
- package/dist/util/comparators.d.ts +1 -1
- package/dist/util/comparators.js +5 -4
- package/dist/util/createHash.js +11 -6
- package/dist/util/fs.js +2 -2
- package/dist/util/hash/wasm-hash.js +5 -4
- package/dist/util/identifier.d.ts +4 -4
- package/dist/util/identifier.js +10 -10
- package/dist/util/index.js +1 -1
- package/dist/util/memoize.js +4 -6
- package/dist/util/smartGrouping.js +4 -6
- package/dist/util/webpack.d.ts +1 -1
- package/dist/util/webpack.js +2 -1
- package/module.d.ts +1 -1
- package/package.json +3 -3
- package/dist/builtin-plugin/css-extract/loader-options.json +0 -37
- package/dist/builtin-plugin/css-extract/plugin-options.json +0 -79
package/dist/config/zod.d.ts
CHANGED
|
@@ -673,6 +673,276 @@ declare const entryStatic: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.Zo
|
|
|
673
673
|
dependOn?: string | string[] | undefined;
|
|
674
674
|
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>;
|
|
675
675
|
export type EntryStatic = z.infer<typeof entryStatic>;
|
|
676
|
+
declare const entryDynamic: 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<{
|
|
677
|
+
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
678
|
+
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
679
|
+
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
|
|
680
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
681
|
+
chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
|
|
682
|
+
asyncChunks: z.ZodOptional<z.ZodBoolean>;
|
|
683
|
+
wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
|
|
684
|
+
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
685
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
686
|
+
amdContainer: z.ZodOptional<z.ZodString>;
|
|
687
|
+
auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
688
|
+
amd: z.ZodOptional<z.ZodString>;
|
|
689
|
+
commonjs: z.ZodOptional<z.ZodString>;
|
|
690
|
+
commonjs2: z.ZodOptional<z.ZodString>;
|
|
691
|
+
root: z.ZodOptional<z.ZodString>;
|
|
692
|
+
}, "strict", z.ZodTypeAny, {
|
|
693
|
+
commonjs?: string | undefined;
|
|
694
|
+
amd?: string | undefined;
|
|
695
|
+
root?: string | undefined;
|
|
696
|
+
commonjs2?: string | undefined;
|
|
697
|
+
}, {
|
|
698
|
+
commonjs?: string | undefined;
|
|
699
|
+
amd?: string | undefined;
|
|
700
|
+
root?: string | undefined;
|
|
701
|
+
commonjs2?: string | undefined;
|
|
702
|
+
}>]>>;
|
|
703
|
+
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
704
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
705
|
+
amd: z.ZodOptional<z.ZodString>;
|
|
706
|
+
commonjs: z.ZodOptional<z.ZodString>;
|
|
707
|
+
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
708
|
+
}, "strict", z.ZodTypeAny, {
|
|
709
|
+
commonjs?: string | undefined;
|
|
710
|
+
amd?: string | undefined;
|
|
711
|
+
root?: string | string[] | undefined;
|
|
712
|
+
}, {
|
|
713
|
+
commonjs?: string | undefined;
|
|
714
|
+
amd?: string | undefined;
|
|
715
|
+
root?: string | string[] | undefined;
|
|
716
|
+
}>]>>;
|
|
717
|
+
type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
|
|
718
|
+
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
719
|
+
}, "strict", z.ZodTypeAny, {
|
|
720
|
+
type: string;
|
|
721
|
+
name?: string | string[] | {
|
|
722
|
+
commonjs?: string | undefined;
|
|
723
|
+
amd?: string | undefined;
|
|
724
|
+
root?: string | string[] | undefined;
|
|
725
|
+
} | undefined;
|
|
726
|
+
amdContainer?: string | undefined;
|
|
727
|
+
auxiliaryComment?: string | {
|
|
728
|
+
commonjs?: string | undefined;
|
|
729
|
+
amd?: string | undefined;
|
|
730
|
+
root?: string | undefined;
|
|
731
|
+
commonjs2?: string | undefined;
|
|
732
|
+
} | undefined;
|
|
733
|
+
export?: string | string[] | undefined;
|
|
734
|
+
umdNamedDefine?: boolean | undefined;
|
|
735
|
+
}, {
|
|
736
|
+
type: string;
|
|
737
|
+
name?: string | string[] | {
|
|
738
|
+
commonjs?: string | undefined;
|
|
739
|
+
amd?: string | undefined;
|
|
740
|
+
root?: string | string[] | undefined;
|
|
741
|
+
} | undefined;
|
|
742
|
+
amdContainer?: string | undefined;
|
|
743
|
+
auxiliaryComment?: string | {
|
|
744
|
+
commonjs?: string | undefined;
|
|
745
|
+
amd?: string | undefined;
|
|
746
|
+
root?: string | undefined;
|
|
747
|
+
commonjs2?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
749
|
+
export?: string | string[] | undefined;
|
|
750
|
+
umdNamedDefine?: boolean | undefined;
|
|
751
|
+
}>>;
|
|
752
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
753
|
+
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
754
|
+
}, "strict", z.ZodTypeAny, {
|
|
755
|
+
import: string | string[];
|
|
756
|
+
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
757
|
+
publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
758
|
+
layer?: string | null | undefined;
|
|
759
|
+
runtime?: string | false | undefined;
|
|
760
|
+
baseUri?: string | undefined;
|
|
761
|
+
chunkLoading?: string | false | undefined;
|
|
762
|
+
asyncChunks?: boolean | undefined;
|
|
763
|
+
wasmLoading?: string | false | undefined;
|
|
764
|
+
library?: {
|
|
765
|
+
type: string;
|
|
766
|
+
name?: string | string[] | {
|
|
767
|
+
commonjs?: string | undefined;
|
|
768
|
+
amd?: string | undefined;
|
|
769
|
+
root?: string | string[] | undefined;
|
|
770
|
+
} | undefined;
|
|
771
|
+
amdContainer?: string | undefined;
|
|
772
|
+
auxiliaryComment?: string | {
|
|
773
|
+
commonjs?: string | undefined;
|
|
774
|
+
amd?: string | undefined;
|
|
775
|
+
root?: string | undefined;
|
|
776
|
+
commonjs2?: string | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
export?: string | string[] | undefined;
|
|
779
|
+
umdNamedDefine?: boolean | undefined;
|
|
780
|
+
} | undefined;
|
|
781
|
+
dependOn?: string | string[] | undefined;
|
|
782
|
+
}, {
|
|
783
|
+
import: string | string[];
|
|
784
|
+
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
785
|
+
publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
786
|
+
layer?: string | null | undefined;
|
|
787
|
+
runtime?: string | false | undefined;
|
|
788
|
+
baseUri?: string | undefined;
|
|
789
|
+
chunkLoading?: string | false | undefined;
|
|
790
|
+
asyncChunks?: boolean | undefined;
|
|
791
|
+
wasmLoading?: string | false | undefined;
|
|
792
|
+
library?: {
|
|
793
|
+
type: string;
|
|
794
|
+
name?: string | string[] | {
|
|
795
|
+
commonjs?: string | undefined;
|
|
796
|
+
amd?: string | undefined;
|
|
797
|
+
root?: string | string[] | undefined;
|
|
798
|
+
} | undefined;
|
|
799
|
+
amdContainer?: string | undefined;
|
|
800
|
+
auxiliaryComment?: string | {
|
|
801
|
+
commonjs?: string | undefined;
|
|
802
|
+
amd?: string | undefined;
|
|
803
|
+
root?: string | undefined;
|
|
804
|
+
commonjs2?: string | undefined;
|
|
805
|
+
} | undefined;
|
|
806
|
+
export?: string | string[] | undefined;
|
|
807
|
+
umdNamedDefine?: boolean | undefined;
|
|
808
|
+
} | undefined;
|
|
809
|
+
dependOn?: string | string[] | undefined;
|
|
810
|
+
}>]>>, 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<{
|
|
811
|
+
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
812
|
+
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
813
|
+
publicPath: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>]>>;
|
|
814
|
+
baseUri: z.ZodOptional<z.ZodString>;
|
|
815
|
+
chunkLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["jsonp", "import-scripts", "require", "async-node", "import"]>, z.ZodString]>]>>;
|
|
816
|
+
asyncChunks: z.ZodOptional<z.ZodBoolean>;
|
|
817
|
+
wasmLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["fetch-streaming", "fetch", "async-node"]>, z.ZodString]>]>>;
|
|
818
|
+
filename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
819
|
+
library: z.ZodOptional<z.ZodObject<{
|
|
820
|
+
amdContainer: z.ZodOptional<z.ZodString>;
|
|
821
|
+
auxiliaryComment: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
822
|
+
amd: z.ZodOptional<z.ZodString>;
|
|
823
|
+
commonjs: z.ZodOptional<z.ZodString>;
|
|
824
|
+
commonjs2: z.ZodOptional<z.ZodString>;
|
|
825
|
+
root: z.ZodOptional<z.ZodString>;
|
|
826
|
+
}, "strict", z.ZodTypeAny, {
|
|
827
|
+
commonjs?: string | undefined;
|
|
828
|
+
amd?: string | undefined;
|
|
829
|
+
root?: string | undefined;
|
|
830
|
+
commonjs2?: string | undefined;
|
|
831
|
+
}, {
|
|
832
|
+
commonjs?: string | undefined;
|
|
833
|
+
amd?: string | undefined;
|
|
834
|
+
root?: string | undefined;
|
|
835
|
+
commonjs2?: string | undefined;
|
|
836
|
+
}>]>>;
|
|
837
|
+
export: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
838
|
+
name: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
839
|
+
amd: z.ZodOptional<z.ZodString>;
|
|
840
|
+
commonjs: z.ZodOptional<z.ZodString>;
|
|
841
|
+
root: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
842
|
+
}, "strict", z.ZodTypeAny, {
|
|
843
|
+
commonjs?: string | undefined;
|
|
844
|
+
amd?: string | undefined;
|
|
845
|
+
root?: string | string[] | undefined;
|
|
846
|
+
}, {
|
|
847
|
+
commonjs?: string | undefined;
|
|
848
|
+
amd?: string | undefined;
|
|
849
|
+
root?: string | string[] | undefined;
|
|
850
|
+
}>]>>;
|
|
851
|
+
type: z.ZodUnion<[z.ZodEnum<["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"]>, z.ZodString]>;
|
|
852
|
+
umdNamedDefine: z.ZodOptional<z.ZodBoolean>;
|
|
853
|
+
}, "strict", z.ZodTypeAny, {
|
|
854
|
+
type: string;
|
|
855
|
+
name?: string | string[] | {
|
|
856
|
+
commonjs?: string | undefined;
|
|
857
|
+
amd?: string | undefined;
|
|
858
|
+
root?: string | string[] | undefined;
|
|
859
|
+
} | undefined;
|
|
860
|
+
amdContainer?: string | undefined;
|
|
861
|
+
auxiliaryComment?: string | {
|
|
862
|
+
commonjs?: string | undefined;
|
|
863
|
+
amd?: string | undefined;
|
|
864
|
+
root?: string | undefined;
|
|
865
|
+
commonjs2?: string | undefined;
|
|
866
|
+
} | undefined;
|
|
867
|
+
export?: string | string[] | undefined;
|
|
868
|
+
umdNamedDefine?: boolean | undefined;
|
|
869
|
+
}, {
|
|
870
|
+
type: string;
|
|
871
|
+
name?: string | string[] | {
|
|
872
|
+
commonjs?: string | undefined;
|
|
873
|
+
amd?: string | undefined;
|
|
874
|
+
root?: string | string[] | undefined;
|
|
875
|
+
} | undefined;
|
|
876
|
+
amdContainer?: string | undefined;
|
|
877
|
+
auxiliaryComment?: string | {
|
|
878
|
+
commonjs?: string | undefined;
|
|
879
|
+
amd?: string | undefined;
|
|
880
|
+
root?: string | undefined;
|
|
881
|
+
commonjs2?: string | undefined;
|
|
882
|
+
} | undefined;
|
|
883
|
+
export?: string | string[] | undefined;
|
|
884
|
+
umdNamedDefine?: boolean | undefined;
|
|
885
|
+
}>>;
|
|
886
|
+
dependOn: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
887
|
+
layer: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
888
|
+
}, "strict", z.ZodTypeAny, {
|
|
889
|
+
import: string | string[];
|
|
890
|
+
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
891
|
+
publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
892
|
+
layer?: string | null | undefined;
|
|
893
|
+
runtime?: string | false | undefined;
|
|
894
|
+
baseUri?: string | undefined;
|
|
895
|
+
chunkLoading?: string | false | undefined;
|
|
896
|
+
asyncChunks?: boolean | undefined;
|
|
897
|
+
wasmLoading?: string | false | undefined;
|
|
898
|
+
library?: {
|
|
899
|
+
type: string;
|
|
900
|
+
name?: string | string[] | {
|
|
901
|
+
commonjs?: string | undefined;
|
|
902
|
+
amd?: string | undefined;
|
|
903
|
+
root?: string | string[] | undefined;
|
|
904
|
+
} | undefined;
|
|
905
|
+
amdContainer?: string | undefined;
|
|
906
|
+
auxiliaryComment?: string | {
|
|
907
|
+
commonjs?: string | undefined;
|
|
908
|
+
amd?: string | undefined;
|
|
909
|
+
root?: string | undefined;
|
|
910
|
+
commonjs2?: string | undefined;
|
|
911
|
+
} | undefined;
|
|
912
|
+
export?: string | string[] | undefined;
|
|
913
|
+
umdNamedDefine?: boolean | undefined;
|
|
914
|
+
} | undefined;
|
|
915
|
+
dependOn?: string | string[] | undefined;
|
|
916
|
+
}, {
|
|
917
|
+
import: string | string[];
|
|
918
|
+
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
919
|
+
publicPath?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
920
|
+
layer?: string | null | undefined;
|
|
921
|
+
runtime?: string | false | undefined;
|
|
922
|
+
baseUri?: string | undefined;
|
|
923
|
+
chunkLoading?: string | false | undefined;
|
|
924
|
+
asyncChunks?: boolean | undefined;
|
|
925
|
+
wasmLoading?: string | false | undefined;
|
|
926
|
+
library?: {
|
|
927
|
+
type: string;
|
|
928
|
+
name?: string | string[] | {
|
|
929
|
+
commonjs?: string | undefined;
|
|
930
|
+
amd?: string | undefined;
|
|
931
|
+
root?: string | string[] | undefined;
|
|
932
|
+
} | undefined;
|
|
933
|
+
amdContainer?: string | undefined;
|
|
934
|
+
auxiliaryComment?: string | {
|
|
935
|
+
commonjs?: string | undefined;
|
|
936
|
+
amd?: string | undefined;
|
|
937
|
+
root?: string | undefined;
|
|
938
|
+
commonjs2?: string | undefined;
|
|
939
|
+
} | undefined;
|
|
940
|
+
export?: string | string[] | undefined;
|
|
941
|
+
umdNamedDefine?: boolean | undefined;
|
|
942
|
+
} | undefined;
|
|
943
|
+
dependOn?: string | string[] | undefined;
|
|
944
|
+
}>]>>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>]>>]>>;
|
|
945
|
+
export type EntryDynamic = z.infer<typeof entryDynamic>;
|
|
676
946
|
declare const entry: z.ZodUnion<[z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
677
947
|
import: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
678
948
|
runtime: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodString]>>;
|
|
@@ -1209,6 +1479,7 @@ declare const output: z.ZodObject<{
|
|
|
1209
1479
|
chunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
1210
1480
|
crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
|
|
1211
1481
|
cssFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
1482
|
+
cssHeadDataCompression: z.ZodOptional<z.ZodBoolean>;
|
|
1212
1483
|
cssChunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
1213
1484
|
hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
|
|
1214
1485
|
hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
|
|
@@ -1453,6 +1724,7 @@ declare const output: z.ZodObject<{
|
|
|
1453
1724
|
clean?: boolean | undefined;
|
|
1454
1725
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
1455
1726
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
1727
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
1456
1728
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
1457
1729
|
hotUpdateMainFilename?: string | undefined;
|
|
1458
1730
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -1547,6 +1819,7 @@ declare const output: z.ZodObject<{
|
|
|
1547
1819
|
clean?: boolean | undefined;
|
|
1548
1820
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
1549
1821
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
1822
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
1550
1823
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
1551
1824
|
hotUpdateMainFilename?: string | undefined;
|
|
1552
1825
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -1830,9 +2103,9 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
1830
2103
|
layer?: string | undefined;
|
|
1831
2104
|
enforce?: "pre" | "post" | undefined;
|
|
1832
2105
|
sideEffects?: boolean | undefined;
|
|
1833
|
-
issuer?: RuleSetCondition | undefined;
|
|
1834
2106
|
resource?: RuleSetCondition | undefined;
|
|
1835
2107
|
loader?: string | undefined;
|
|
2108
|
+
issuer?: RuleSetCondition | undefined;
|
|
1836
2109
|
issuerLayer?: RuleSetCondition | undefined;
|
|
1837
2110
|
dependency?: RuleSetCondition | undefined;
|
|
1838
2111
|
resourceFragment?: RuleSetCondition | undefined;
|
|
@@ -1866,9 +2139,9 @@ declare const baseRuleSetRule: z.ZodObject<{
|
|
|
1866
2139
|
layer?: string | undefined;
|
|
1867
2140
|
enforce?: "pre" | "post" | undefined;
|
|
1868
2141
|
sideEffects?: boolean | undefined;
|
|
1869
|
-
issuer?: RuleSetCondition | undefined;
|
|
1870
2142
|
resource?: RuleSetCondition | undefined;
|
|
1871
2143
|
loader?: string | undefined;
|
|
2144
|
+
issuer?: RuleSetCondition | undefined;
|
|
1872
2145
|
issuerLayer?: RuleSetCondition | undefined;
|
|
1873
2146
|
dependency?: RuleSetCondition | undefined;
|
|
1874
2147
|
resourceFragment?: RuleSetCondition | undefined;
|
|
@@ -4301,7 +4574,7 @@ declare const moduleOptions: z.ZodObject<{
|
|
|
4301
4574
|
noParse?: string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4302
4575
|
}>;
|
|
4303
4576
|
export type ModuleOptions = z.infer<typeof moduleOptions>;
|
|
4304
|
-
declare const target: z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"
|
|
4577
|
+
declare const target: 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">]>;
|
|
4305
4578
|
export type Target = z.infer<typeof target>;
|
|
4306
4579
|
export declare const externalsType: z.ZodEnum<["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "node-commonjs"]>;
|
|
4307
4580
|
export type ExternalsType = z.infer<typeof externalsType>;
|
|
@@ -4654,6 +4927,8 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4654
4927
|
errorDetails: z.ZodOptional<z.ZodBoolean>;
|
|
4655
4928
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
4656
4929
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
4930
|
+
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
4931
|
+
cached: z.ZodOptional<z.ZodBoolean>;
|
|
4657
4932
|
}, "strict", z.ZodTypeAny, {
|
|
4658
4933
|
publicPath?: boolean | undefined;
|
|
4659
4934
|
hash?: boolean | undefined;
|
|
@@ -4661,23 +4936,18 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4661
4936
|
chunks?: boolean | undefined;
|
|
4662
4937
|
providedExports?: boolean | undefined;
|
|
4663
4938
|
usedExports?: boolean | undefined;
|
|
4664
|
-
children?: boolean | undefined;
|
|
4665
|
-
runtime?: boolean | undefined;
|
|
4666
|
-
modules?: boolean | undefined;
|
|
4667
|
-
optimizationBailout?: boolean | undefined;
|
|
4668
|
-
depth?: boolean | undefined;
|
|
4669
|
-
assets?: boolean | undefined;
|
|
4670
|
-
source?: boolean | undefined;
|
|
4671
|
-
errors?: boolean | undefined;
|
|
4672
|
-
warnings?: boolean | undefined;
|
|
4673
|
-
reasons?: boolean | undefined;
|
|
4674
4939
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
4940
|
+
assets?: boolean | undefined;
|
|
4941
|
+
modules?: boolean | undefined;
|
|
4675
4942
|
entrypoints?: boolean | "auto" | undefined;
|
|
4676
4943
|
chunkGroups?: boolean | undefined;
|
|
4944
|
+
warnings?: boolean | undefined;
|
|
4677
4945
|
warningsCount?: boolean | undefined;
|
|
4946
|
+
errors?: boolean | undefined;
|
|
4678
4947
|
errorsCount?: boolean | undefined;
|
|
4679
4948
|
colors?: boolean | undefined;
|
|
4680
4949
|
version?: boolean | undefined;
|
|
4950
|
+
reasons?: boolean | undefined;
|
|
4681
4951
|
outputPath?: boolean | undefined;
|
|
4682
4952
|
chunkModules?: boolean | undefined;
|
|
4683
4953
|
chunkRelations?: boolean | undefined;
|
|
@@ -4686,10 +4956,13 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4686
4956
|
builtAt?: boolean | undefined;
|
|
4687
4957
|
moduleAssets?: boolean | undefined;
|
|
4688
4958
|
nestedModules?: boolean | undefined;
|
|
4959
|
+
source?: boolean | undefined;
|
|
4689
4960
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4690
4961
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4691
4962
|
loggingTrace?: boolean | undefined;
|
|
4692
4963
|
runtimeModules?: boolean | undefined;
|
|
4964
|
+
children?: boolean | undefined;
|
|
4965
|
+
optimizationBailout?: boolean | undefined;
|
|
4693
4966
|
groupModulesByType?: boolean | undefined;
|
|
4694
4967
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
4695
4968
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -4721,11 +4994,15 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4721
4994
|
chunkGroupMaxAssets?: number | undefined;
|
|
4722
4995
|
dependentModules?: boolean | undefined;
|
|
4723
4996
|
chunkOrigins?: boolean | undefined;
|
|
4997
|
+
runtime?: boolean | undefined;
|
|
4998
|
+
depth?: boolean | undefined;
|
|
4724
4999
|
reasonsSpace?: number | undefined;
|
|
4725
5000
|
groupReasonsByOrigin?: boolean | undefined;
|
|
4726
5001
|
errorDetails?: boolean | undefined;
|
|
4727
5002
|
errorStack?: boolean | undefined;
|
|
4728
5003
|
moduleTrace?: boolean | undefined;
|
|
5004
|
+
cachedModules?: boolean | undefined;
|
|
5005
|
+
cached?: boolean | undefined;
|
|
4729
5006
|
}, {
|
|
4730
5007
|
publicPath?: boolean | undefined;
|
|
4731
5008
|
hash?: boolean | undefined;
|
|
@@ -4733,23 +5010,18 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4733
5010
|
chunks?: boolean | undefined;
|
|
4734
5011
|
providedExports?: boolean | undefined;
|
|
4735
5012
|
usedExports?: boolean | undefined;
|
|
4736
|
-
children?: boolean | undefined;
|
|
4737
|
-
runtime?: boolean | undefined;
|
|
4738
|
-
modules?: boolean | undefined;
|
|
4739
|
-
optimizationBailout?: boolean | undefined;
|
|
4740
|
-
depth?: boolean | undefined;
|
|
4741
|
-
assets?: boolean | undefined;
|
|
4742
|
-
source?: boolean | undefined;
|
|
4743
|
-
errors?: boolean | undefined;
|
|
4744
|
-
warnings?: boolean | undefined;
|
|
4745
|
-
reasons?: boolean | undefined;
|
|
4746
5013
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5014
|
+
assets?: boolean | undefined;
|
|
5015
|
+
modules?: boolean | undefined;
|
|
4747
5016
|
entrypoints?: boolean | "auto" | undefined;
|
|
4748
5017
|
chunkGroups?: boolean | undefined;
|
|
5018
|
+
warnings?: boolean | undefined;
|
|
4749
5019
|
warningsCount?: boolean | undefined;
|
|
5020
|
+
errors?: boolean | undefined;
|
|
4750
5021
|
errorsCount?: boolean | undefined;
|
|
4751
5022
|
colors?: boolean | undefined;
|
|
4752
5023
|
version?: boolean | undefined;
|
|
5024
|
+
reasons?: boolean | undefined;
|
|
4753
5025
|
outputPath?: boolean | undefined;
|
|
4754
5026
|
chunkModules?: boolean | undefined;
|
|
4755
5027
|
chunkRelations?: boolean | undefined;
|
|
@@ -4758,10 +5030,13 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4758
5030
|
builtAt?: boolean | undefined;
|
|
4759
5031
|
moduleAssets?: boolean | undefined;
|
|
4760
5032
|
nestedModules?: boolean | undefined;
|
|
5033
|
+
source?: boolean | undefined;
|
|
4761
5034
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4762
5035
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4763
5036
|
loggingTrace?: boolean | undefined;
|
|
4764
5037
|
runtimeModules?: boolean | undefined;
|
|
5038
|
+
children?: boolean | undefined;
|
|
5039
|
+
optimizationBailout?: boolean | undefined;
|
|
4765
5040
|
groupModulesByType?: boolean | undefined;
|
|
4766
5041
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
4767
5042
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -4793,11 +5068,15 @@ declare const statsOptions: z.ZodObject<{
|
|
|
4793
5068
|
chunkGroupMaxAssets?: number | undefined;
|
|
4794
5069
|
dependentModules?: boolean | undefined;
|
|
4795
5070
|
chunkOrigins?: boolean | undefined;
|
|
5071
|
+
runtime?: boolean | undefined;
|
|
5072
|
+
depth?: boolean | undefined;
|
|
4796
5073
|
reasonsSpace?: number | undefined;
|
|
4797
5074
|
groupReasonsByOrigin?: boolean | undefined;
|
|
4798
5075
|
errorDetails?: boolean | undefined;
|
|
4799
5076
|
errorStack?: boolean | undefined;
|
|
4800
5077
|
moduleTrace?: boolean | undefined;
|
|
5078
|
+
cachedModules?: boolean | undefined;
|
|
5079
|
+
cached?: boolean | undefined;
|
|
4801
5080
|
}>;
|
|
4802
5081
|
export type StatsOptions = z.infer<typeof statsOptions>;
|
|
4803
5082
|
declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["normal", "none", "verbose", "errors-only", "errors-warnings", "minimal", "detailed", "summary"]>]>, z.ZodObject<{
|
|
@@ -4872,6 +5151,8 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4872
5151
|
errorDetails: z.ZodOptional<z.ZodBoolean>;
|
|
4873
5152
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
4874
5153
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
5154
|
+
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
5155
|
+
cached: z.ZodOptional<z.ZodBoolean>;
|
|
4875
5156
|
}, "strict", z.ZodTypeAny, {
|
|
4876
5157
|
publicPath?: boolean | undefined;
|
|
4877
5158
|
hash?: boolean | undefined;
|
|
@@ -4879,23 +5160,18 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4879
5160
|
chunks?: boolean | undefined;
|
|
4880
5161
|
providedExports?: boolean | undefined;
|
|
4881
5162
|
usedExports?: boolean | undefined;
|
|
4882
|
-
children?: boolean | undefined;
|
|
4883
|
-
runtime?: boolean | undefined;
|
|
4884
|
-
modules?: boolean | undefined;
|
|
4885
|
-
optimizationBailout?: boolean | undefined;
|
|
4886
|
-
depth?: boolean | undefined;
|
|
4887
|
-
assets?: boolean | undefined;
|
|
4888
|
-
source?: boolean | undefined;
|
|
4889
|
-
errors?: boolean | undefined;
|
|
4890
|
-
warnings?: boolean | undefined;
|
|
4891
|
-
reasons?: boolean | undefined;
|
|
4892
5163
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5164
|
+
assets?: boolean | undefined;
|
|
5165
|
+
modules?: boolean | undefined;
|
|
4893
5166
|
entrypoints?: boolean | "auto" | undefined;
|
|
4894
5167
|
chunkGroups?: boolean | undefined;
|
|
5168
|
+
warnings?: boolean | undefined;
|
|
4895
5169
|
warningsCount?: boolean | undefined;
|
|
5170
|
+
errors?: boolean | undefined;
|
|
4896
5171
|
errorsCount?: boolean | undefined;
|
|
4897
5172
|
colors?: boolean | undefined;
|
|
4898
5173
|
version?: boolean | undefined;
|
|
5174
|
+
reasons?: boolean | undefined;
|
|
4899
5175
|
outputPath?: boolean | undefined;
|
|
4900
5176
|
chunkModules?: boolean | undefined;
|
|
4901
5177
|
chunkRelations?: boolean | undefined;
|
|
@@ -4904,10 +5180,13 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4904
5180
|
builtAt?: boolean | undefined;
|
|
4905
5181
|
moduleAssets?: boolean | undefined;
|
|
4906
5182
|
nestedModules?: boolean | undefined;
|
|
5183
|
+
source?: boolean | undefined;
|
|
4907
5184
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4908
5185
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4909
5186
|
loggingTrace?: boolean | undefined;
|
|
4910
5187
|
runtimeModules?: boolean | undefined;
|
|
5188
|
+
children?: boolean | undefined;
|
|
5189
|
+
optimizationBailout?: boolean | undefined;
|
|
4911
5190
|
groupModulesByType?: boolean | undefined;
|
|
4912
5191
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
4913
5192
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -4939,11 +5218,15 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4939
5218
|
chunkGroupMaxAssets?: number | undefined;
|
|
4940
5219
|
dependentModules?: boolean | undefined;
|
|
4941
5220
|
chunkOrigins?: boolean | undefined;
|
|
5221
|
+
runtime?: boolean | undefined;
|
|
5222
|
+
depth?: boolean | undefined;
|
|
4942
5223
|
reasonsSpace?: number | undefined;
|
|
4943
5224
|
groupReasonsByOrigin?: boolean | undefined;
|
|
4944
5225
|
errorDetails?: boolean | undefined;
|
|
4945
5226
|
errorStack?: boolean | undefined;
|
|
4946
5227
|
moduleTrace?: boolean | undefined;
|
|
5228
|
+
cachedModules?: boolean | undefined;
|
|
5229
|
+
cached?: boolean | undefined;
|
|
4947
5230
|
}, {
|
|
4948
5231
|
publicPath?: boolean | undefined;
|
|
4949
5232
|
hash?: boolean | undefined;
|
|
@@ -4951,23 +5234,18 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4951
5234
|
chunks?: boolean | undefined;
|
|
4952
5235
|
providedExports?: boolean | undefined;
|
|
4953
5236
|
usedExports?: boolean | undefined;
|
|
4954
|
-
children?: boolean | undefined;
|
|
4955
|
-
runtime?: boolean | undefined;
|
|
4956
|
-
modules?: boolean | undefined;
|
|
4957
|
-
optimizationBailout?: boolean | undefined;
|
|
4958
|
-
depth?: boolean | undefined;
|
|
4959
|
-
assets?: boolean | undefined;
|
|
4960
|
-
source?: boolean | undefined;
|
|
4961
|
-
errors?: boolean | undefined;
|
|
4962
|
-
warnings?: boolean | undefined;
|
|
4963
|
-
reasons?: boolean | undefined;
|
|
4964
5237
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
5238
|
+
assets?: boolean | undefined;
|
|
5239
|
+
modules?: boolean | undefined;
|
|
4965
5240
|
entrypoints?: boolean | "auto" | undefined;
|
|
4966
5241
|
chunkGroups?: boolean | undefined;
|
|
5242
|
+
warnings?: boolean | undefined;
|
|
4967
5243
|
warningsCount?: boolean | undefined;
|
|
5244
|
+
errors?: boolean | undefined;
|
|
4968
5245
|
errorsCount?: boolean | undefined;
|
|
4969
5246
|
colors?: boolean | undefined;
|
|
4970
5247
|
version?: boolean | undefined;
|
|
5248
|
+
reasons?: boolean | undefined;
|
|
4971
5249
|
outputPath?: boolean | undefined;
|
|
4972
5250
|
chunkModules?: boolean | undefined;
|
|
4973
5251
|
chunkRelations?: boolean | undefined;
|
|
@@ -4976,10 +5254,13 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
4976
5254
|
builtAt?: boolean | undefined;
|
|
4977
5255
|
moduleAssets?: boolean | undefined;
|
|
4978
5256
|
nestedModules?: boolean | undefined;
|
|
5257
|
+
source?: boolean | undefined;
|
|
4979
5258
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
4980
5259
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
4981
5260
|
loggingTrace?: boolean | undefined;
|
|
4982
5261
|
runtimeModules?: boolean | undefined;
|
|
5262
|
+
children?: boolean | undefined;
|
|
5263
|
+
optimizationBailout?: boolean | undefined;
|
|
4983
5264
|
groupModulesByType?: boolean | undefined;
|
|
4984
5265
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
4985
5266
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -5011,11 +5292,15 @@ declare const statsValue: z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["norm
|
|
|
5011
5292
|
chunkGroupMaxAssets?: number | undefined;
|
|
5012
5293
|
dependentModules?: boolean | undefined;
|
|
5013
5294
|
chunkOrigins?: boolean | undefined;
|
|
5295
|
+
runtime?: boolean | undefined;
|
|
5296
|
+
depth?: boolean | undefined;
|
|
5014
5297
|
reasonsSpace?: number | undefined;
|
|
5015
5298
|
groupReasonsByOrigin?: boolean | undefined;
|
|
5016
5299
|
errorDetails?: boolean | undefined;
|
|
5017
5300
|
errorStack?: boolean | undefined;
|
|
5018
5301
|
moduleTrace?: boolean | undefined;
|
|
5302
|
+
cachedModules?: boolean | undefined;
|
|
5303
|
+
cached?: boolean | undefined;
|
|
5019
5304
|
}>]>;
|
|
5020
5305
|
export type StatsValue = z.infer<typeof statsValue>;
|
|
5021
5306
|
export interface RspackPluginInstance {
|
|
@@ -5023,7 +5308,13 @@ export interface RspackPluginInstance {
|
|
|
5023
5308
|
[k: string]: any;
|
|
5024
5309
|
}
|
|
5025
5310
|
export type RspackPluginFunction = (this: Compiler, compiler: Compiler) => void;
|
|
5026
|
-
|
|
5311
|
+
export type WebpackCompiler = any;
|
|
5312
|
+
export interface WebpackPluginInstance {
|
|
5313
|
+
apply: (compiler: WebpackCompiler) => void;
|
|
5314
|
+
[k: string]: any;
|
|
5315
|
+
}
|
|
5316
|
+
export type WebpackPluginFunction = (this: WebpackCompiler, compiler: WebpackCompiler) => void;
|
|
5317
|
+
declare const plugins: z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">;
|
|
5027
5318
|
export type Plugins = z.infer<typeof plugins>;
|
|
5028
5319
|
declare const optimizationRuntimeChunk: z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["single", "multiple"]>, z.ZodBoolean]>, z.ZodObject<{
|
|
5029
5320
|
name: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
@@ -5269,7 +5560,7 @@ declare const optimization: z.ZodObject<{
|
|
|
5269
5560
|
moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
|
|
5270
5561
|
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
|
|
5271
5562
|
minimize: z.ZodOptional<z.ZodBoolean>;
|
|
5272
|
-
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance
|
|
5563
|
+
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
|
|
5273
5564
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
5274
5565
|
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
5275
5566
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
@@ -5468,7 +5759,7 @@ declare const optimization: z.ZodObject<{
|
|
|
5468
5759
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5469
5760
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5470
5761
|
minimize?: boolean | undefined;
|
|
5471
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5762
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5472
5763
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5473
5764
|
splitChunks?: false | {
|
|
5474
5765
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5529,7 +5820,7 @@ declare const optimization: z.ZodObject<{
|
|
|
5529
5820
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5530
5821
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
5531
5822
|
minimize?: boolean | undefined;
|
|
5532
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
5823
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
5533
5824
|
mergeDuplicateChunks?: boolean | undefined;
|
|
5534
5825
|
splitChunks?: false | {
|
|
5535
5826
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -5617,31 +5908,203 @@ declare const rspackFutureOptions: z.ZodObject<{
|
|
|
5617
5908
|
}>;
|
|
5618
5909
|
export type RspackFutureOptions = z.infer<typeof rspackFutureOptions>;
|
|
5619
5910
|
declare const lazyCompilationOptions: z.ZodObject<{
|
|
5911
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
5912
|
+
client: z.ZodOptional<z.ZodString>;
|
|
5913
|
+
listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
|
|
5914
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
5915
|
+
host: z.ZodOptional<z.ZodString>;
|
|
5916
|
+
backlog: z.ZodOptional<z.ZodNumber>;
|
|
5917
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5918
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
5919
|
+
readableAll: z.ZodOptional<z.ZodBoolean>;
|
|
5920
|
+
writableAll: z.ZodOptional<z.ZodBoolean>;
|
|
5921
|
+
ipv6Only: z.ZodOptional<z.ZodBoolean>;
|
|
5922
|
+
}, "strip", z.ZodTypeAny, {
|
|
5923
|
+
path?: string | undefined;
|
|
5924
|
+
port?: number | undefined;
|
|
5925
|
+
host?: string | undefined;
|
|
5926
|
+
backlog?: number | undefined;
|
|
5927
|
+
exclusive?: boolean | undefined;
|
|
5928
|
+
readableAll?: boolean | undefined;
|
|
5929
|
+
writableAll?: boolean | undefined;
|
|
5930
|
+
ipv6Only?: boolean | undefined;
|
|
5931
|
+
}, {
|
|
5932
|
+
path?: string | undefined;
|
|
5933
|
+
port?: number | undefined;
|
|
5934
|
+
host?: string | undefined;
|
|
5935
|
+
backlog?: number | undefined;
|
|
5936
|
+
exclusive?: boolean | undefined;
|
|
5937
|
+
readableAll?: boolean | undefined;
|
|
5938
|
+
writableAll?: boolean | undefined;
|
|
5939
|
+
ipv6Only?: boolean | undefined;
|
|
5940
|
+
}>]>;
|
|
5941
|
+
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
|
5942
|
+
}, "strip", z.ZodTypeAny, {
|
|
5943
|
+
client?: string | undefined;
|
|
5944
|
+
listen?: number | {
|
|
5945
|
+
path?: string | undefined;
|
|
5946
|
+
port?: number | undefined;
|
|
5947
|
+
host?: string | undefined;
|
|
5948
|
+
backlog?: number | undefined;
|
|
5949
|
+
exclusive?: boolean | undefined;
|
|
5950
|
+
readableAll?: boolean | undefined;
|
|
5951
|
+
writableAll?: boolean | undefined;
|
|
5952
|
+
ipv6Only?: boolean | undefined;
|
|
5953
|
+
} | undefined;
|
|
5954
|
+
protocol?: "http" | "https" | undefined;
|
|
5955
|
+
}, {
|
|
5956
|
+
client?: string | undefined;
|
|
5957
|
+
listen?: number | {
|
|
5958
|
+
path?: string | undefined;
|
|
5959
|
+
port?: number | undefined;
|
|
5960
|
+
host?: string | undefined;
|
|
5961
|
+
backlog?: number | undefined;
|
|
5962
|
+
exclusive?: boolean | undefined;
|
|
5963
|
+
readableAll?: boolean | undefined;
|
|
5964
|
+
writableAll?: boolean | undefined;
|
|
5965
|
+
ipv6Only?: boolean | undefined;
|
|
5966
|
+
} | undefined;
|
|
5967
|
+
protocol?: "http" | "https" | undefined;
|
|
5968
|
+
}>>;
|
|
5620
5969
|
imports: z.ZodOptional<z.ZodBoolean>;
|
|
5621
5970
|
entries: z.ZodOptional<z.ZodBoolean>;
|
|
5622
5971
|
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>]>>;
|
|
5623
5972
|
}, "strip", z.ZodTypeAny, {
|
|
5624
5973
|
entries?: boolean | undefined;
|
|
5625
5974
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5975
|
+
backend?: {
|
|
5976
|
+
client?: string | undefined;
|
|
5977
|
+
listen?: number | {
|
|
5978
|
+
path?: string | undefined;
|
|
5979
|
+
port?: number | undefined;
|
|
5980
|
+
host?: string | undefined;
|
|
5981
|
+
backlog?: number | undefined;
|
|
5982
|
+
exclusive?: boolean | undefined;
|
|
5983
|
+
readableAll?: boolean | undefined;
|
|
5984
|
+
writableAll?: boolean | undefined;
|
|
5985
|
+
ipv6Only?: boolean | undefined;
|
|
5986
|
+
} | undefined;
|
|
5987
|
+
protocol?: "http" | "https" | undefined;
|
|
5988
|
+
} | undefined;
|
|
5626
5989
|
imports?: boolean | undefined;
|
|
5627
5990
|
}, {
|
|
5628
5991
|
entries?: boolean | undefined;
|
|
5629
5992
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
5993
|
+
backend?: {
|
|
5994
|
+
client?: string | undefined;
|
|
5995
|
+
listen?: number | {
|
|
5996
|
+
path?: string | undefined;
|
|
5997
|
+
port?: number | undefined;
|
|
5998
|
+
host?: string | undefined;
|
|
5999
|
+
backlog?: number | undefined;
|
|
6000
|
+
exclusive?: boolean | undefined;
|
|
6001
|
+
readableAll?: boolean | undefined;
|
|
6002
|
+
writableAll?: boolean | undefined;
|
|
6003
|
+
ipv6Only?: boolean | undefined;
|
|
6004
|
+
} | undefined;
|
|
6005
|
+
protocol?: "http" | "https" | undefined;
|
|
6006
|
+
} | undefined;
|
|
5630
6007
|
imports?: boolean | undefined;
|
|
5631
6008
|
}>;
|
|
5632
6009
|
export type LazyCompilationOptions = z.infer<typeof lazyCompilationOptions>;
|
|
5633
6010
|
declare const experiments: z.ZodObject<{
|
|
5634
6011
|
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
6012
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
6013
|
+
client: z.ZodOptional<z.ZodString>;
|
|
6014
|
+
listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
|
|
6015
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
6016
|
+
host: z.ZodOptional<z.ZodString>;
|
|
6017
|
+
backlog: z.ZodOptional<z.ZodNumber>;
|
|
6018
|
+
path: z.ZodOptional<z.ZodString>;
|
|
6019
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
6020
|
+
readableAll: z.ZodOptional<z.ZodBoolean>;
|
|
6021
|
+
writableAll: z.ZodOptional<z.ZodBoolean>;
|
|
6022
|
+
ipv6Only: z.ZodOptional<z.ZodBoolean>;
|
|
6023
|
+
}, "strip", z.ZodTypeAny, {
|
|
6024
|
+
path?: string | undefined;
|
|
6025
|
+
port?: number | undefined;
|
|
6026
|
+
host?: string | undefined;
|
|
6027
|
+
backlog?: number | undefined;
|
|
6028
|
+
exclusive?: boolean | undefined;
|
|
6029
|
+
readableAll?: boolean | undefined;
|
|
6030
|
+
writableAll?: boolean | undefined;
|
|
6031
|
+
ipv6Only?: boolean | undefined;
|
|
6032
|
+
}, {
|
|
6033
|
+
path?: string | undefined;
|
|
6034
|
+
port?: number | undefined;
|
|
6035
|
+
host?: string | undefined;
|
|
6036
|
+
backlog?: number | undefined;
|
|
6037
|
+
exclusive?: boolean | undefined;
|
|
6038
|
+
readableAll?: boolean | undefined;
|
|
6039
|
+
writableAll?: boolean | undefined;
|
|
6040
|
+
ipv6Only?: boolean | undefined;
|
|
6041
|
+
}>]>;
|
|
6042
|
+
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
|
6043
|
+
}, "strip", z.ZodTypeAny, {
|
|
6044
|
+
client?: string | undefined;
|
|
6045
|
+
listen?: number | {
|
|
6046
|
+
path?: string | undefined;
|
|
6047
|
+
port?: number | undefined;
|
|
6048
|
+
host?: string | undefined;
|
|
6049
|
+
backlog?: number | undefined;
|
|
6050
|
+
exclusive?: boolean | undefined;
|
|
6051
|
+
readableAll?: boolean | undefined;
|
|
6052
|
+
writableAll?: boolean | undefined;
|
|
6053
|
+
ipv6Only?: boolean | undefined;
|
|
6054
|
+
} | undefined;
|
|
6055
|
+
protocol?: "http" | "https" | undefined;
|
|
6056
|
+
}, {
|
|
6057
|
+
client?: string | undefined;
|
|
6058
|
+
listen?: number | {
|
|
6059
|
+
path?: string | undefined;
|
|
6060
|
+
port?: number | undefined;
|
|
6061
|
+
host?: string | undefined;
|
|
6062
|
+
backlog?: number | undefined;
|
|
6063
|
+
exclusive?: boolean | undefined;
|
|
6064
|
+
readableAll?: boolean | undefined;
|
|
6065
|
+
writableAll?: boolean | undefined;
|
|
6066
|
+
ipv6Only?: boolean | undefined;
|
|
6067
|
+
} | undefined;
|
|
6068
|
+
protocol?: "http" | "https" | undefined;
|
|
6069
|
+
}>>;
|
|
5635
6070
|
imports: z.ZodOptional<z.ZodBoolean>;
|
|
5636
6071
|
entries: z.ZodOptional<z.ZodBoolean>;
|
|
5637
6072
|
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>]>>;
|
|
5638
6073
|
}, "strip", z.ZodTypeAny, {
|
|
5639
6074
|
entries?: boolean | undefined;
|
|
5640
6075
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6076
|
+
backend?: {
|
|
6077
|
+
client?: string | undefined;
|
|
6078
|
+
listen?: number | {
|
|
6079
|
+
path?: string | undefined;
|
|
6080
|
+
port?: number | undefined;
|
|
6081
|
+
host?: string | undefined;
|
|
6082
|
+
backlog?: number | undefined;
|
|
6083
|
+
exclusive?: boolean | undefined;
|
|
6084
|
+
readableAll?: boolean | undefined;
|
|
6085
|
+
writableAll?: boolean | undefined;
|
|
6086
|
+
ipv6Only?: boolean | undefined;
|
|
6087
|
+
} | undefined;
|
|
6088
|
+
protocol?: "http" | "https" | undefined;
|
|
6089
|
+
} | undefined;
|
|
5641
6090
|
imports?: boolean | undefined;
|
|
5642
6091
|
}, {
|
|
5643
6092
|
entries?: boolean | undefined;
|
|
5644
6093
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6094
|
+
backend?: {
|
|
6095
|
+
client?: string | undefined;
|
|
6096
|
+
listen?: number | {
|
|
6097
|
+
path?: string | undefined;
|
|
6098
|
+
port?: number | undefined;
|
|
6099
|
+
host?: string | undefined;
|
|
6100
|
+
backlog?: number | undefined;
|
|
6101
|
+
exclusive?: boolean | undefined;
|
|
6102
|
+
readableAll?: boolean | undefined;
|
|
6103
|
+
writableAll?: boolean | undefined;
|
|
6104
|
+
ipv6Only?: boolean | undefined;
|
|
6105
|
+
} | undefined;
|
|
6106
|
+
protocol?: "http" | "https" | undefined;
|
|
6107
|
+
} | undefined;
|
|
5645
6108
|
imports?: boolean | undefined;
|
|
5646
6109
|
}>]>;
|
|
5647
6110
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5682,6 +6145,20 @@ declare const experiments: z.ZodObject<{
|
|
|
5682
6145
|
lazyCompilation?: boolean | {
|
|
5683
6146
|
entries?: boolean | undefined;
|
|
5684
6147
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6148
|
+
backend?: {
|
|
6149
|
+
client?: string | undefined;
|
|
6150
|
+
listen?: number | {
|
|
6151
|
+
path?: string | undefined;
|
|
6152
|
+
port?: number | undefined;
|
|
6153
|
+
host?: string | undefined;
|
|
6154
|
+
backlog?: number | undefined;
|
|
6155
|
+
exclusive?: boolean | undefined;
|
|
6156
|
+
readableAll?: boolean | undefined;
|
|
6157
|
+
writableAll?: boolean | undefined;
|
|
6158
|
+
ipv6Only?: boolean | undefined;
|
|
6159
|
+
} | undefined;
|
|
6160
|
+
protocol?: "http" | "https" | undefined;
|
|
6161
|
+
} | undefined;
|
|
5685
6162
|
imports?: boolean | undefined;
|
|
5686
6163
|
} | undefined;
|
|
5687
6164
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -5701,6 +6178,20 @@ declare const experiments: z.ZodObject<{
|
|
|
5701
6178
|
lazyCompilation?: boolean | {
|
|
5702
6179
|
entries?: boolean | undefined;
|
|
5703
6180
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
6181
|
+
backend?: {
|
|
6182
|
+
client?: string | undefined;
|
|
6183
|
+
listen?: number | {
|
|
6184
|
+
path?: string | undefined;
|
|
6185
|
+
port?: number | undefined;
|
|
6186
|
+
host?: string | undefined;
|
|
6187
|
+
backlog?: number | undefined;
|
|
6188
|
+
exclusive?: boolean | undefined;
|
|
6189
|
+
readableAll?: boolean | undefined;
|
|
6190
|
+
writableAll?: boolean | undefined;
|
|
6191
|
+
ipv6Only?: boolean | undefined;
|
|
6192
|
+
} | undefined;
|
|
6193
|
+
protocol?: "http" | "https" | undefined;
|
|
6194
|
+
} | undefined;
|
|
5704
6195
|
imports?: boolean | undefined;
|
|
5705
6196
|
} | undefined;
|
|
5706
6197
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -6179,6 +6670,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6179
6670
|
chunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6180
6671
|
crossOriginLoading: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodEnum<["anonymous", "use-credentials"]>]>>;
|
|
6181
6672
|
cssFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6673
|
+
cssHeadDataCompression: z.ZodOptional<z.ZodBoolean>;
|
|
6182
6674
|
cssChunkFilename: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodFunction<z.ZodTuple<[z.ZodType<import("@rspack/binding").JsPathData, z.ZodTypeDef, import("@rspack/binding").JsPathData>, z.ZodOptional<z.ZodType<JsAssetInfo, z.ZodTypeDef, JsAssetInfo>>], z.ZodUnknown>, z.ZodString>]>>;
|
|
6183
6675
|
hotUpdateMainFilename: z.ZodOptional<z.ZodString>;
|
|
6184
6676
|
hotUpdateChunkFilename: z.ZodOptional<z.ZodString>;
|
|
@@ -6423,6 +6915,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6423
6915
|
clean?: boolean | undefined;
|
|
6424
6916
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
6425
6917
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
6918
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
6426
6919
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
6427
6920
|
hotUpdateMainFilename?: string | undefined;
|
|
6428
6921
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -6517,6 +7010,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6517
7010
|
clean?: boolean | undefined;
|
|
6518
7011
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
6519
7012
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
7013
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
6520
7014
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
6521
7015
|
hotUpdateMainFilename?: string | undefined;
|
|
6522
7016
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -6555,20 +7049,106 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6555
7049
|
chunkLoadTimeout?: number | undefined;
|
|
6556
7050
|
charset?: boolean | undefined;
|
|
6557
7051
|
}>>;
|
|
6558
|
-
target: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodUnion<[z.ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021", "es2022"
|
|
7052
|
+
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">]>>;
|
|
6559
7053
|
mode: z.ZodOptional<z.ZodEnum<["development", "production", "none"]>>;
|
|
6560
7054
|
experiments: z.ZodOptional<z.ZodObject<{
|
|
6561
7055
|
lazyCompilation: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodObject<{
|
|
7056
|
+
backend: z.ZodOptional<z.ZodObject<{
|
|
7057
|
+
client: z.ZodOptional<z.ZodString>;
|
|
7058
|
+
listen: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodObject<{
|
|
7059
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
7060
|
+
host: z.ZodOptional<z.ZodString>;
|
|
7061
|
+
backlog: z.ZodOptional<z.ZodNumber>;
|
|
7062
|
+
path: z.ZodOptional<z.ZodString>;
|
|
7063
|
+
exclusive: z.ZodOptional<z.ZodBoolean>;
|
|
7064
|
+
readableAll: z.ZodOptional<z.ZodBoolean>;
|
|
7065
|
+
writableAll: z.ZodOptional<z.ZodBoolean>;
|
|
7066
|
+
ipv6Only: z.ZodOptional<z.ZodBoolean>;
|
|
7067
|
+
}, "strip", z.ZodTypeAny, {
|
|
7068
|
+
path?: string | undefined;
|
|
7069
|
+
port?: number | undefined;
|
|
7070
|
+
host?: string | undefined;
|
|
7071
|
+
backlog?: number | undefined;
|
|
7072
|
+
exclusive?: boolean | undefined;
|
|
7073
|
+
readableAll?: boolean | undefined;
|
|
7074
|
+
writableAll?: boolean | undefined;
|
|
7075
|
+
ipv6Only?: boolean | undefined;
|
|
7076
|
+
}, {
|
|
7077
|
+
path?: string | undefined;
|
|
7078
|
+
port?: number | undefined;
|
|
7079
|
+
host?: string | undefined;
|
|
7080
|
+
backlog?: number | undefined;
|
|
7081
|
+
exclusive?: boolean | undefined;
|
|
7082
|
+
readableAll?: boolean | undefined;
|
|
7083
|
+
writableAll?: boolean | undefined;
|
|
7084
|
+
ipv6Only?: boolean | undefined;
|
|
7085
|
+
}>]>;
|
|
7086
|
+
protocol: z.ZodOptional<z.ZodEnum<["http", "https"]>>;
|
|
7087
|
+
}, "strip", z.ZodTypeAny, {
|
|
7088
|
+
client?: string | undefined;
|
|
7089
|
+
listen?: number | {
|
|
7090
|
+
path?: string | undefined;
|
|
7091
|
+
port?: number | undefined;
|
|
7092
|
+
host?: string | undefined;
|
|
7093
|
+
backlog?: number | undefined;
|
|
7094
|
+
exclusive?: boolean | undefined;
|
|
7095
|
+
readableAll?: boolean | undefined;
|
|
7096
|
+
writableAll?: boolean | undefined;
|
|
7097
|
+
ipv6Only?: boolean | undefined;
|
|
7098
|
+
} | undefined;
|
|
7099
|
+
protocol?: "http" | "https" | undefined;
|
|
7100
|
+
}, {
|
|
7101
|
+
client?: string | undefined;
|
|
7102
|
+
listen?: number | {
|
|
7103
|
+
path?: string | undefined;
|
|
7104
|
+
port?: number | undefined;
|
|
7105
|
+
host?: string | undefined;
|
|
7106
|
+
backlog?: number | undefined;
|
|
7107
|
+
exclusive?: boolean | undefined;
|
|
7108
|
+
readableAll?: boolean | undefined;
|
|
7109
|
+
writableAll?: boolean | undefined;
|
|
7110
|
+
ipv6Only?: boolean | undefined;
|
|
7111
|
+
} | undefined;
|
|
7112
|
+
protocol?: "http" | "https" | undefined;
|
|
7113
|
+
}>>;
|
|
6562
7114
|
imports: z.ZodOptional<z.ZodBoolean>;
|
|
6563
7115
|
entries: z.ZodOptional<z.ZodBoolean>;
|
|
6564
7116
|
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>]>>;
|
|
6565
7117
|
}, "strip", z.ZodTypeAny, {
|
|
6566
7118
|
entries?: boolean | undefined;
|
|
6567
7119
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7120
|
+
backend?: {
|
|
7121
|
+
client?: string | undefined;
|
|
7122
|
+
listen?: number | {
|
|
7123
|
+
path?: string | undefined;
|
|
7124
|
+
port?: number | undefined;
|
|
7125
|
+
host?: string | undefined;
|
|
7126
|
+
backlog?: number | undefined;
|
|
7127
|
+
exclusive?: boolean | undefined;
|
|
7128
|
+
readableAll?: boolean | undefined;
|
|
7129
|
+
writableAll?: boolean | undefined;
|
|
7130
|
+
ipv6Only?: boolean | undefined;
|
|
7131
|
+
} | undefined;
|
|
7132
|
+
protocol?: "http" | "https" | undefined;
|
|
7133
|
+
} | undefined;
|
|
6568
7134
|
imports?: boolean | undefined;
|
|
6569
7135
|
}, {
|
|
6570
7136
|
entries?: boolean | undefined;
|
|
6571
7137
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7138
|
+
backend?: {
|
|
7139
|
+
client?: string | undefined;
|
|
7140
|
+
listen?: number | {
|
|
7141
|
+
path?: string | undefined;
|
|
7142
|
+
port?: number | undefined;
|
|
7143
|
+
host?: string | undefined;
|
|
7144
|
+
backlog?: number | undefined;
|
|
7145
|
+
exclusive?: boolean | undefined;
|
|
7146
|
+
readableAll?: boolean | undefined;
|
|
7147
|
+
writableAll?: boolean | undefined;
|
|
7148
|
+
ipv6Only?: boolean | undefined;
|
|
7149
|
+
} | undefined;
|
|
7150
|
+
protocol?: "http" | "https" | undefined;
|
|
7151
|
+
} | undefined;
|
|
6572
7152
|
imports?: boolean | undefined;
|
|
6573
7153
|
}>]>;
|
|
6574
7154
|
asyncWebAssembly: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6609,6 +7189,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6609
7189
|
lazyCompilation?: boolean | {
|
|
6610
7190
|
entries?: boolean | undefined;
|
|
6611
7191
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7192
|
+
backend?: {
|
|
7193
|
+
client?: string | undefined;
|
|
7194
|
+
listen?: number | {
|
|
7195
|
+
path?: string | undefined;
|
|
7196
|
+
port?: number | undefined;
|
|
7197
|
+
host?: string | undefined;
|
|
7198
|
+
backlog?: number | undefined;
|
|
7199
|
+
exclusive?: boolean | undefined;
|
|
7200
|
+
readableAll?: boolean | undefined;
|
|
7201
|
+
writableAll?: boolean | undefined;
|
|
7202
|
+
ipv6Only?: boolean | undefined;
|
|
7203
|
+
} | undefined;
|
|
7204
|
+
protocol?: "http" | "https" | undefined;
|
|
7205
|
+
} | undefined;
|
|
6612
7206
|
imports?: boolean | undefined;
|
|
6613
7207
|
} | undefined;
|
|
6614
7208
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -6628,6 +7222,20 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6628
7222
|
lazyCompilation?: boolean | {
|
|
6629
7223
|
entries?: boolean | undefined;
|
|
6630
7224
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
7225
|
+
backend?: {
|
|
7226
|
+
client?: string | undefined;
|
|
7227
|
+
listen?: number | {
|
|
7228
|
+
path?: string | undefined;
|
|
7229
|
+
port?: number | undefined;
|
|
7230
|
+
host?: string | undefined;
|
|
7231
|
+
backlog?: number | undefined;
|
|
7232
|
+
exclusive?: boolean | undefined;
|
|
7233
|
+
readableAll?: boolean | undefined;
|
|
7234
|
+
writableAll?: boolean | undefined;
|
|
7235
|
+
ipv6Only?: boolean | undefined;
|
|
7236
|
+
} | undefined;
|
|
7237
|
+
protocol?: "http" | "https" | undefined;
|
|
7238
|
+
} | undefined;
|
|
6631
7239
|
imports?: boolean | undefined;
|
|
6632
7240
|
} | undefined;
|
|
6633
7241
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -6905,6 +7513,8 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6905
7513
|
errorDetails: z.ZodOptional<z.ZodBoolean>;
|
|
6906
7514
|
errorStack: z.ZodOptional<z.ZodBoolean>;
|
|
6907
7515
|
moduleTrace: z.ZodOptional<z.ZodBoolean>;
|
|
7516
|
+
cachedModules: z.ZodOptional<z.ZodBoolean>;
|
|
7517
|
+
cached: z.ZodOptional<z.ZodBoolean>;
|
|
6908
7518
|
}, "strict", z.ZodTypeAny, {
|
|
6909
7519
|
publicPath?: boolean | undefined;
|
|
6910
7520
|
hash?: boolean | undefined;
|
|
@@ -6912,23 +7522,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6912
7522
|
chunks?: boolean | undefined;
|
|
6913
7523
|
providedExports?: boolean | undefined;
|
|
6914
7524
|
usedExports?: boolean | undefined;
|
|
6915
|
-
children?: boolean | undefined;
|
|
6916
|
-
runtime?: boolean | undefined;
|
|
6917
|
-
modules?: boolean | undefined;
|
|
6918
|
-
optimizationBailout?: boolean | undefined;
|
|
6919
|
-
depth?: boolean | undefined;
|
|
6920
|
-
assets?: boolean | undefined;
|
|
6921
|
-
source?: boolean | undefined;
|
|
6922
|
-
errors?: boolean | undefined;
|
|
6923
|
-
warnings?: boolean | undefined;
|
|
6924
|
-
reasons?: boolean | undefined;
|
|
6925
7525
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
7526
|
+
assets?: boolean | undefined;
|
|
7527
|
+
modules?: boolean | undefined;
|
|
6926
7528
|
entrypoints?: boolean | "auto" | undefined;
|
|
6927
7529
|
chunkGroups?: boolean | undefined;
|
|
7530
|
+
warnings?: boolean | undefined;
|
|
6928
7531
|
warningsCount?: boolean | undefined;
|
|
7532
|
+
errors?: boolean | undefined;
|
|
6929
7533
|
errorsCount?: boolean | undefined;
|
|
6930
7534
|
colors?: boolean | undefined;
|
|
6931
7535
|
version?: boolean | undefined;
|
|
7536
|
+
reasons?: boolean | undefined;
|
|
6932
7537
|
outputPath?: boolean | undefined;
|
|
6933
7538
|
chunkModules?: boolean | undefined;
|
|
6934
7539
|
chunkRelations?: boolean | undefined;
|
|
@@ -6937,10 +7542,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6937
7542
|
builtAt?: boolean | undefined;
|
|
6938
7543
|
moduleAssets?: boolean | undefined;
|
|
6939
7544
|
nestedModules?: boolean | undefined;
|
|
7545
|
+
source?: boolean | undefined;
|
|
6940
7546
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
6941
7547
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
6942
7548
|
loggingTrace?: boolean | undefined;
|
|
6943
7549
|
runtimeModules?: boolean | undefined;
|
|
7550
|
+
children?: boolean | undefined;
|
|
7551
|
+
optimizationBailout?: boolean | undefined;
|
|
6944
7552
|
groupModulesByType?: boolean | undefined;
|
|
6945
7553
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
6946
7554
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -6972,11 +7580,15 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6972
7580
|
chunkGroupMaxAssets?: number | undefined;
|
|
6973
7581
|
dependentModules?: boolean | undefined;
|
|
6974
7582
|
chunkOrigins?: boolean | undefined;
|
|
7583
|
+
runtime?: boolean | undefined;
|
|
7584
|
+
depth?: boolean | undefined;
|
|
6975
7585
|
reasonsSpace?: number | undefined;
|
|
6976
7586
|
groupReasonsByOrigin?: boolean | undefined;
|
|
6977
7587
|
errorDetails?: boolean | undefined;
|
|
6978
7588
|
errorStack?: boolean | undefined;
|
|
6979
7589
|
moduleTrace?: boolean | undefined;
|
|
7590
|
+
cachedModules?: boolean | undefined;
|
|
7591
|
+
cached?: boolean | undefined;
|
|
6980
7592
|
}, {
|
|
6981
7593
|
publicPath?: boolean | undefined;
|
|
6982
7594
|
hash?: boolean | undefined;
|
|
@@ -6984,23 +7596,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
6984
7596
|
chunks?: boolean | undefined;
|
|
6985
7597
|
providedExports?: boolean | undefined;
|
|
6986
7598
|
usedExports?: boolean | undefined;
|
|
6987
|
-
children?: boolean | undefined;
|
|
6988
|
-
runtime?: boolean | undefined;
|
|
6989
|
-
modules?: boolean | undefined;
|
|
6990
|
-
optimizationBailout?: boolean | undefined;
|
|
6991
|
-
depth?: boolean | undefined;
|
|
6992
|
-
assets?: boolean | undefined;
|
|
6993
|
-
source?: boolean | undefined;
|
|
6994
|
-
errors?: boolean | undefined;
|
|
6995
|
-
warnings?: boolean | undefined;
|
|
6996
|
-
reasons?: boolean | undefined;
|
|
6997
7599
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
7600
|
+
assets?: boolean | undefined;
|
|
7601
|
+
modules?: boolean | undefined;
|
|
6998
7602
|
entrypoints?: boolean | "auto" | undefined;
|
|
6999
7603
|
chunkGroups?: boolean | undefined;
|
|
7604
|
+
warnings?: boolean | undefined;
|
|
7000
7605
|
warningsCount?: boolean | undefined;
|
|
7606
|
+
errors?: boolean | undefined;
|
|
7001
7607
|
errorsCount?: boolean | undefined;
|
|
7002
7608
|
colors?: boolean | undefined;
|
|
7003
7609
|
version?: boolean | undefined;
|
|
7610
|
+
reasons?: boolean | undefined;
|
|
7004
7611
|
outputPath?: boolean | undefined;
|
|
7005
7612
|
chunkModules?: boolean | undefined;
|
|
7006
7613
|
chunkRelations?: boolean | undefined;
|
|
@@ -7009,10 +7616,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7009
7616
|
builtAt?: boolean | undefined;
|
|
7010
7617
|
moduleAssets?: boolean | undefined;
|
|
7011
7618
|
nestedModules?: boolean | undefined;
|
|
7619
|
+
source?: boolean | undefined;
|
|
7012
7620
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
7013
7621
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
7014
7622
|
loggingTrace?: boolean | undefined;
|
|
7015
7623
|
runtimeModules?: boolean | undefined;
|
|
7624
|
+
children?: boolean | undefined;
|
|
7625
|
+
optimizationBailout?: boolean | undefined;
|
|
7016
7626
|
groupModulesByType?: boolean | undefined;
|
|
7017
7627
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
7018
7628
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -7044,18 +7654,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7044
7654
|
chunkGroupMaxAssets?: number | undefined;
|
|
7045
7655
|
dependentModules?: boolean | undefined;
|
|
7046
7656
|
chunkOrigins?: boolean | undefined;
|
|
7657
|
+
runtime?: boolean | undefined;
|
|
7658
|
+
depth?: boolean | undefined;
|
|
7047
7659
|
reasonsSpace?: number | undefined;
|
|
7048
7660
|
groupReasonsByOrigin?: boolean | undefined;
|
|
7049
7661
|
errorDetails?: boolean | undefined;
|
|
7050
7662
|
errorStack?: boolean | undefined;
|
|
7051
7663
|
moduleTrace?: boolean | undefined;
|
|
7664
|
+
cachedModules?: boolean | undefined;
|
|
7665
|
+
cached?: boolean | undefined;
|
|
7052
7666
|
}>]>>;
|
|
7053
7667
|
snapshot: z.ZodOptional<z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>>;
|
|
7054
7668
|
optimization: z.ZodOptional<z.ZodObject<{
|
|
7055
7669
|
moduleIds: z.ZodOptional<z.ZodEnum<["named", "natural", "deterministic"]>>;
|
|
7056
7670
|
chunkIds: z.ZodOptional<z.ZodEnum<["natural", "named", "deterministic"]>>;
|
|
7057
7671
|
minimize: z.ZodOptional<z.ZodBoolean>;
|
|
7058
|
-
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance
|
|
7672
|
+
minimizer: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodLiteral<"...">, z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>]>, "many">>;
|
|
7059
7673
|
mergeDuplicateChunks: z.ZodOptional<z.ZodBoolean>;
|
|
7060
7674
|
splitChunks: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodObject<{
|
|
7061
7675
|
chunks: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodEnum<["initial", "async", "all"]>, z.ZodType<RegExp, z.ZodTypeDef, RegExp>]>, z.ZodFunction<z.ZodTuple<[z.ZodType<Chunk, z.ZodTypeDef, Chunk>], z.ZodUnknown>, z.ZodBoolean>]>>;
|
|
@@ -7254,7 +7868,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7254
7868
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7255
7869
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7256
7870
|
minimize?: boolean | undefined;
|
|
7257
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
7871
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7258
7872
|
mergeDuplicateChunks?: boolean | undefined;
|
|
7259
7873
|
splitChunks?: false | {
|
|
7260
7874
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7315,7 +7929,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7315
7929
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7316
7930
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
7317
7931
|
minimize?: boolean | undefined;
|
|
7318
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
7932
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
7319
7933
|
mergeDuplicateChunks?: boolean | undefined;
|
|
7320
7934
|
splitChunks?: false | {
|
|
7321
7935
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -7375,7 +7989,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
7375
7989
|
}>>;
|
|
7376
7990
|
resolve: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
|
|
7377
7991
|
resolveLoader: z.ZodOptional<z.ZodType<ResolveOptions, z.ZodTypeDef, ResolveOptions>>;
|
|
7378
|
-
plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance, z.ZodTypeDef, RspackPluginInstance
|
|
7992
|
+
plugins: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodType<RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction, z.ZodTypeDef, RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
7379
7993
|
devServer: z.ZodOptional<z.ZodType<DevServer, z.ZodTypeDef, DevServer>>;
|
|
7380
7994
|
module: z.ZodOptional<z.ZodObject<{
|
|
7381
7995
|
defaultRules: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodLiteral<"...">, z.ZodType<RuleSetRule, z.ZodTypeDef, RuleSetRule>]>, z.ZodUnion<[z.ZodLiteral<false>, z.ZodLiteral<0>, z.ZodLiteral<"">, z.ZodNull, z.ZodUndefined]>]>, "many">>;
|
|
@@ -8398,6 +9012,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8398
9012
|
dependencies?: string[] | undefined;
|
|
8399
9013
|
name?: string | undefined;
|
|
8400
9014
|
context?: string | undefined;
|
|
9015
|
+
performance?: false | {
|
|
9016
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
9017
|
+
hints?: false | "error" | "warning" | undefined;
|
|
9018
|
+
maxAssetSize?: number | undefined;
|
|
9019
|
+
maxEntrypointSize?: number | undefined;
|
|
9020
|
+
} | undefined;
|
|
8401
9021
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
8402
9022
|
import: string | string[];
|
|
8403
9023
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -8483,18 +9103,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8483
9103
|
} | undefined;
|
|
8484
9104
|
dependOn?: string | string[] | undefined;
|
|
8485
9105
|
}>>) | undefined;
|
|
8486
|
-
profile?: boolean | undefined;
|
|
8487
|
-
performance?: false | {
|
|
8488
|
-
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
8489
|
-
hints?: false | "error" | "warning" | undefined;
|
|
8490
|
-
maxAssetSize?: number | undefined;
|
|
8491
|
-
maxEntrypointSize?: number | undefined;
|
|
8492
|
-
} | undefined;
|
|
8493
9106
|
node?: false | {
|
|
8494
9107
|
global?: boolean | "warn" | undefined;
|
|
8495
9108
|
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
8496
9109
|
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
8497
9110
|
} | undefined;
|
|
9111
|
+
profile?: boolean | undefined;
|
|
8498
9112
|
cache?: boolean | undefined;
|
|
8499
9113
|
loader?: Record<string, any> | undefined;
|
|
8500
9114
|
resolve?: ResolveOptions | undefined;
|
|
@@ -8555,6 +9169,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8555
9169
|
clean?: boolean | undefined;
|
|
8556
9170
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
8557
9171
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
9172
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
8558
9173
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
8559
9174
|
hotUpdateMainFilename?: string | undefined;
|
|
8560
9175
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -8593,13 +9208,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8593
9208
|
chunkLoadTimeout?: number | undefined;
|
|
8594
9209
|
charset?: boolean | undefined;
|
|
8595
9210
|
} | undefined;
|
|
8596
|
-
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" |
|
|
8597
|
-
mode?: "
|
|
9211
|
+
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined;
|
|
9212
|
+
mode?: "none" | "development" | "production" | undefined;
|
|
8598
9213
|
experiments?: {
|
|
8599
9214
|
css?: boolean | undefined;
|
|
8600
9215
|
lazyCompilation?: boolean | {
|
|
8601
9216
|
entries?: boolean | undefined;
|
|
8602
9217
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
9218
|
+
backend?: {
|
|
9219
|
+
client?: string | undefined;
|
|
9220
|
+
listen?: number | {
|
|
9221
|
+
path?: string | undefined;
|
|
9222
|
+
port?: number | undefined;
|
|
9223
|
+
host?: string | undefined;
|
|
9224
|
+
backlog?: number | undefined;
|
|
9225
|
+
exclusive?: boolean | undefined;
|
|
9226
|
+
readableAll?: boolean | undefined;
|
|
9227
|
+
writableAll?: boolean | undefined;
|
|
9228
|
+
ipv6Only?: boolean | undefined;
|
|
9229
|
+
} | undefined;
|
|
9230
|
+
protocol?: "http" | "https" | undefined;
|
|
9231
|
+
} | undefined;
|
|
8603
9232
|
imports?: boolean | undefined;
|
|
8604
9233
|
} | undefined;
|
|
8605
9234
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -8680,23 +9309,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8680
9309
|
chunks?: boolean | undefined;
|
|
8681
9310
|
providedExports?: boolean | undefined;
|
|
8682
9311
|
usedExports?: boolean | undefined;
|
|
8683
|
-
children?: boolean | undefined;
|
|
8684
|
-
runtime?: boolean | undefined;
|
|
8685
|
-
modules?: boolean | undefined;
|
|
8686
|
-
optimizationBailout?: boolean | undefined;
|
|
8687
|
-
depth?: boolean | undefined;
|
|
8688
|
-
assets?: boolean | undefined;
|
|
8689
|
-
source?: boolean | undefined;
|
|
8690
|
-
errors?: boolean | undefined;
|
|
8691
|
-
warnings?: boolean | undefined;
|
|
8692
|
-
reasons?: boolean | undefined;
|
|
8693
9312
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
9313
|
+
assets?: boolean | undefined;
|
|
9314
|
+
modules?: boolean | undefined;
|
|
8694
9315
|
entrypoints?: boolean | "auto" | undefined;
|
|
8695
9316
|
chunkGroups?: boolean | undefined;
|
|
9317
|
+
warnings?: boolean | undefined;
|
|
8696
9318
|
warningsCount?: boolean | undefined;
|
|
9319
|
+
errors?: boolean | undefined;
|
|
8697
9320
|
errorsCount?: boolean | undefined;
|
|
8698
9321
|
colors?: boolean | undefined;
|
|
8699
9322
|
version?: boolean | undefined;
|
|
9323
|
+
reasons?: boolean | undefined;
|
|
8700
9324
|
outputPath?: boolean | undefined;
|
|
8701
9325
|
chunkModules?: boolean | undefined;
|
|
8702
9326
|
chunkRelations?: boolean | undefined;
|
|
@@ -8705,10 +9329,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8705
9329
|
builtAt?: boolean | undefined;
|
|
8706
9330
|
moduleAssets?: boolean | undefined;
|
|
8707
9331
|
nestedModules?: boolean | undefined;
|
|
9332
|
+
source?: boolean | undefined;
|
|
8708
9333
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
8709
9334
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
8710
9335
|
loggingTrace?: boolean | undefined;
|
|
8711
9336
|
runtimeModules?: boolean | undefined;
|
|
9337
|
+
children?: boolean | undefined;
|
|
9338
|
+
optimizationBailout?: boolean | undefined;
|
|
8712
9339
|
groupModulesByType?: boolean | undefined;
|
|
8713
9340
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
8714
9341
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -8740,18 +9367,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8740
9367
|
chunkGroupMaxAssets?: number | undefined;
|
|
8741
9368
|
dependentModules?: boolean | undefined;
|
|
8742
9369
|
chunkOrigins?: boolean | undefined;
|
|
9370
|
+
runtime?: boolean | undefined;
|
|
9371
|
+
depth?: boolean | undefined;
|
|
8743
9372
|
reasonsSpace?: number | undefined;
|
|
8744
9373
|
groupReasonsByOrigin?: boolean | undefined;
|
|
8745
9374
|
errorDetails?: boolean | undefined;
|
|
8746
9375
|
errorStack?: boolean | undefined;
|
|
8747
9376
|
moduleTrace?: boolean | undefined;
|
|
9377
|
+
cachedModules?: boolean | undefined;
|
|
9378
|
+
cached?: boolean | undefined;
|
|
8748
9379
|
} | undefined;
|
|
8749
9380
|
snapshot?: {} | undefined;
|
|
8750
9381
|
optimization?: {
|
|
8751
9382
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
8752
9383
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
8753
9384
|
minimize?: boolean | undefined;
|
|
8754
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
9385
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
8755
9386
|
mergeDuplicateChunks?: boolean | undefined;
|
|
8756
9387
|
splitChunks?: false | {
|
|
8757
9388
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -8810,7 +9441,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8810
9441
|
nodeEnv?: string | false | undefined;
|
|
8811
9442
|
} | undefined;
|
|
8812
9443
|
resolveLoader?: ResolveOptions | undefined;
|
|
8813
|
-
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
9444
|
+
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
8814
9445
|
devServer?: DevServer | undefined;
|
|
8815
9446
|
bail?: boolean | undefined;
|
|
8816
9447
|
}, {
|
|
@@ -8946,6 +9577,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
8946
9577
|
dependencies?: string[] | undefined;
|
|
8947
9578
|
name?: string | undefined;
|
|
8948
9579
|
context?: string | undefined;
|
|
9580
|
+
performance?: false | {
|
|
9581
|
+
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
9582
|
+
hints?: false | "error" | "warning" | undefined;
|
|
9583
|
+
maxAssetSize?: number | undefined;
|
|
9584
|
+
maxEntrypointSize?: number | undefined;
|
|
9585
|
+
} | undefined;
|
|
8949
9586
|
entry?: string | string[] | Record<string, string | string[] | {
|
|
8950
9587
|
import: string | string[];
|
|
8951
9588
|
filename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
@@ -9031,18 +9668,12 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9031
9668
|
} | undefined;
|
|
9032
9669
|
dependOn?: string | string[] | undefined;
|
|
9033
9670
|
}>>) | undefined;
|
|
9034
|
-
profile?: boolean | undefined;
|
|
9035
|
-
performance?: false | {
|
|
9036
|
-
assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
|
|
9037
|
-
hints?: false | "error" | "warning" | undefined;
|
|
9038
|
-
maxAssetSize?: number | undefined;
|
|
9039
|
-
maxEntrypointSize?: number | undefined;
|
|
9040
|
-
} | undefined;
|
|
9041
9671
|
node?: false | {
|
|
9042
9672
|
global?: boolean | "warn" | undefined;
|
|
9043
9673
|
__dirname?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9044
9674
|
__filename?: boolean | "warn-mock" | "mock" | "eval-only" | undefined;
|
|
9045
9675
|
} | undefined;
|
|
9676
|
+
profile?: boolean | undefined;
|
|
9046
9677
|
cache?: boolean | undefined;
|
|
9047
9678
|
loader?: Record<string, any> | undefined;
|
|
9048
9679
|
resolve?: ResolveOptions | undefined;
|
|
@@ -9103,6 +9734,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9103
9734
|
clean?: boolean | undefined;
|
|
9104
9735
|
crossOriginLoading?: false | "anonymous" | "use-credentials" | undefined;
|
|
9105
9736
|
cssFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
9737
|
+
cssHeadDataCompression?: boolean | undefined;
|
|
9106
9738
|
cssChunkFilename?: string | ((args_0: import("@rspack/binding").JsPathData, args_1: JsAssetInfo | undefined, ...args_2: unknown[]) => string) | undefined;
|
|
9107
9739
|
hotUpdateMainFilename?: string | undefined;
|
|
9108
9740
|
hotUpdateChunkFilename?: string | undefined;
|
|
@@ -9141,13 +9773,27 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9141
9773
|
chunkLoadTimeout?: number | undefined;
|
|
9142
9774
|
charset?: boolean | undefined;
|
|
9143
9775
|
} | undefined;
|
|
9144
|
-
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" |
|
|
9145
|
-
mode?: "
|
|
9776
|
+
target?: false | "es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}` | ("es3" | "es5" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "node" | "async-node" | "web" | "webworker" | `node${number}` | `async-node${number}` | `node${number}.${number}` | `async-node${number}.${number}` | "electron-main" | `electron${number}-main` | `electron${number}.${number}-main` | "electron-renderer" | `electron${number}-renderer` | `electron${number}.${number}-renderer` | "electron-preload" | `electron${number}-preload` | `electron${number}.${number}-preload` | "nwjs" | `nwjs${number}` | `nwjs${number}.${number}` | "node-webkit" | `node-webkit${number}` | `node-webkit${number}.${number}` | "browserslist" | `browserslist:${string}`)[] | undefined;
|
|
9777
|
+
mode?: "none" | "development" | "production" | undefined;
|
|
9146
9778
|
experiments?: {
|
|
9147
9779
|
css?: boolean | undefined;
|
|
9148
9780
|
lazyCompilation?: boolean | {
|
|
9149
9781
|
entries?: boolean | undefined;
|
|
9150
9782
|
test?: RegExp | ((args_0: Module, ...args_1: unknown[]) => boolean) | undefined;
|
|
9783
|
+
backend?: {
|
|
9784
|
+
client?: string | undefined;
|
|
9785
|
+
listen?: number | {
|
|
9786
|
+
path?: string | undefined;
|
|
9787
|
+
port?: number | undefined;
|
|
9788
|
+
host?: string | undefined;
|
|
9789
|
+
backlog?: number | undefined;
|
|
9790
|
+
exclusive?: boolean | undefined;
|
|
9791
|
+
readableAll?: boolean | undefined;
|
|
9792
|
+
writableAll?: boolean | undefined;
|
|
9793
|
+
ipv6Only?: boolean | undefined;
|
|
9794
|
+
} | undefined;
|
|
9795
|
+
protocol?: "http" | "https" | undefined;
|
|
9796
|
+
} | undefined;
|
|
9151
9797
|
imports?: boolean | undefined;
|
|
9152
9798
|
} | undefined;
|
|
9153
9799
|
asyncWebAssembly?: boolean | undefined;
|
|
@@ -9228,23 +9874,18 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9228
9874
|
chunks?: boolean | undefined;
|
|
9229
9875
|
providedExports?: boolean | undefined;
|
|
9230
9876
|
usedExports?: boolean | undefined;
|
|
9231
|
-
children?: boolean | undefined;
|
|
9232
|
-
runtime?: boolean | undefined;
|
|
9233
|
-
modules?: boolean | undefined;
|
|
9234
|
-
optimizationBailout?: boolean | undefined;
|
|
9235
|
-
depth?: boolean | undefined;
|
|
9236
|
-
assets?: boolean | undefined;
|
|
9237
|
-
source?: boolean | undefined;
|
|
9238
|
-
errors?: boolean | undefined;
|
|
9239
|
-
warnings?: boolean | undefined;
|
|
9240
|
-
reasons?: boolean | undefined;
|
|
9241
9877
|
preset?: boolean | "verbose" | "normal" | "none" | "errors-only" | "errors-warnings" | "minimal" | "detailed" | "summary" | undefined;
|
|
9878
|
+
assets?: boolean | undefined;
|
|
9879
|
+
modules?: boolean | undefined;
|
|
9242
9880
|
entrypoints?: boolean | "auto" | undefined;
|
|
9243
9881
|
chunkGroups?: boolean | undefined;
|
|
9882
|
+
warnings?: boolean | undefined;
|
|
9244
9883
|
warningsCount?: boolean | undefined;
|
|
9884
|
+
errors?: boolean | undefined;
|
|
9245
9885
|
errorsCount?: boolean | undefined;
|
|
9246
9886
|
colors?: boolean | undefined;
|
|
9247
9887
|
version?: boolean | undefined;
|
|
9888
|
+
reasons?: boolean | undefined;
|
|
9248
9889
|
outputPath?: boolean | undefined;
|
|
9249
9890
|
chunkModules?: boolean | undefined;
|
|
9250
9891
|
chunkRelations?: boolean | undefined;
|
|
@@ -9253,10 +9894,13 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9253
9894
|
builtAt?: boolean | undefined;
|
|
9254
9895
|
moduleAssets?: boolean | undefined;
|
|
9255
9896
|
nestedModules?: boolean | undefined;
|
|
9897
|
+
source?: boolean | undefined;
|
|
9256
9898
|
logging?: boolean | "log" | "info" | "verbose" | "none" | "error" | "warn" | undefined;
|
|
9257
9899
|
loggingDebug?: string | boolean | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean) | (string | RegExp | ((args_0: string, ...args_1: unknown[]) => boolean))[] | undefined;
|
|
9258
9900
|
loggingTrace?: boolean | undefined;
|
|
9259
9901
|
runtimeModules?: boolean | undefined;
|
|
9902
|
+
children?: boolean | undefined;
|
|
9903
|
+
optimizationBailout?: boolean | undefined;
|
|
9260
9904
|
groupModulesByType?: boolean | undefined;
|
|
9261
9905
|
groupModulesByCacheStatus?: boolean | undefined;
|
|
9262
9906
|
groupModulesByLayer?: boolean | undefined;
|
|
@@ -9288,18 +9932,22 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9288
9932
|
chunkGroupMaxAssets?: number | undefined;
|
|
9289
9933
|
dependentModules?: boolean | undefined;
|
|
9290
9934
|
chunkOrigins?: boolean | undefined;
|
|
9935
|
+
runtime?: boolean | undefined;
|
|
9936
|
+
depth?: boolean | undefined;
|
|
9291
9937
|
reasonsSpace?: number | undefined;
|
|
9292
9938
|
groupReasonsByOrigin?: boolean | undefined;
|
|
9293
9939
|
errorDetails?: boolean | undefined;
|
|
9294
9940
|
errorStack?: boolean | undefined;
|
|
9295
9941
|
moduleTrace?: boolean | undefined;
|
|
9942
|
+
cachedModules?: boolean | undefined;
|
|
9943
|
+
cached?: boolean | undefined;
|
|
9296
9944
|
} | undefined;
|
|
9297
9945
|
snapshot?: {} | undefined;
|
|
9298
9946
|
optimization?: {
|
|
9299
9947
|
moduleIds?: "named" | "natural" | "deterministic" | undefined;
|
|
9300
9948
|
chunkIds?: "named" | "natural" | "deterministic" | undefined;
|
|
9301
9949
|
minimize?: boolean | undefined;
|
|
9302
|
-
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | null | undefined)[] | undefined;
|
|
9950
|
+
minimizer?: (false | "" | 0 | RspackPluginInstance | "..." | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9303
9951
|
mergeDuplicateChunks?: boolean | undefined;
|
|
9304
9952
|
splitChunks?: false | {
|
|
9305
9953
|
name?: string | false | ((args_0: Module | undefined, ...args_1: unknown[]) => unknown) | undefined;
|
|
@@ -9358,7 +10006,7 @@ export declare const rspackOptions: z.ZodObject<{
|
|
|
9358
10006
|
nodeEnv?: string | false | undefined;
|
|
9359
10007
|
} | undefined;
|
|
9360
10008
|
resolveLoader?: ResolveOptions | undefined;
|
|
9361
|
-
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | null | undefined)[] | undefined;
|
|
10009
|
+
plugins?: (false | "" | 0 | RspackPluginInstance | RspackPluginFunction | WebpackPluginInstance | WebpackPluginFunction | null | undefined)[] | undefined;
|
|
9362
10010
|
devServer?: DevServer | undefined;
|
|
9363
10011
|
bail?: boolean | undefined;
|
|
9364
10012
|
}>;
|