@@ -664,7 +664,7 @@ declare interface CacheGroupsContext {
664
664
moduleGraph : ModuleGraph ;
665
665
chunkGraph : ChunkGraph ;
666
666
}
667
- type CacheOptionsNormalized = false | MemoryCacheOptions | FileCacheOptions ;
667
+ type CacheOptionsNormalized = false | FileCacheOptions | MemoryCacheOptions ;
668
668
declare class CachedSource extends Source {
669
669
constructor ( source : Source ) ;
670
670
constructor ( source : Source | ( ( ) => Source ) , cachedData ?: any ) ;
@@ -2058,7 +2058,7 @@ declare interface Configuration {
2058
2058
/**
2059
2059
* Cache generated modules and chunks to improve performance for multiple incremental builds.
2060
2060
*/
2061
- cache ?: boolean | MemoryCacheOptions | FileCacheOptions ;
2061
+ cache ?: boolean | FileCacheOptions | MemoryCacheOptions ;
2062
2062
2063
2063
/**
2064
2064
* The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.
@@ -2115,6 +2115,7 @@ declare interface Configuration {
2115
2115
* Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
2116
2116
*/
2117
2117
externalsType ?:
2118
+ | "import"
2118
2119
| "var"
2119
2120
| "module"
2120
2121
| "assign"
@@ -2133,7 +2134,6 @@ declare interface Configuration {
2133
2134
| "jsonp"
2134
2135
| "system"
2135
2136
| "promise"
2136
- | "import"
2137
2137
| "script"
2138
2138
| "node-commonjs" ;
2139
2139
@@ -2472,9 +2472,9 @@ declare interface ContextHash {
2472
2472
symlinks ?: Set < string > ;
2473
2473
}
2474
2474
type ContextMode =
2475
+ | "weak"
2475
2476
| "sync"
2476
2477
| "eager"
2477
- | "weak"
2478
2478
| "async-weak"
2479
2479
| "lazy"
2480
2480
| "lazy-once" ;
@@ -3958,6 +3958,7 @@ declare interface ExternalsPresets {
3958
3958
webAsync ?: boolean ;
3959
3959
}
3960
3960
type ExternalsType =
3961
+ | "import"
3961
3962
| "var"
3962
3963
| "module"
3963
3964
| "assign"
@@ -3976,7 +3977,6 @@ type ExternalsType =
3976
3977
| "jsonp"
3977
3978
| "system"
3978
3979
| "promise"
3979
- | "import"
3980
3980
| "script"
3981
3981
| "node-commonjs" ;
3982
3982
declare interface FactorizeModuleOptions {
@@ -6832,6 +6832,7 @@ declare interface ModuleFederationPluginOptions {
6832
6832
* The external type of the remote containers.
6833
6833
*/
6834
6834
remoteType ?:
6835
+ | "import"
6835
6836
| "var"
6836
6837
| "module"
6837
6838
| "assign"
@@ -6850,7 +6851,6 @@ declare interface ModuleFederationPluginOptions {
6850
6851
| "jsonp"
6851
6852
| "system"
6852
6853
| "promise"
6853
- | "import"
6854
6854
| "script"
6855
6855
| "node-commonjs" ;
6856
6856
@@ -12209,6 +12209,7 @@ declare interface WebpackOptionsNormalized {
12209
12209
* Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
12210
12210
*/
12211
12211
externalsType ?:
12212
+ | "import"
12212
12213
| "var"
12213
12214
| "module"
12214
12215
| "assign"
@@ -12227,7 +12228,6 @@ declare interface WebpackOptionsNormalized {
12227
12228
| "jsonp"
12228
12229
| "system"
12229
12230
| "promise"
12230
- | "import"
12231
12231
| "script"
12232
12232
| "node-commonjs" ;
12233
12233
@@ -12865,7 +12865,6 @@ declare namespace exports {
12865
12865
compiler : Compiler
12866
12866
) => void ;
12867
12867
export {
12868
- Argument ,
12869
12868
AutomaticPrefetchPlugin ,
12870
12869
AsyncDependenciesBlock ,
12871
12870
BannerPlugin ,
@@ -12912,23 +12911,21 @@ declare namespace exports {
12912
12911
ProgressPlugin ,
12913
12912
ProvidePlugin ,
12914
12913
RuntimeModule ,
12915
- EntryOptions ,
12916
12914
EntryPlugin as SingleEntryPlugin ,
12917
12915
SourceMapDevToolPlugin ,
12918
12916
Stats ,
12919
12917
Template ,
12920
12918
WatchIgnorePlugin ,
12921
12919
WebpackError ,
12922
- Problem ,
12923
12920
WebpackOptionsApply ,
12924
12921
WebpackOptionsDefaulter ,
12925
12922
ValidationError as WebpackOptionsValidationError ,
12926
12923
ValidationError ,
12927
12924
Entry ,
12928
12925
EntryNormalized ,
12929
12926
EntryObject ,
12930
- LibraryOptions ,
12931
12927
FileCacheOptions ,
12928
+ LibraryOptions ,
12932
12929
ModuleOptions ,
12933
12930
ResolveOptionsWebpackOptions as ResolveOptions ,
12934
12931
RuleSetCondition ,
@@ -12942,12 +12939,15 @@ declare namespace exports {
12942
12939
WebpackPluginInstance ,
12943
12940
Asset ,
12944
12941
AssetInfo ,
12942
+ EntryOptions ,
12945
12943
AssetEmittedInfo ,
12946
12944
MultiStats ,
12947
12945
ParserState ,
12948
12946
ResolvePluginInstance ,
12949
12947
Resolver ,
12950
12948
Watching ,
12949
+ Argument ,
12950
+ Problem ,
12951
12951
StatsAsset ,
12952
12952
StatsChunk ,
12953
12953
StatsChunkGroup ,
0 commit comments