@@ -32,7 +32,7 @@ export declare class EntryOptionsDto {
3232 get runtime ( ) : false | string | undefined
3333 set runtime ( chunkLoading : boolean | string | undefined )
3434 get chunkLoading ( ) : string | undefined
35- set chunkLoading ( chunkLoading : string | undefined )
35+ set chunkLoading ( chunkLoading : string | false | undefined )
3636 get asyncChunks ( ) : boolean | undefined
3737 set asyncChunks ( asyncChunks : boolean | undefined )
3838 get baseUri ( ) : string | undefined
@@ -612,7 +612,7 @@ export interface JsEntryData {
612612export interface JsEntryOptions {
613613 name ?: string
614614 runtime ?: false | string
615- chunkLoading ?: string
615+ chunkLoading ?: false | string
616616 asyncChunks ?: boolean
617617 publicPath ?: "auto" | JsFilename
618618 baseUri ?: string
@@ -686,7 +686,7 @@ export interface JsLibraryAuxiliaryComment {
686686export interface JsLibraryCustomUmdObject {
687687 amd ?: string
688688 commonjs ?: string
689- root ?: Array < string >
689+ root ?: Array < string > | string
690690}
691691
692692export interface JsLibraryName {
@@ -697,11 +697,11 @@ export interface JsLibraryName {
697697}
698698
699699export interface JsLibraryOptions {
700- name ?: JsLibraryName
701- export ?: Array < string >
702- libraryType : string
700+ name ?: string | Array < string > | JsLibraryCustomUmdObject
701+ export ?: Array < string > | string
702+ type : string
703703 umdNamedDefine ?: boolean
704- auxiliaryComment ?: JsLibraryAuxiliaryComment
704+ auxiliaryComment ?: string | JsLibraryAuxiliaryComment
705705 amdContainer ?: string
706706}
707707
@@ -1198,14 +1198,6 @@ export interface RawCacheGroupOptions {
11981198
11991199export interface RawCacheOptions {
12001200 type : string
1201- maxGenerations : number
1202- maxAge : number
1203- profile : boolean
1204- buildDependencies : Array < string >
1205- cacheDirectory : string
1206- cacheLocation : string
1207- name : string
1208- version : string
12091201}
12101202
12111203export interface RawConsumeOptions {
@@ -1274,12 +1266,6 @@ export interface RawCopyRspackPluginOptions {
12741266 patterns : Array < RawCopyPattern >
12751267}
12761268
1277- export interface RawCrossOriginLoading {
1278- type : "bool" | "string"
1279- stringPayload ?: string
1280- boolPayload ?: boolean
1281- }
1282-
12831269export interface RawCssAutoGeneratorOptions {
12841270 exportsConvention ?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only"
12851271 exportsOnly ?: boolean
@@ -1381,8 +1367,8 @@ export interface RawEvalDevToolModulePluginOptions {
13811367 sourceUrlComment ?: string
13821368}
13831369
1384- export interface RawExperimentCacheOptionsCommon {
1385- type : "disable" | "memory "
1370+ export interface RawExperimentCacheOptionsMemory {
1371+ type : "memory" | "disable "
13861372}
13871373
13881374export interface RawExperimentCacheOptionsPersistent {
@@ -1396,9 +1382,9 @@ export interface RawExperimentCacheOptionsPersistent {
13961382export interface RawExperiments {
13971383 layers : boolean
13981384 topLevelAwait : boolean
1399- incremental ?: RawIncremental
1400- rspackFuture : RawRspackFuture
1401- cache : RawExperimentCacheOptionsPersistent | RawExperimentCacheOptionsCommon
1385+ incremental ?: false | { [ key : string ] : boolean }
1386+ rspackFuture ? : RawRspackFuture
1387+ cache : RawExperimentCacheOptionsPersistent | RawExperimentCacheOptionsMemory | boolean
14021388}
14031389
14041390export interface RawExperimentSnapshotOptions {
@@ -1745,26 +1731,23 @@ export interface RawOccurrenceChunkIdsPluginOptions {
17451731
17461732export interface RawOptimizationOptions {
17471733 removeAvailableModules : boolean
1748- sideEffects : string
1749- usedExports : string
1734+ sideEffects : boolean | string
1735+ usedExports : boolean | string
17501736 providedExports : boolean
17511737 innerGraph : boolean
1752- mangleExports : string
1738+ mangleExports : boolean | string
17531739 concatenateModules : boolean
17541740}
17551741
17561742export interface RawOptions {
17571743 mode ?: undefined | 'production' | 'development' | 'none'
1758- target : Array < string >
17591744 context : string
17601745 output : RawOutputOptions
17611746 resolve : RawResolveOptions
17621747 resolveLoader : RawResolveOptions
17631748 module : RawModuleOptions
1764- devtool : string
17651749 optimization : RawOptimizationOptions
17661750 stats : RawStatsOptions
1767- snapshot : RawSnapshotOptions
17681751 cache : RawCacheOptions
17691752 experiments : RawExperiments
17701753 node ?: RawNodeOption
@@ -1780,12 +1763,12 @@ export interface RawOutputOptions {
17801763 clean : boolean | JsCleanOptions
17811764 publicPath : "auto" | JsFilename
17821765 assetModuleFilename : JsFilename
1783- wasmLoading : string
1766+ wasmLoading : string | false
17841767 enabledWasmLoadingTypes : Array < string >
17851768 webassemblyModuleFilename : string
17861769 filename : JsFilename
17871770 chunkFilename : JsFilename
1788- crossOriginLoading : RawCrossOriginLoading
1771+ crossOriginLoading : string | false
17891772 cssFilename : JsFilename
17901773 cssChunkFilename : JsFilename
17911774 hotUpdateMainFilename : string
@@ -1801,7 +1784,7 @@ export interface RawOutputOptions {
18011784 importMetaName : string
18021785 iife : boolean
18031786 module : boolean
1804- chunkLoading : string
1787+ chunkLoading : string | false
18051788 chunkLoadTimeout : number
18061789 charset : boolean
18071790 enabledChunkLoadingTypes ?: Array < string >
@@ -1812,10 +1795,10 @@ export interface RawOutputOptions {
18121795 hashDigestLength : number
18131796 hashSalt ?: string
18141797 asyncChunks : boolean
1815- workerChunkLoading : string
1816- workerWasmLoading : string
1798+ workerChunkLoading : string | false
1799+ workerWasmLoading : string | false
18171800 workerPublicPath : string
1818- scriptType : "module" | "text/javascript" | " false"
1801+ scriptType : "module" | "text/javascript" | false
18191802 environment : RawEnvironment
18201803 compareBeforeEmit : boolean
18211804}
@@ -1963,10 +1946,6 @@ export interface RawSizeLimitsPluginOptions {
19631946 maxEntrypointSize ?: number
19641947}
19651948
1966- export interface RawSnapshotOptions {
1967-
1968- }
1969-
19701949export interface RawSourceMapDevToolPluginOptions {
19711950 append ?: ( false | null ) | string | Function
19721951 columns ?: boolean
0 commit comments