webpack 5.102.0 → 5.103.0
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/README.md +121 -134
- package/lib/ChunkGraph.js +2 -2
- package/lib/CodeGenerationResults.js +1 -1
- package/lib/CompatibilityPlugin.js +25 -2
- package/lib/Compilation.js +30 -13
- package/lib/ConcatenationScope.js +0 -15
- package/lib/ContextModule.js +3 -1
- package/lib/CssModule.js +6 -1
- package/lib/DefinePlugin.js +12 -12
- package/lib/Dependency.js +8 -1
- package/lib/DependencyTemplate.js +1 -0
- package/lib/DependencyTemplates.js +1 -1
- package/lib/DotenvPlugin.js +457 -0
- package/lib/EnvironmentPlugin.js +19 -16
- package/lib/EvalSourceMapDevToolPlugin.js +16 -0
- package/lib/ExportsInfo.js +6 -2
- package/lib/ExternalModule.js +20 -28
- package/lib/ExternalModuleFactoryPlugin.js +10 -8
- package/lib/ExternalsPlugin.js +2 -1
- package/lib/FileSystemInfo.js +9 -12
- package/lib/ManifestPlugin.js +235 -0
- package/lib/Module.js +3 -0
- package/lib/ModuleFilenameHelpers.js +1 -1
- package/lib/ModuleGraph.js +2 -1
- package/lib/ModuleSourceTypesConstants.js +0 -6
- package/lib/MultiCompiler.js +1 -1
- package/lib/NodeStuffPlugin.js +419 -121
- package/lib/NormalModule.js +18 -17
- package/lib/NormalModuleFactory.js +75 -4
- package/lib/RuntimeGlobals.js +22 -4
- package/lib/RuntimePlugin.js +27 -6
- package/lib/RuntimeTemplate.js +125 -57
- package/lib/SourceMapDevToolPlugin.js +26 -8
- package/lib/WebpackOptionsApply.js +33 -9
- package/lib/asset/AssetBytesGenerator.js +2 -1
- package/lib/asset/AssetGenerator.js +3 -5
- package/lib/asset/AssetSourceGenerator.js +1 -1
- package/lib/cache/getLazyHashedEtag.js +1 -1
- package/lib/config/browserslistTargetHandler.js +82 -76
- package/lib/config/defaults.js +105 -20
- package/lib/config/normalization.js +2 -1
- package/lib/config/target.js +7 -1
- package/lib/css/CssGenerator.js +283 -57
- package/lib/css/CssLoadingRuntimeModule.js +2 -0
- package/lib/css/CssMergeStyleSheetsRuntimeModule.js +56 -0
- package/lib/css/CssModulesPlugin.js +86 -40
- package/lib/css/CssParser.js +1174 -667
- package/lib/css/walkCssTokens.js +98 -1
- package/lib/dependencies/CommonJsImportsParserPlugin.js +0 -9
- package/lib/dependencies/CommonJsPlugin.js +12 -0
- package/lib/dependencies/ContextElementDependency.js +2 -2
- package/lib/dependencies/CssIcssExportDependency.js +247 -8
- package/lib/dependencies/CssIcssFromIdentifierDependency.js +124 -0
- package/lib/dependencies/CssIcssGlobalIdentifierDependency.js +48 -0
- package/lib/dependencies/CssIcssImportDependency.js +60 -54
- package/lib/dependencies/CssIcssLocalIdentifierDependency.js +61 -0
- package/lib/dependencies/{CssSelfLocalIdentifierDependency.js → CssIcssSelfLocalIdentifierDependency.js} +88 -10
- package/lib/dependencies/CssIcssSymbolDependency.js +31 -29
- package/lib/dependencies/CssImportDependency.js +15 -5
- package/lib/dependencies/ExternalModuleInitFragment.js +1 -1
- package/lib/dependencies/ExternalModuleInitFragmentDependency.js +95 -0
- package/lib/dependencies/HarmonyAcceptDependency.js +6 -1
- package/lib/dependencies/HarmonyAcceptImportDependency.js +2 -1
- package/lib/dependencies/HarmonyEvaluatedImportSpecifierDependency.js +12 -1
- package/lib/dependencies/HarmonyExportDependencyParserPlugin.js +32 -21
- package/lib/dependencies/HarmonyExportImportedSpecifierDependency.js +12 -8
- package/lib/dependencies/HarmonyImportDependency.js +27 -28
- package/lib/dependencies/HarmonyImportDependencyParserPlugin.js +28 -69
- package/lib/dependencies/HarmonyImportSideEffectDependency.js +4 -3
- package/lib/dependencies/HarmonyImportSpecifierDependency.js +10 -8
- package/lib/dependencies/ImportContextDependency.js +13 -0
- package/lib/dependencies/ImportDependency.js +10 -4
- package/lib/dependencies/ImportEagerDependency.js +6 -3
- package/lib/dependencies/ImportMetaPlugin.js +98 -10
- package/lib/dependencies/ImportParserPlugin.js +19 -21
- package/lib/dependencies/ImportPhase.js +121 -0
- package/lib/dependencies/ImportWeakDependency.js +6 -3
- package/lib/dependencies/ModuleDependency.js +5 -1
- package/lib/dependencies/ModuleHotAcceptDependency.js +1 -1
- package/lib/dependencies/WorkerPlugin.js +1 -3
- package/lib/esm/ExportWebpackRequireRuntimeModule.js +1 -8
- package/lib/hmr/LazyCompilationPlugin.js +1 -0
- package/lib/ids/HashedModuleIdsPlugin.js +5 -7
- package/lib/ids/IdHelpers.js +5 -2
- package/lib/index.js +6 -0
- package/lib/javascript/ChunkHelpers.js +16 -5
- package/lib/javascript/JavascriptGenerator.js +101 -101
- package/lib/javascript/JavascriptModulesPlugin.js +25 -16
- package/lib/javascript/JavascriptParser.js +143 -39
- package/lib/json/JsonParser.js +7 -1
- package/lib/library/ModuleLibraryPlugin.js +0 -10
- package/lib/library/SystemLibraryPlugin.js +19 -5
- package/lib/library/UmdLibraryPlugin.js +1 -1
- package/lib/node/NodeTargetPlugin.js +9 -1
- package/lib/node/ReadFileCompileWasmPlugin.js +0 -2
- package/lib/optimize/ConcatenatedModule.js +161 -135
- package/lib/optimize/RealContentHashPlugin.js +5 -3
- package/lib/runtime/AsyncModuleRuntimeModule.js +28 -18
- package/lib/runtime/AutoPublicPathRuntimeModule.js +8 -3
- package/lib/runtime/MakeDeferredNamespaceObjectRuntime.js +89 -55
- package/lib/serialization/FileMiddleware.js +1 -1
- package/lib/serialization/ObjectMiddleware.js +1 -1
- package/lib/stats/DefaultStatsFactoryPlugin.js +1 -1
- package/lib/util/Hash.js +35 -5
- package/lib/util/comparators.js +4 -3
- package/lib/util/create-schema-validation.js +1 -1
- package/lib/util/createHash.js +85 -15
- package/lib/util/hash/BatchedHash.js +47 -8
- package/lib/util/hash/wasm-hash.js +53 -13
- package/lib/util/internalSerializables.js +4 -4
- package/lib/util/jsonParseEvenBetterErrors.js +10 -0
- package/lib/wasm/EnableWasmLoadingPlugin.js +10 -4
- package/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +8 -5
- package/lib/wasm-async/AsyncWebAssemblyParser.js +0 -9
- package/lib/wasm-sync/WebAssemblyJavascriptGenerator.js +8 -4
- package/lib/wasm-sync/WebAssemblyParser.js +0 -9
- package/lib/web/FetchCompileWasmPlugin.js +0 -2
- package/lib/web/JsonpChunkLoadingRuntimeModule.js +1 -1
- package/lib/webpack.js +85 -82
- package/module.d.ts +5 -0
- package/package.json +28 -26
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +110 -15
- package/schemas/plugins/{HashedModuleIdsPlugin.check.d.ts → ManifestPlugin.check.d.ts} +1 -1
- package/schemas/plugins/ManifestPlugin.check.js +6 -0
- package/schemas/plugins/ManifestPlugin.json +98 -0
- package/schemas/plugins/SourceMapDevToolPlugin.check.js +1 -1
- package/schemas/plugins/SourceMapDevToolPlugin.json +16 -3
- package/schemas/plugins/container/ContainerReferencePlugin.check.js +1 -1
- package/schemas/plugins/container/ContainerReferencePlugin.json +4 -1
- package/schemas/plugins/container/ExternalsType.check.js +1 -1
- package/schemas/plugins/container/ModuleFederationPlugin.check.js +1 -1
- package/schemas/plugins/container/ModuleFederationPlugin.json +4 -1
- package/schemas/plugins/css/CssAutoParserOptions.check.js +1 -1
- package/schemas/plugins/css/CssGlobalGeneratorOptions.check.js +1 -1
- package/schemas/plugins/css/CssGlobalParserOptions.check.js +1 -1
- package/schemas/plugins/css/CssModuleGeneratorOptions.check.js +1 -1
- package/schemas/plugins/css/CssModuleParserOptions.check.js +1 -1
- package/schemas/plugins/css/CssParserOptions.check.js +1 -1
- package/schemas/plugins/ids/HashedModuleIdsPlugin.check.d.ts +7 -0
- package/schemas/plugins/ids/HashedModuleIdsPlugin.check.js +6 -0
- package/schemas/plugins/{HashedModuleIdsPlugin.json → ids/HashedModuleIdsPlugin.json} +15 -2
- package/schemas/plugins/json/JsonModulesPluginParser.check.js +1 -1
- package/types.d.ts +788 -127
- package/lib/dependencies/CssLocalIdentifierDependency.js +0 -252
- package/schemas/plugins/HashedModuleIdsPlugin.check.js +0 -6
package/types.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
ClassBody,
|
|
25
25
|
ClassDeclaration,
|
|
26
26
|
ClassExpression,
|
|
27
|
-
Comment,
|
|
27
|
+
Comment as CommentImport,
|
|
28
28
|
ConditionalExpression,
|
|
29
29
|
ContinueStatement,
|
|
30
30
|
DebuggerStatement,
|
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
SequenceExpression,
|
|
69
69
|
SimpleCallExpression,
|
|
70
70
|
SimpleLiteral,
|
|
71
|
+
SourceLocation,
|
|
71
72
|
SpreadElement,
|
|
72
73
|
StaticBlock,
|
|
73
74
|
Super,
|
|
@@ -90,18 +91,23 @@ import {
|
|
|
90
91
|
import {
|
|
91
92
|
IncomingMessage,
|
|
92
93
|
Server as ServerImportHttp,
|
|
93
|
-
ServerOptions
|
|
94
|
+
ServerOptions as ServerOptionsImportHttp
|
|
94
95
|
} from "http";
|
|
95
|
-
import {
|
|
96
|
+
import {
|
|
97
|
+
Server as ServerImportHttps,
|
|
98
|
+
ServerOptions as ServerOptionsImportHttps
|
|
99
|
+
} from "https";
|
|
96
100
|
import {
|
|
97
101
|
Session as SessionImportInspectorClass_1,
|
|
98
102
|
Session as SessionImportInspectorClass_2
|
|
99
103
|
} from "inspector";
|
|
100
104
|
import { JSONSchema4, JSONSchema6, JSONSchema7 } from "json-schema";
|
|
101
105
|
import { ListenOptions } from "net";
|
|
102
|
-
import {
|
|
106
|
+
import {
|
|
107
|
+
ValidationErrorConfiguration,
|
|
108
|
+
validate as validateFunction
|
|
109
|
+
} from "schema-utils";
|
|
103
110
|
import { default as ValidationError } from "schema-utils/declarations/ValidationError";
|
|
104
|
-
import { ValidationErrorConfiguration } from "schema-utils/declarations/validate";
|
|
105
111
|
import {
|
|
106
112
|
AsArray,
|
|
107
113
|
AsyncParallelHook,
|
|
@@ -114,9 +120,9 @@ import {
|
|
|
114
120
|
SyncBailHook,
|
|
115
121
|
SyncHook,
|
|
116
122
|
SyncWaterfallHook,
|
|
117
|
-
TapOptions
|
|
123
|
+
TapOptions,
|
|
124
|
+
TypedHookMap
|
|
118
125
|
} from "tapable";
|
|
119
|
-
import { SecureContextOptions, TlsOptions } from "tls";
|
|
120
126
|
import { URL } from "url";
|
|
121
127
|
import { Context } from "vm";
|
|
122
128
|
|
|
@@ -297,6 +303,14 @@ declare interface Asset {
|
|
|
297
303
|
*/
|
|
298
304
|
info: AssetInfo;
|
|
299
305
|
}
|
|
306
|
+
declare abstract class AssetBytesGenerator extends Generator {
|
|
307
|
+
generateError(
|
|
308
|
+
error: Error,
|
|
309
|
+
module: NormalModule,
|
|
310
|
+
generateContext: GenerateContext
|
|
311
|
+
): null | Source;
|
|
312
|
+
}
|
|
313
|
+
declare abstract class AssetBytesParser extends ParserClass {}
|
|
300
314
|
declare interface AssetDependencyMeta {
|
|
301
315
|
sourceType: "css-url";
|
|
302
316
|
}
|
|
@@ -311,6 +325,25 @@ type AssetFilterItemTypes =
|
|
|
311
325
|
| string
|
|
312
326
|
| RegExp
|
|
313
327
|
| ((name: string, asset: StatsAsset) => boolean);
|
|
328
|
+
declare abstract class AssetGenerator extends Generator {
|
|
329
|
+
dataUrlOptions?:
|
|
330
|
+
| AssetGeneratorDataUrlOptions
|
|
331
|
+
| ((
|
|
332
|
+
source: string | Buffer,
|
|
333
|
+
context: { filename: string; module: Module }
|
|
334
|
+
) => string);
|
|
335
|
+
filename?: string | ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
|
336
|
+
publicPath?: string | ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
|
337
|
+
outputPath?: string | ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
|
338
|
+
emit?: boolean;
|
|
339
|
+
getMimeType(module: NormalModule): string;
|
|
340
|
+
generateDataUri(module: NormalModule): string;
|
|
341
|
+
generateError(
|
|
342
|
+
error: Error,
|
|
343
|
+
module: NormalModule,
|
|
344
|
+
generateContext: GenerateContext
|
|
345
|
+
): null | Source;
|
|
346
|
+
}
|
|
314
347
|
|
|
315
348
|
/**
|
|
316
349
|
* Options object for data url generation.
|
|
@@ -349,6 +382,15 @@ declare interface AssetInlineGeneratorOptions {
|
|
|
349
382
|
context: { filename: string; module: Module }
|
|
350
383
|
) => string);
|
|
351
384
|
}
|
|
385
|
+
declare abstract class AssetParser extends ParserClass {
|
|
386
|
+
dataUrlCondition?:
|
|
387
|
+
| boolean
|
|
388
|
+
| AssetParserDataUrlOptions
|
|
389
|
+
| ((
|
|
390
|
+
source: string | Buffer,
|
|
391
|
+
context: { filename: string; module: Module }
|
|
392
|
+
) => boolean);
|
|
393
|
+
}
|
|
352
394
|
|
|
353
395
|
/**
|
|
354
396
|
* Options object for DataUrl condition.
|
|
@@ -404,6 +446,14 @@ declare interface AssetResourceGeneratorOptions {
|
|
|
404
446
|
*/
|
|
405
447
|
publicPath?: string | ((pathData: PathData, assetInfo?: AssetInfo) => string);
|
|
406
448
|
}
|
|
449
|
+
declare abstract class AssetSourceGenerator extends Generator {
|
|
450
|
+
generateError(
|
|
451
|
+
error: Error,
|
|
452
|
+
module: NormalModule,
|
|
453
|
+
generateContext: GenerateContext
|
|
454
|
+
): null | Source;
|
|
455
|
+
}
|
|
456
|
+
declare abstract class AssetSourceParser extends ParserClass {}
|
|
407
457
|
declare class AsyncDependenciesBlock extends DependenciesBlock {
|
|
408
458
|
constructor(
|
|
409
459
|
groupOptions:
|
|
@@ -473,6 +523,7 @@ declare interface AsyncWebAssemblyModulesPluginOptions {
|
|
|
473
523
|
*/
|
|
474
524
|
mangleImports?: boolean;
|
|
475
525
|
}
|
|
526
|
+
declare abstract class AsyncWebAssemblyParser extends ParserClass {}
|
|
476
527
|
declare class AutomaticPrefetchPlugin {
|
|
477
528
|
constructor();
|
|
478
529
|
|
|
@@ -1670,17 +1721,17 @@ declare interface ChunkRenderContextCssModulesPlugin {
|
|
|
1670
1721
|
/**
|
|
1671
1722
|
* the chunk
|
|
1672
1723
|
*/
|
|
1673
|
-
chunk
|
|
1724
|
+
chunk?: Chunk;
|
|
1674
1725
|
|
|
1675
1726
|
/**
|
|
1676
1727
|
* the chunk graph
|
|
1677
1728
|
*/
|
|
1678
|
-
chunkGraph
|
|
1729
|
+
chunkGraph?: ChunkGraph;
|
|
1679
1730
|
|
|
1680
1731
|
/**
|
|
1681
1732
|
* results of code generation
|
|
1682
1733
|
*/
|
|
1683
|
-
codeGenerationResults
|
|
1734
|
+
codeGenerationResults?: CodeGenerationResults;
|
|
1684
1735
|
|
|
1685
1736
|
/**
|
|
1686
1737
|
* the runtime template
|
|
@@ -1691,6 +1742,16 @@ declare interface ChunkRenderContextCssModulesPlugin {
|
|
|
1691
1742
|
* undo path to css file
|
|
1692
1743
|
*/
|
|
1693
1744
|
undoPath: string;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* moduleFactoryCache
|
|
1748
|
+
*/
|
|
1749
|
+
moduleFactoryCache: WeakMap<Source, ModuleFactoryCacheEntry>;
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* content
|
|
1753
|
+
*/
|
|
1754
|
+
moduleSourceContent: Source;
|
|
1694
1755
|
}
|
|
1695
1756
|
declare interface ChunkRenderContextJavascriptModulesPlugin {
|
|
1696
1757
|
/**
|
|
@@ -2044,6 +2105,16 @@ declare interface ColorsOptions {
|
|
|
2044
2105
|
*/
|
|
2045
2106
|
useColor?: boolean;
|
|
2046
2107
|
}
|
|
2108
|
+
declare interface CommentCssParser {
|
|
2109
|
+
value: string;
|
|
2110
|
+
range: [number, number];
|
|
2111
|
+
loc: { start: Position; end: Position };
|
|
2112
|
+
}
|
|
2113
|
+
type CommentJavascriptParser = CommentImport & {
|
|
2114
|
+
start: number;
|
|
2115
|
+
end: number;
|
|
2116
|
+
loc: SourceLocation;
|
|
2117
|
+
};
|
|
2047
2118
|
declare interface CommonJsImportSettings {
|
|
2048
2119
|
name?: string;
|
|
2049
2120
|
context: string;
|
|
@@ -2899,7 +2970,6 @@ declare class ConcatenationScope {
|
|
|
2899
2970
|
getRawExport(exportName: string): undefined | string;
|
|
2900
2971
|
setRawExportMap(exportName: string, expression: string): void;
|
|
2901
2972
|
registerNamespaceExport(symbol: string): void;
|
|
2902
|
-
registerUsedName(symbol: string): boolean;
|
|
2903
2973
|
createModuleReference(
|
|
2904
2974
|
module: Module,
|
|
2905
2975
|
__1: Partial<ModuleReferenceOptions>
|
|
@@ -2910,7 +2980,6 @@ declare class ConcatenationScope {
|
|
|
2910
2980
|
): null | (ModuleReferenceOptions & { index: number });
|
|
2911
2981
|
static DEFAULT_EXPORT: string;
|
|
2912
2982
|
static NAMESPACE_OBJECT_EXPORT: string;
|
|
2913
|
-
static chunkUsedNames: WeakMap<Chunk, Set<string>>;
|
|
2914
2983
|
}
|
|
2915
2984
|
|
|
2916
2985
|
/**
|
|
@@ -2947,6 +3016,11 @@ declare interface Configuration {
|
|
|
2947
3016
|
*/
|
|
2948
3017
|
devtool?: string | false;
|
|
2949
3018
|
|
|
3019
|
+
/**
|
|
3020
|
+
* Enable and configure the Dotenv plugin to load environment variables from .env files.
|
|
3021
|
+
*/
|
|
3022
|
+
dotenv?: boolean | DotenvPluginOptions;
|
|
3023
|
+
|
|
2950
3024
|
/**
|
|
2951
3025
|
* The entry point(s) of the compilation.
|
|
2952
3026
|
*/
|
|
@@ -3013,7 +3087,10 @@ declare interface Configuration {
|
|
|
3013
3087
|
| "promise"
|
|
3014
3088
|
| "module-import"
|
|
3015
3089
|
| "script"
|
|
3016
|
-
| "node-commonjs"
|
|
3090
|
+
| "node-commonjs"
|
|
3091
|
+
| "asset"
|
|
3092
|
+
| "css-import"
|
|
3093
|
+
| "css-url";
|
|
3017
3094
|
|
|
3018
3095
|
/**
|
|
3019
3096
|
* Ignore specific warnings.
|
|
@@ -3181,6 +3258,7 @@ declare class ConstDependency extends NullDependency {
|
|
|
3181
3258
|
static Template: typeof ConstDependencyTemplate;
|
|
3182
3259
|
static NO_EXPORTS_REFERENCED: string[][];
|
|
3183
3260
|
static EXPORTS_OBJECT_REFERENCED: string[][];
|
|
3261
|
+
static isLowPriorityDependency(dependency: Dependency): boolean;
|
|
3184
3262
|
static TRANSITIVE: typeof TRANSITIVE;
|
|
3185
3263
|
}
|
|
3186
3264
|
declare class ConstDependencyTemplate extends NullDependencyTemplate {
|
|
@@ -3532,6 +3610,11 @@ declare interface CssAutoGeneratorOptions {
|
|
|
3532
3610
|
* Parser options for css/auto modules.
|
|
3533
3611
|
*/
|
|
3534
3612
|
declare interface CssAutoParserOptions {
|
|
3613
|
+
/**
|
|
3614
|
+
* Configure how CSS content is exported as default.
|
|
3615
|
+
*/
|
|
3616
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3617
|
+
|
|
3535
3618
|
/**
|
|
3536
3619
|
* Enable/disable `@import` at-rules handling.
|
|
3537
3620
|
*/
|
|
@@ -3558,6 +3641,34 @@ declare interface CssData {
|
|
|
3558
3641
|
*/
|
|
3559
3642
|
exports: Map<string, string>;
|
|
3560
3643
|
}
|
|
3644
|
+
declare abstract class CssGenerator extends Generator {
|
|
3645
|
+
convention?:
|
|
3646
|
+
| "as-is"
|
|
3647
|
+
| "camel-case"
|
|
3648
|
+
| "camel-case-only"
|
|
3649
|
+
| "dashes"
|
|
3650
|
+
| "dashes-only"
|
|
3651
|
+
| ((name: string) => string);
|
|
3652
|
+
localIdentName?: string;
|
|
3653
|
+
sourceDependency(
|
|
3654
|
+
module: NormalModule,
|
|
3655
|
+
dependency: Dependency,
|
|
3656
|
+
initFragments: InitFragment<GenerateContext>[],
|
|
3657
|
+
source: ReplaceSource,
|
|
3658
|
+
generateContext: GenerateContext & { cssData: CssData }
|
|
3659
|
+
): void;
|
|
3660
|
+
sourceModule(
|
|
3661
|
+
module: NormalModule,
|
|
3662
|
+
initFragments: InitFragment<GenerateContext>[],
|
|
3663
|
+
source: ReplaceSource,
|
|
3664
|
+
generateContext: GenerateContext & { cssData: CssData }
|
|
3665
|
+
): void;
|
|
3666
|
+
generateError(
|
|
3667
|
+
error: Error,
|
|
3668
|
+
module: NormalModule,
|
|
3669
|
+
generateContext: GenerateContext
|
|
3670
|
+
): null | Source;
|
|
3671
|
+
}
|
|
3561
3672
|
|
|
3562
3673
|
/**
|
|
3563
3674
|
* Generator options for css modules.
|
|
@@ -3583,6 +3694,11 @@ declare interface CssGlobalGeneratorOptions {
|
|
|
3583
3694
|
*/
|
|
3584
3695
|
esModule?: boolean;
|
|
3585
3696
|
|
|
3697
|
+
/**
|
|
3698
|
+
* Configure how CSS content is exported as default.
|
|
3699
|
+
*/
|
|
3700
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3701
|
+
|
|
3586
3702
|
/**
|
|
3587
3703
|
* Specifies the convention of exported names.
|
|
3588
3704
|
*/
|
|
@@ -3609,6 +3725,11 @@ declare interface CssGlobalGeneratorOptions {
|
|
|
3609
3725
|
* Parser options for css/global modules.
|
|
3610
3726
|
*/
|
|
3611
3727
|
declare interface CssGlobalParserOptions {
|
|
3728
|
+
/**
|
|
3729
|
+
* Configure how CSS content is exported as default.
|
|
3730
|
+
*/
|
|
3731
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3732
|
+
|
|
3612
3733
|
/**
|
|
3613
3734
|
* Enable/disable `@import` at-rules handling.
|
|
3614
3735
|
*/
|
|
@@ -3677,6 +3798,11 @@ declare interface CssModuleGeneratorOptions {
|
|
|
3677
3798
|
*/
|
|
3678
3799
|
esModule?: boolean;
|
|
3679
3800
|
|
|
3801
|
+
/**
|
|
3802
|
+
* Configure how CSS content is exported as default.
|
|
3803
|
+
*/
|
|
3804
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3805
|
+
|
|
3680
3806
|
/**
|
|
3681
3807
|
* Specifies the convention of exported names.
|
|
3682
3808
|
*/
|
|
@@ -3703,6 +3829,11 @@ declare interface CssModuleGeneratorOptions {
|
|
|
3703
3829
|
* Parser options for css/module modules.
|
|
3704
3830
|
*/
|
|
3705
3831
|
declare interface CssModuleParserOptions {
|
|
3832
|
+
/**
|
|
3833
|
+
* Configure how CSS content is exported as default.
|
|
3834
|
+
*/
|
|
3835
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3836
|
+
|
|
3706
3837
|
/**
|
|
3707
3838
|
* Enable/disable `@import` at-rules handling.
|
|
3708
3839
|
*/
|
|
@@ -3735,11 +3866,6 @@ declare class CssModulesPlugin {
|
|
|
3735
3866
|
chunkGraph: ChunkGraph,
|
|
3736
3867
|
compilation: Compilation
|
|
3737
3868
|
): Module[];
|
|
3738
|
-
renderModule(
|
|
3739
|
-
module: CssModule,
|
|
3740
|
-
renderContext: ChunkRenderContextCssModulesPlugin,
|
|
3741
|
-
hooks: CompilationHooksCssModulesPlugin
|
|
3742
|
-
): Source;
|
|
3743
3869
|
renderChunk(
|
|
3744
3870
|
__0: RenderContextCssModulesPlugin,
|
|
3745
3871
|
hooks: CompilationHooksCssModulesPlugin
|
|
@@ -3747,17 +3873,41 @@ declare class CssModulesPlugin {
|
|
|
3747
3873
|
static getCompilationHooks(
|
|
3748
3874
|
compilation: Compilation
|
|
3749
3875
|
): CompilationHooksCssModulesPlugin;
|
|
3876
|
+
static renderModule(
|
|
3877
|
+
module: CssModule,
|
|
3878
|
+
renderContext: ChunkRenderContextCssModulesPlugin,
|
|
3879
|
+
hooks: CompilationHooksCssModulesPlugin
|
|
3880
|
+
): null | Source;
|
|
3750
3881
|
static getChunkFilenameTemplate(
|
|
3751
3882
|
chunk: Chunk,
|
|
3752
3883
|
outputOptions: OutputNormalizedWithDefaults
|
|
3753
3884
|
): TemplatePath;
|
|
3754
3885
|
static chunkHasCss(chunk: Chunk, chunkGraph: ChunkGraph): boolean;
|
|
3755
3886
|
}
|
|
3887
|
+
declare abstract class CssParser extends ParserClass {
|
|
3888
|
+
defaultMode: "global" | "auto" | "pure" | "local";
|
|
3889
|
+
import: boolean;
|
|
3890
|
+
url: boolean;
|
|
3891
|
+
namedExports: boolean;
|
|
3892
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3893
|
+
comments?: CommentCssParser[];
|
|
3894
|
+
magicCommentContext: Context;
|
|
3895
|
+
getComments(range: [number, number]): CommentCssParser[];
|
|
3896
|
+
parseCommentOptions(range: [number, number]): {
|
|
3897
|
+
options: null | Record<string, any>;
|
|
3898
|
+
errors: null | (Error & { comment: CommentCssParser })[];
|
|
3899
|
+
};
|
|
3900
|
+
}
|
|
3756
3901
|
|
|
3757
3902
|
/**
|
|
3758
3903
|
* Parser options for css modules.
|
|
3759
3904
|
*/
|
|
3760
3905
|
declare interface CssParserOptions {
|
|
3906
|
+
/**
|
|
3907
|
+
* Configure how CSS content is exported as default.
|
|
3908
|
+
*/
|
|
3909
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
3910
|
+
|
|
3761
3911
|
/**
|
|
3762
3912
|
* Enable/disable `@import` at-rules handling.
|
|
3763
3913
|
*/
|
|
@@ -3902,6 +4052,7 @@ declare class Dependency {
|
|
|
3902
4052
|
get disconnect(): any;
|
|
3903
4053
|
static NO_EXPORTS_REFERENCED: string[][];
|
|
3904
4054
|
static EXPORTS_OBJECT_REFERENCED: string[][];
|
|
4055
|
+
static isLowPriorityDependency(dependency: Dependency): boolean;
|
|
3905
4056
|
static TRANSITIVE: typeof TRANSITIVE;
|
|
3906
4057
|
}
|
|
3907
4058
|
declare interface DependencyConstructor {
|
|
@@ -4002,6 +4153,7 @@ declare abstract class DependencyTemplates {
|
|
|
4002
4153
|
declare interface DestructuringAssignmentProperty {
|
|
4003
4154
|
id: string;
|
|
4004
4155
|
range: [number, number];
|
|
4156
|
+
loc: SourceLocation;
|
|
4005
4157
|
pattern?: Set<DestructuringAssignmentProperty>;
|
|
4006
4158
|
shorthand: string | boolean;
|
|
4007
4159
|
}
|
|
@@ -4336,6 +4488,44 @@ declare interface DllReferencePluginOptionsManifest {
|
|
|
4336
4488
|
| "jsonp"
|
|
4337
4489
|
| "system";
|
|
4338
4490
|
}
|
|
4491
|
+
declare class DotenvPlugin {
|
|
4492
|
+
constructor(options?: DotenvPluginOptions);
|
|
4493
|
+
options: {
|
|
4494
|
+
/**
|
|
4495
|
+
* The directory from which .env files are loaded. Can be an absolute path, false will disable the .env file loading.
|
|
4496
|
+
*/
|
|
4497
|
+
dir?: string | false;
|
|
4498
|
+
/**
|
|
4499
|
+
* Only expose environment variables that start with these prefixes. Defaults to 'WEBPACK_'.
|
|
4500
|
+
*/
|
|
4501
|
+
prefix?: string | string[];
|
|
4502
|
+
/**
|
|
4503
|
+
* Template patterns for .env file names. Use [mode] as placeholder for the webpack mode. Defaults to ['.env', '.env.local', '.env.[mode]', '.env.[mode].local'].
|
|
4504
|
+
*/
|
|
4505
|
+
template?: string[];
|
|
4506
|
+
};
|
|
4507
|
+
apply(compiler: Compiler): void;
|
|
4508
|
+
}
|
|
4509
|
+
|
|
4510
|
+
/**
|
|
4511
|
+
* Options for Dotenv plugin.
|
|
4512
|
+
*/
|
|
4513
|
+
declare interface DotenvPluginOptions {
|
|
4514
|
+
/**
|
|
4515
|
+
* The directory from which .env files are loaded. Can be an absolute path, false will disable the .env file loading.
|
|
4516
|
+
*/
|
|
4517
|
+
dir?: string | false;
|
|
4518
|
+
|
|
4519
|
+
/**
|
|
4520
|
+
* Only expose environment variables that start with these prefixes. Defaults to 'WEBPACK_'.
|
|
4521
|
+
*/
|
|
4522
|
+
prefix?: string | string[];
|
|
4523
|
+
|
|
4524
|
+
/**
|
|
4525
|
+
* Template patterns for .env file names. Use [mode] as placeholder for the webpack mode. Defaults to ['.env', '.env.local', '.env.[mode]', '.env.[mode].local'].
|
|
4526
|
+
*/
|
|
4527
|
+
template?: string[];
|
|
4528
|
+
}
|
|
4339
4529
|
declare class DynamicEntryPlugin {
|
|
4340
4530
|
constructor(context: string, entry: () => Promise<EntryStaticNormalized>);
|
|
4341
4531
|
context: string;
|
|
@@ -4734,6 +4924,11 @@ declare interface Environment {
|
|
|
4734
4924
|
*/
|
|
4735
4925
|
globalThis?: boolean;
|
|
4736
4926
|
|
|
4927
|
+
/**
|
|
4928
|
+
* The environment supports `import.meta.dirname` and `import.meta.filename`.
|
|
4929
|
+
*/
|
|
4930
|
+
importMetaDirnameAndFilename?: boolean;
|
|
4931
|
+
|
|
4737
4932
|
/**
|
|
4738
4933
|
* The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').
|
|
4739
4934
|
*/
|
|
@@ -5336,7 +5531,7 @@ type ExternalItemValue = string | boolean | string[] | { [index: string]: any };
|
|
|
5336
5531
|
declare class ExternalModule extends Module {
|
|
5337
5532
|
constructor(
|
|
5338
5533
|
request: ExternalModuleRequest,
|
|
5339
|
-
type:
|
|
5534
|
+
type: ExternalsType,
|
|
5340
5535
|
userRequest: string,
|
|
5341
5536
|
dependencyMeta?:
|
|
5342
5537
|
| ImportDependencyMeta
|
|
@@ -5344,7 +5539,7 @@ declare class ExternalModule extends Module {
|
|
|
5344
5539
|
| AssetDependencyMeta
|
|
5345
5540
|
);
|
|
5346
5541
|
request: ExternalModuleRequest;
|
|
5347
|
-
externalType:
|
|
5542
|
+
externalType: ExternalsType;
|
|
5348
5543
|
userRequest: string;
|
|
5349
5544
|
dependencyMeta?:
|
|
5350
5545
|
| ImportDependencyMeta
|
|
@@ -5367,6 +5562,7 @@ declare interface ExternalModuleInfo {
|
|
|
5367
5562
|
type: "external";
|
|
5368
5563
|
module: Module;
|
|
5369
5564
|
runtimeCondition?: string | boolean | SortableSet<string>;
|
|
5565
|
+
nonDeferAccess: boolean;
|
|
5370
5566
|
index: number;
|
|
5371
5567
|
|
|
5372
5568
|
/**
|
|
@@ -5439,8 +5635,8 @@ type Externals =
|
|
|
5439
5635
|
| ((data: ExternalItemFunctionData) => Promise<ExternalItemValue>)
|
|
5440
5636
|
| ExternalItem[];
|
|
5441
5637
|
declare class ExternalsPlugin {
|
|
5442
|
-
constructor(type:
|
|
5443
|
-
type:
|
|
5638
|
+
constructor(type: ExternalsType, externals: Externals);
|
|
5639
|
+
type: ExternalsType;
|
|
5444
5640
|
externals: Externals;
|
|
5445
5641
|
|
|
5446
5642
|
/**
|
|
@@ -5524,7 +5720,10 @@ type ExternalsType =
|
|
|
5524
5720
|
| "promise"
|
|
5525
5721
|
| "module-import"
|
|
5526
5722
|
| "script"
|
|
5527
|
-
| "node-commonjs"
|
|
5723
|
+
| "node-commonjs"
|
|
5724
|
+
| "asset"
|
|
5725
|
+
| "css-import"
|
|
5726
|
+
| "css-url";
|
|
5528
5727
|
declare interface FSImplementation {
|
|
5529
5728
|
open?: (...args: any[]) => any;
|
|
5530
5729
|
close?: (...args: any[]) => any;
|
|
@@ -6108,12 +6307,11 @@ declare class HarmonyImportDependency extends ModuleDependency {
|
|
|
6108
6307
|
constructor(
|
|
6109
6308
|
request: string,
|
|
6110
6309
|
sourceOrder: number,
|
|
6111
|
-
|
|
6112
|
-
|
|
6310
|
+
phase: ImportPhaseType,
|
|
6311
|
+
attributes?: ImportAttributes
|
|
6113
6312
|
);
|
|
6114
|
-
|
|
6313
|
+
phase: ImportPhaseType;
|
|
6115
6314
|
attributes?: ImportAttributes;
|
|
6116
|
-
defer?: boolean;
|
|
6117
6315
|
getImportVar(moduleGraph: ModuleGraph): string;
|
|
6118
6316
|
getModuleExports(__0: DependencyTemplateContext): string;
|
|
6119
6317
|
getImportStatement(
|
|
@@ -6135,6 +6333,7 @@ declare class HarmonyImportDependency extends ModuleDependency {
|
|
|
6135
6333
|
};
|
|
6136
6334
|
static NO_EXPORTS_REFERENCED: string[][];
|
|
6137
6335
|
static EXPORTS_OBJECT_REFERENCED: string[][];
|
|
6336
|
+
static isLowPriorityDependency(dependency: Dependency): boolean;
|
|
6138
6337
|
static TRANSITIVE: typeof TRANSITIVE;
|
|
6139
6338
|
}
|
|
6140
6339
|
declare class HarmonyImportDependencyTemplate extends DependencyTemplate {
|
|
@@ -6151,7 +6350,7 @@ declare interface HarmonySettings {
|
|
|
6151
6350
|
name: string;
|
|
6152
6351
|
await: boolean;
|
|
6153
6352
|
attributes?: ImportAttributes;
|
|
6154
|
-
|
|
6353
|
+
phase: ImportPhaseType;
|
|
6155
6354
|
}
|
|
6156
6355
|
declare class Hash {
|
|
6157
6356
|
constructor();
|
|
@@ -6159,12 +6358,22 @@ declare class Hash {
|
|
|
6159
6358
|
/**
|
|
6160
6359
|
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
|
|
6161
6360
|
*/
|
|
6162
|
-
update(data: string | Buffer
|
|
6361
|
+
update(data: string | Buffer): Hash;
|
|
6362
|
+
|
|
6363
|
+
/**
|
|
6364
|
+
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
|
|
6365
|
+
*/
|
|
6366
|
+
update(data: string, inputEncoding: string): Hash;
|
|
6367
|
+
|
|
6368
|
+
/**
|
|
6369
|
+
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
|
|
6370
|
+
*/
|
|
6371
|
+
digest(): Buffer;
|
|
6163
6372
|
|
|
6164
6373
|
/**
|
|
6165
6374
|
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
|
|
6166
6375
|
*/
|
|
6167
|
-
digest(encoding
|
|
6376
|
+
digest(encoding: string): string;
|
|
6168
6377
|
}
|
|
6169
6378
|
type HashFunction = string | typeof Hash;
|
|
6170
6379
|
declare interface HashLike {
|
|
@@ -6183,7 +6392,9 @@ declare interface HashableObject {
|
|
|
6183
6392
|
}
|
|
6184
6393
|
declare class HashedModuleIdsPlugin {
|
|
6185
6394
|
constructor(options?: HashedModuleIdsPluginOptions);
|
|
6186
|
-
options: HashedModuleIdsPluginOptions
|
|
6395
|
+
options: Required<Omit<HashedModuleIdsPluginOptions, "context">> & {
|
|
6396
|
+
context?: string;
|
|
6397
|
+
};
|
|
6187
6398
|
|
|
6188
6399
|
/**
|
|
6189
6400
|
* Apply the plugin
|
|
@@ -6199,7 +6410,19 @@ declare interface HashedModuleIdsPluginOptions {
|
|
|
6199
6410
|
/**
|
|
6200
6411
|
* The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
|
|
6201
6412
|
*/
|
|
6202
|
-
hashDigest?:
|
|
6413
|
+
hashDigest?:
|
|
6414
|
+
| "ascii"
|
|
6415
|
+
| "utf8"
|
|
6416
|
+
| "utf-8"
|
|
6417
|
+
| "utf16le"
|
|
6418
|
+
| "utf-16le"
|
|
6419
|
+
| "ucs2"
|
|
6420
|
+
| "ucs-2"
|
|
6421
|
+
| "base64"
|
|
6422
|
+
| "base64url"
|
|
6423
|
+
| "latin1"
|
|
6424
|
+
| "binary"
|
|
6425
|
+
| "hex";
|
|
6203
6426
|
|
|
6204
6427
|
/**
|
|
6205
6428
|
* The prefix length of the hash digest to use, defaults to 4.
|
|
@@ -6274,9 +6497,6 @@ declare class HttpUriPlugin {
|
|
|
6274
6497
|
*/
|
|
6275
6498
|
apply(compiler: Compiler): void;
|
|
6276
6499
|
}
|
|
6277
|
-
type HttpsServerOptions = SecureContextOptions &
|
|
6278
|
-
TlsOptions &
|
|
6279
|
-
ServerOptions<typeof IncomingMessage>;
|
|
6280
6500
|
type IBigIntStats = IStatsBase<bigint> & {
|
|
6281
6501
|
atimeNs: bigint;
|
|
6282
6502
|
mtimeNs: bigint;
|
|
@@ -6380,35 +6600,6 @@ declare interface ImportDependencyMeta {
|
|
|
6380
6600
|
externalType?: "import" | "module";
|
|
6381
6601
|
}
|
|
6382
6602
|
type ImportExpressionJavascriptParser = ImportExpressionImport & {
|
|
6383
|
-
options?:
|
|
6384
|
-
| null
|
|
6385
|
-
| ImportExpressionImport
|
|
6386
|
-
| UnaryExpression
|
|
6387
|
-
| ArrayExpression
|
|
6388
|
-
| ArrowFunctionExpression
|
|
6389
|
-
| AssignmentExpression
|
|
6390
|
-
| AwaitExpression
|
|
6391
|
-
| BinaryExpression
|
|
6392
|
-
| SimpleCallExpression
|
|
6393
|
-
| NewExpression
|
|
6394
|
-
| ChainExpression
|
|
6395
|
-
| ClassExpression
|
|
6396
|
-
| ConditionalExpression
|
|
6397
|
-
| FunctionExpression
|
|
6398
|
-
| Identifier
|
|
6399
|
-
| SimpleLiteral
|
|
6400
|
-
| RegExpLiteral
|
|
6401
|
-
| BigIntLiteral
|
|
6402
|
-
| LogicalExpression
|
|
6403
|
-
| MemberExpression
|
|
6404
|
-
| MetaProperty
|
|
6405
|
-
| ObjectExpression
|
|
6406
|
-
| SequenceExpression
|
|
6407
|
-
| TaggedTemplateExpression
|
|
6408
|
-
| TemplateLiteral
|
|
6409
|
-
| ThisExpression
|
|
6410
|
-
| UpdateExpression
|
|
6411
|
-
| YieldExpression;
|
|
6412
6603
|
phase?: "defer";
|
|
6413
6604
|
};
|
|
6414
6605
|
declare interface ImportModuleOptions {
|
|
@@ -6427,6 +6618,7 @@ declare interface ImportModuleOptions {
|
|
|
6427
6618
|
*/
|
|
6428
6619
|
baseUri?: string;
|
|
6429
6620
|
}
|
|
6621
|
+
type ImportPhaseType = 0 | 1 | 2;
|
|
6430
6622
|
declare interface ImportSettings {
|
|
6431
6623
|
references: string[][];
|
|
6432
6624
|
expression: ImportExpressionJavascriptParser;
|
|
@@ -6623,6 +6815,33 @@ declare interface IteratorObject<T, TReturn = unknown, TNext = unknown>
|
|
|
6623
6815
|
[Symbol.iterator](): IteratorObject<T, TReturn, TNext>;
|
|
6624
6816
|
[Symbol.dispose](): void;
|
|
6625
6817
|
}
|
|
6818
|
+
declare abstract class JavascriptGenerator extends Generator {
|
|
6819
|
+
sourceDependency(
|
|
6820
|
+
module: Module,
|
|
6821
|
+
dependency: Dependency,
|
|
6822
|
+
initFragments: InitFragment<GenerateContext>[],
|
|
6823
|
+
source: ReplaceSource,
|
|
6824
|
+
generateContext: GenerateContext
|
|
6825
|
+
): void;
|
|
6826
|
+
sourceBlock(
|
|
6827
|
+
module: Module,
|
|
6828
|
+
block: DependenciesBlock,
|
|
6829
|
+
initFragments: InitFragment<GenerateContext>[],
|
|
6830
|
+
source: ReplaceSource,
|
|
6831
|
+
generateContext: GenerateContext
|
|
6832
|
+
): void;
|
|
6833
|
+
sourceModule(
|
|
6834
|
+
module: Module,
|
|
6835
|
+
initFragments: InitFragment<GenerateContext>[],
|
|
6836
|
+
source: ReplaceSource,
|
|
6837
|
+
generateContext: GenerateContext
|
|
6838
|
+
): void;
|
|
6839
|
+
generateError(
|
|
6840
|
+
error: Error,
|
|
6841
|
+
module: NormalModule,
|
|
6842
|
+
generateContext: GenerateContext
|
|
6843
|
+
): null | Source;
|
|
6844
|
+
}
|
|
6626
6845
|
declare class JavascriptModulesPlugin {
|
|
6627
6846
|
constructor(options?: object);
|
|
6628
6847
|
options: object;
|
|
@@ -6658,15 +6877,6 @@ declare class JavascriptModulesPlugin {
|
|
|
6658
6877
|
renderContext: RenderBootstrapContext,
|
|
6659
6878
|
hooks: CompilationHooksJavascriptModulesPlugin
|
|
6660
6879
|
): string;
|
|
6661
|
-
getRenamedInlineModule(
|
|
6662
|
-
allModules: Module[],
|
|
6663
|
-
renderContext: MainRenderContext,
|
|
6664
|
-
inlinedModules: Set<Module>,
|
|
6665
|
-
chunkRenderContext: ChunkRenderContextJavascriptModulesPlugin,
|
|
6666
|
-
hooks: CompilationHooksJavascriptModulesPlugin,
|
|
6667
|
-
allStrict: undefined | boolean,
|
|
6668
|
-
hasChunkModules: boolean
|
|
6669
|
-
): false | Map<Module, Source>;
|
|
6670
6880
|
static getCompilationHooks(
|
|
6671
6881
|
compilation: Compilation
|
|
6672
6882
|
): CompilationHooksJavascriptModulesPlugin;
|
|
@@ -6677,7 +6887,10 @@ declare class JavascriptModulesPlugin {
|
|
|
6677
6887
|
static chunkHasJs: (chunk: Chunk, chunkGraph: ChunkGraph) => boolean;
|
|
6678
6888
|
}
|
|
6679
6889
|
declare class JavascriptParser extends ParserClass {
|
|
6680
|
-
constructor(
|
|
6890
|
+
constructor(
|
|
6891
|
+
sourceType?: "module" | "auto" | "script",
|
|
6892
|
+
options?: { parse?: (code: string, options: ParseOptions) => ParseResult }
|
|
6893
|
+
);
|
|
6681
6894
|
hooks: Readonly<{
|
|
6682
6895
|
evaluateTypeof: HookMap<
|
|
6683
6896
|
SyncBailHook<
|
|
@@ -7107,15 +7320,16 @@ declare class JavascriptParser extends ParserClass {
|
|
|
7107
7320
|
[LogicalExpression],
|
|
7108
7321
|
boolean | void
|
|
7109
7322
|
>;
|
|
7110
|
-
program: SyncBailHook<[Program,
|
|
7323
|
+
program: SyncBailHook<[Program, CommentJavascriptParser[]], boolean | void>;
|
|
7111
7324
|
terminate: SyncBailHook<[ReturnStatement | ThrowStatement], boolean | void>;
|
|
7112
|
-
finish: SyncBailHook<[Program,
|
|
7325
|
+
finish: SyncBailHook<[Program, CommentJavascriptParser[]], boolean | void>;
|
|
7113
7326
|
unusedStatement: SyncBailHook<[Statement], boolean | void>;
|
|
7114
7327
|
}>;
|
|
7115
7328
|
sourceType: "module" | "auto" | "script";
|
|
7329
|
+
options: { parse?: (code: string, options: ParseOptions) => ParseResult };
|
|
7116
7330
|
scope: ScopeInfo;
|
|
7117
7331
|
state: ParserState;
|
|
7118
|
-
comments?:
|
|
7332
|
+
comments?: CommentJavascriptParser[];
|
|
7119
7333
|
semicolons?: Set<number>;
|
|
7120
7334
|
statementPath?: StatementPathItem[];
|
|
7121
7335
|
prevStatement?:
|
|
@@ -7939,7 +8153,7 @@ declare class JavascriptParser extends ParserClass {
|
|
|
7939
8153
|
| MaybeNamedClassDeclaration,
|
|
7940
8154
|
commentsStartPos: number
|
|
7941
8155
|
): boolean;
|
|
7942
|
-
getComments(range: [number, number]):
|
|
8156
|
+
getComments(range: [number, number]): CommentJavascriptParser[];
|
|
7943
8157
|
isAsiPosition(pos: number): boolean;
|
|
7944
8158
|
setAsiPosition(pos: number): void;
|
|
7945
8159
|
unsetAsiPosition(pos: number): void;
|
|
@@ -7975,7 +8189,7 @@ declare class JavascriptParser extends ParserClass {
|
|
|
7975
8189
|
evaluatedVariable(tagInfo: TagInfo): VariableInfo;
|
|
7976
8190
|
parseCommentOptions(range: [number, number]): {
|
|
7977
8191
|
options: null | Record<string, any>;
|
|
7978
|
-
errors: null | (Error & { comment:
|
|
8192
|
+
errors: null | (Error & { comment: CommentJavascriptParser })[];
|
|
7979
8193
|
};
|
|
7980
8194
|
extractMemberExpressionChain(
|
|
7981
8195
|
expression:
|
|
@@ -8114,8 +8328,6 @@ declare class JavascriptParser extends ParserClass {
|
|
|
8114
8328
|
* Parser options for javascript modules.
|
|
8115
8329
|
*/
|
|
8116
8330
|
declare interface JavascriptParserOptions {
|
|
8117
|
-
[index: string]: any;
|
|
8118
|
-
|
|
8119
8331
|
/**
|
|
8120
8332
|
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
|
|
8121
8333
|
*/
|
|
@@ -8231,6 +8443,11 @@ declare interface JavascriptParserOptions {
|
|
|
8231
8443
|
*/
|
|
8232
8444
|
overrideStrict?: "strict" | "non-strict";
|
|
8233
8445
|
|
|
8446
|
+
/**
|
|
8447
|
+
* Function to parser source code.
|
|
8448
|
+
*/
|
|
8449
|
+
parse?: (code: string, options: ParseOptions) => ParseResult;
|
|
8450
|
+
|
|
8234
8451
|
/**
|
|
8235
8452
|
* Specifies the behavior of invalid export names in "export ... from ...". This might be useful to disable during the migration from "export ... from ..." to "export type ... from ..." when reexporting types in TypeScript.
|
|
8236
8453
|
*/
|
|
@@ -8327,6 +8544,14 @@ declare abstract class JsonData {
|
|
|
8327
8544
|
| JsonValueFs[];
|
|
8328
8545
|
updateHash(hash: Hash): void;
|
|
8329
8546
|
}
|
|
8547
|
+
declare abstract class JsonGenerator extends Generator {
|
|
8548
|
+
options: JsonGeneratorOptions;
|
|
8549
|
+
generateError(
|
|
8550
|
+
error: Error,
|
|
8551
|
+
module: NormalModule,
|
|
8552
|
+
generateContext: GenerateContext
|
|
8553
|
+
): null | Source;
|
|
8554
|
+
}
|
|
8330
8555
|
|
|
8331
8556
|
/**
|
|
8332
8557
|
* Generator options for json modules.
|
|
@@ -8337,6 +8562,22 @@ declare interface JsonGeneratorOptions {
|
|
|
8337
8562
|
*/
|
|
8338
8563
|
JSONParse?: boolean;
|
|
8339
8564
|
}
|
|
8565
|
+
declare interface JsonModulesPluginParserOptions {
|
|
8566
|
+
/**
|
|
8567
|
+
* The depth of json dependency flagged as `exportInfo`.
|
|
8568
|
+
*/
|
|
8569
|
+
exportsDepth?: number;
|
|
8570
|
+
|
|
8571
|
+
/**
|
|
8572
|
+
* Allow named exports for json of object type
|
|
8573
|
+
*/
|
|
8574
|
+
namedExports?: boolean;
|
|
8575
|
+
|
|
8576
|
+
/**
|
|
8577
|
+
* Function that executes for a module source string and should return json-compatible data.
|
|
8578
|
+
*/
|
|
8579
|
+
parse?: (input: string) => any;
|
|
8580
|
+
}
|
|
8340
8581
|
declare interface JsonObjectFs {
|
|
8341
8582
|
[index: string]:
|
|
8342
8583
|
| undefined
|
|
@@ -8357,6 +8598,9 @@ declare interface JsonObjectTypes {
|
|
|
8357
8598
|
| JsonObjectTypes
|
|
8358
8599
|
| JsonValueTypes[];
|
|
8359
8600
|
}
|
|
8601
|
+
declare abstract class JsonParser extends ParserClass {
|
|
8602
|
+
options: JsonModulesPluginParserOptions;
|
|
8603
|
+
}
|
|
8360
8604
|
|
|
8361
8605
|
/**
|
|
8362
8606
|
* Parser options for JSON modules.
|
|
@@ -8367,6 +8611,11 @@ declare interface JsonParserOptions {
|
|
|
8367
8611
|
*/
|
|
8368
8612
|
exportsDepth?: number;
|
|
8369
8613
|
|
|
8614
|
+
/**
|
|
8615
|
+
* Allow named exports for json of object type.
|
|
8616
|
+
*/
|
|
8617
|
+
namedExports?: boolean;
|
|
8618
|
+
|
|
8370
8619
|
/**
|
|
8371
8620
|
* Function to parser content and return JSON.
|
|
8372
8621
|
*/
|
|
@@ -8485,6 +8734,11 @@ declare interface KnownAssetInfo {
|
|
|
8485
8734
|
*/
|
|
8486
8735
|
javascriptModule?: boolean;
|
|
8487
8736
|
|
|
8737
|
+
/**
|
|
8738
|
+
* true, when file is a manifest
|
|
8739
|
+
*/
|
|
8740
|
+
manifest?: boolean;
|
|
8741
|
+
|
|
8488
8742
|
/**
|
|
8489
8743
|
* object of pointers to other assets, keyed by type of relation (only points from parent to child)
|
|
8490
8744
|
*/
|
|
@@ -8612,6 +8866,7 @@ declare interface KnownBuildInfo {
|
|
|
8612
8866
|
}
|
|
8613
8867
|
declare interface KnownBuildMeta {
|
|
8614
8868
|
exportsType?: "namespace" | "dynamic" | "default" | "flagged";
|
|
8869
|
+
exportType?: "link" | "text" | "css-style-sheet";
|
|
8615
8870
|
defaultObject?: false | "redirect" | "redirect-warn";
|
|
8616
8871
|
strictHarmonyModule?: boolean;
|
|
8617
8872
|
treatAsCommonJs?: boolean;
|
|
@@ -9079,8 +9334,8 @@ declare interface LazyCompilationDefaultBackendOptions {
|
|
|
9079
9334
|
* Specifies how to create the server handling the EventSource requests.
|
|
9080
9335
|
*/
|
|
9081
9336
|
server?:
|
|
9082
|
-
|
|
|
9083
|
-
|
|
|
9337
|
+
| ServerOptionsImportHttps<typeof IncomingMessage>
|
|
9338
|
+
| ServerOptionsImportHttp<typeof IncomingMessage>
|
|
9084
9339
|
| (() => ServerLazyCompilationBackend);
|
|
9085
9340
|
}
|
|
9086
9341
|
|
|
@@ -9789,6 +10044,94 @@ declare interface MakeDirectoryOptions {
|
|
|
9789
10044
|
recursive?: boolean;
|
|
9790
10045
|
mode?: string | number;
|
|
9791
10046
|
}
|
|
10047
|
+
|
|
10048
|
+
/**
|
|
10049
|
+
* Describes a manifest entrypoint.
|
|
10050
|
+
*/
|
|
10051
|
+
declare interface ManifestEntrypoint {
|
|
10052
|
+
/**
|
|
10053
|
+
* Contains the names of entrypoints.
|
|
10054
|
+
*/
|
|
10055
|
+
imports: string[];
|
|
10056
|
+
|
|
10057
|
+
/**
|
|
10058
|
+
* Contains the names of parent entrypoints.
|
|
10059
|
+
*/
|
|
10060
|
+
parents?: string[];
|
|
10061
|
+
}
|
|
10062
|
+
|
|
10063
|
+
/**
|
|
10064
|
+
* Describes a manifest asset that links the emitted path to the producing asset.
|
|
10065
|
+
*/
|
|
10066
|
+
declare interface ManifestItem {
|
|
10067
|
+
/**
|
|
10068
|
+
* The path absolute URL (this indicates that the path is absolute from the server's root directory) to file.
|
|
10069
|
+
*/
|
|
10070
|
+
file: string;
|
|
10071
|
+
|
|
10072
|
+
/**
|
|
10073
|
+
* The source path relative to the context.
|
|
10074
|
+
*/
|
|
10075
|
+
src?: string;
|
|
10076
|
+
}
|
|
10077
|
+
|
|
10078
|
+
/**
|
|
10079
|
+
* The manifest object.
|
|
10080
|
+
*/
|
|
10081
|
+
declare interface ManifestObject {
|
|
10082
|
+
[index: string]: any;
|
|
10083
|
+
|
|
10084
|
+
/**
|
|
10085
|
+
* Contains the names of assets.
|
|
10086
|
+
*/
|
|
10087
|
+
assets: Record<string, ManifestItem>;
|
|
10088
|
+
|
|
10089
|
+
/**
|
|
10090
|
+
* Contains the names of entrypoints.
|
|
10091
|
+
*/
|
|
10092
|
+
entrypoints: Record<string, ManifestEntrypoint>;
|
|
10093
|
+
}
|
|
10094
|
+
declare class ManifestPlugin {
|
|
10095
|
+
constructor(options: ManifestPluginOptions);
|
|
10096
|
+
options: ManifestPluginOptions &
|
|
10097
|
+
Required<Omit<ManifestPluginOptions, "filter" | "generate">>;
|
|
10098
|
+
|
|
10099
|
+
/**
|
|
10100
|
+
* Apply the plugin
|
|
10101
|
+
*/
|
|
10102
|
+
apply(compiler: Compiler): void;
|
|
10103
|
+
}
|
|
10104
|
+
declare interface ManifestPluginOptions {
|
|
10105
|
+
/**
|
|
10106
|
+
* Enables/disables generation of the entrypoints manifest section.
|
|
10107
|
+
*/
|
|
10108
|
+
entrypoints?: boolean;
|
|
10109
|
+
|
|
10110
|
+
/**
|
|
10111
|
+
* Specifies the filename of the output file on disk. By default the plugin will emit `manifest.json` inside the 'output.path' directory.
|
|
10112
|
+
*/
|
|
10113
|
+
filename?: string;
|
|
10114
|
+
|
|
10115
|
+
/**
|
|
10116
|
+
* Allows filtering the files which make up the manifest.
|
|
10117
|
+
*/
|
|
10118
|
+
filter?: (item: ManifestItem) => boolean;
|
|
10119
|
+
|
|
10120
|
+
/**
|
|
10121
|
+
* A function that receives the manifest object, modifies it, and returns the modified manifest.
|
|
10122
|
+
*/
|
|
10123
|
+
generate?: (manifest: ManifestObject) => ManifestObject;
|
|
10124
|
+
|
|
10125
|
+
/**
|
|
10126
|
+
* Specifies a path prefix for all keys in the manifest.
|
|
10127
|
+
*/
|
|
10128
|
+
prefix?: string;
|
|
10129
|
+
|
|
10130
|
+
/**
|
|
10131
|
+
* A function that receives the manifest object and returns the manifest string.
|
|
10132
|
+
*/
|
|
10133
|
+
serialize?: (manifest: ManifestObject) => string;
|
|
10134
|
+
}
|
|
9792
10135
|
declare interface MapOptions {
|
|
9793
10136
|
/**
|
|
9794
10137
|
* need columns?
|
|
@@ -10123,13 +10466,15 @@ declare class ModuleConcatenationPlugin {
|
|
|
10123
10466
|
apply(compiler: Compiler): void;
|
|
10124
10467
|
}
|
|
10125
10468
|
declare class ModuleDependency extends Dependency {
|
|
10126
|
-
constructor(request: string);
|
|
10469
|
+
constructor(request: string, sourceOrder?: number);
|
|
10127
10470
|
request: string;
|
|
10128
10471
|
userRequest: string;
|
|
10472
|
+
sourceOrder?: number;
|
|
10129
10473
|
range?: [number, number];
|
|
10130
10474
|
static Template: typeof DependencyTemplate;
|
|
10131
10475
|
static NO_EXPORTS_REFERENCED: string[][];
|
|
10132
10476
|
static EXPORTS_OBJECT_REFERENCED: string[][];
|
|
10477
|
+
static isLowPriorityDependency(dependency: Dependency): boolean;
|
|
10133
10478
|
static TRANSITIVE: typeof TRANSITIVE;
|
|
10134
10479
|
}
|
|
10135
10480
|
declare class ModuleExternalInitFragment extends InitFragment<GenerateContext> {
|
|
@@ -10165,6 +10510,22 @@ declare class ModuleFactory {
|
|
|
10165
10510
|
callback: (err?: null | Error, result?: ModuleFactoryResult) => void
|
|
10166
10511
|
): void;
|
|
10167
10512
|
}
|
|
10513
|
+
declare interface ModuleFactoryCacheEntry {
|
|
10514
|
+
/**
|
|
10515
|
+
* - The undo path to the CSS file
|
|
10516
|
+
*/
|
|
10517
|
+
undoPath: string;
|
|
10518
|
+
|
|
10519
|
+
/**
|
|
10520
|
+
* - The inheritance chain
|
|
10521
|
+
*/
|
|
10522
|
+
inheritance: [CssLayer, Supports, Media][];
|
|
10523
|
+
|
|
10524
|
+
/**
|
|
10525
|
+
* - The cached source
|
|
10526
|
+
*/
|
|
10527
|
+
source: CachedSource;
|
|
10528
|
+
}
|
|
10168
10529
|
declare interface ModuleFactoryCreateData {
|
|
10169
10530
|
contextInfo: ModuleFactoryCreateDataContextInfo;
|
|
10170
10531
|
resolveOptions?: ResolveOptions;
|
|
@@ -10251,7 +10612,10 @@ declare interface ModuleFederationPluginOptions {
|
|
|
10251
10612
|
| "promise"
|
|
10252
10613
|
| "module-import"
|
|
10253
10614
|
| "script"
|
|
10254
|
-
| "node-commonjs"
|
|
10615
|
+
| "node-commonjs"
|
|
10616
|
+
| "asset"
|
|
10617
|
+
| "css-import"
|
|
10618
|
+
| "css-url";
|
|
10255
10619
|
|
|
10256
10620
|
/**
|
|
10257
10621
|
* Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.
|
|
@@ -10795,24 +11159,24 @@ declare interface ModuleSettings {
|
|
|
10795
11159
|
type?: string;
|
|
10796
11160
|
|
|
10797
11161
|
/**
|
|
10798
|
-
*
|
|
11162
|
+
* Options for parsing.
|
|
10799
11163
|
*/
|
|
10800
|
-
|
|
11164
|
+
parser?: { [index: string]: any };
|
|
10801
11165
|
|
|
10802
11166
|
/**
|
|
10803
|
-
*
|
|
11167
|
+
* The options for the module generator.
|
|
10804
11168
|
*/
|
|
10805
|
-
|
|
11169
|
+
generator?: { [index: string]: any };
|
|
10806
11170
|
|
|
10807
11171
|
/**
|
|
10808
|
-
*
|
|
11172
|
+
* Enable/Disable extracting source map.
|
|
10809
11173
|
*/
|
|
10810
|
-
|
|
11174
|
+
extractSourceMap?: boolean;
|
|
10811
11175
|
|
|
10812
11176
|
/**
|
|
10813
|
-
*
|
|
11177
|
+
* Options for the resolver.
|
|
10814
11178
|
*/
|
|
10815
|
-
|
|
11179
|
+
resolve?: ResolveOptions;
|
|
10816
11180
|
|
|
10817
11181
|
/**
|
|
10818
11182
|
* Flags a module as with or without side effects.
|
|
@@ -10939,8 +11303,7 @@ declare interface MultiCompilerOptions {
|
|
|
10939
11303
|
*/
|
|
10940
11304
|
parallelism?: number;
|
|
10941
11305
|
}
|
|
10942
|
-
type MultiConfiguration = ReadonlyArray<
|
|
10943
|
-
MultiCompilerOptions;
|
|
11306
|
+
type MultiConfiguration = ReadonlyArray<Configuration> & MultiCompilerOptions;
|
|
10944
11307
|
declare abstract class MultiStats {
|
|
10945
11308
|
stats: Stats[];
|
|
10946
11309
|
get hash(): string;
|
|
@@ -11070,7 +11433,8 @@ declare class NodeSourcePlugin {
|
|
|
11070
11433
|
apply(compiler: Compiler): void;
|
|
11071
11434
|
}
|
|
11072
11435
|
declare class NodeTargetPlugin {
|
|
11073
|
-
constructor();
|
|
11436
|
+
constructor(type?: ExternalsType);
|
|
11437
|
+
type: ExternalsType;
|
|
11074
11438
|
|
|
11075
11439
|
/**
|
|
11076
11440
|
* Apply the plugin
|
|
@@ -11106,7 +11470,7 @@ declare class NormalModule extends Module {
|
|
|
11106
11470
|
resourceResolveData?: ResourceSchemeData & Partial<ResolveRequest>;
|
|
11107
11471
|
matchResource?: string;
|
|
11108
11472
|
loaders: LoaderItem[];
|
|
11109
|
-
extractSourceMap
|
|
11473
|
+
extractSourceMap: boolean;
|
|
11110
11474
|
error: null | WebpackError;
|
|
11111
11475
|
getResource(): null | string;
|
|
11112
11476
|
|
|
@@ -11259,7 +11623,7 @@ declare interface NormalModuleCreateData {
|
|
|
11259
11623
|
/**
|
|
11260
11624
|
* enable/disable extracting source map
|
|
11261
11625
|
*/
|
|
11262
|
-
extractSourceMap
|
|
11626
|
+
extractSourceMap: boolean;
|
|
11263
11627
|
}
|
|
11264
11628
|
declare abstract class NormalModuleFactory extends ModuleFactory {
|
|
11265
11629
|
hooks: Readonly<{
|
|
@@ -11288,12 +11652,225 @@ declare abstract class NormalModuleFactory extends ModuleFactory {
|
|
|
11288
11652
|
],
|
|
11289
11653
|
Module
|
|
11290
11654
|
>;
|
|
11291
|
-
createParser:
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11655
|
+
createParser: TypedHookMap<
|
|
11656
|
+
Record<
|
|
11657
|
+
"javascript/auto",
|
|
11658
|
+
SyncBailHook<[JavascriptParserOptions], JavascriptParser>
|
|
11659
|
+
> &
|
|
11660
|
+
Record<
|
|
11661
|
+
"javascript/dynamic",
|
|
11662
|
+
SyncBailHook<[JavascriptParserOptions], JavascriptParser>
|
|
11663
|
+
> &
|
|
11664
|
+
Record<
|
|
11665
|
+
"javascript/esm",
|
|
11666
|
+
SyncBailHook<[JavascriptParserOptions], JavascriptParser>
|
|
11667
|
+
> &
|
|
11668
|
+
Record<"json", SyncBailHook<[JsonParserOptions], JsonParser>> &
|
|
11669
|
+
Record<"asset", SyncBailHook<[AssetParserOptions], AssetParser>> &
|
|
11670
|
+
Record<
|
|
11671
|
+
"asset/inline",
|
|
11672
|
+
SyncBailHook<[EmptyParserOptions], AssetParser>
|
|
11673
|
+
> &
|
|
11674
|
+
Record<
|
|
11675
|
+
"asset/resource",
|
|
11676
|
+
SyncBailHook<[EmptyParserOptions], AssetParser>
|
|
11677
|
+
> &
|
|
11678
|
+
Record<
|
|
11679
|
+
"asset/source",
|
|
11680
|
+
SyncBailHook<[EmptyParserOptions], AssetSourceParser>
|
|
11681
|
+
> &
|
|
11682
|
+
Record<
|
|
11683
|
+
"asset/bytes",
|
|
11684
|
+
SyncBailHook<[EmptyParserOptions], AssetBytesParser>
|
|
11685
|
+
> &
|
|
11686
|
+
Record<
|
|
11687
|
+
"webassembly/async",
|
|
11688
|
+
SyncBailHook<[EmptyParserOptions], AsyncWebAssemblyParser>
|
|
11689
|
+
> &
|
|
11690
|
+
Record<
|
|
11691
|
+
"webassembly/sync",
|
|
11692
|
+
SyncBailHook<[EmptyParserOptions], WebAssemblyParser>
|
|
11693
|
+
> &
|
|
11694
|
+
Record<"css", SyncBailHook<[CssParserOptions], CssParser>> &
|
|
11695
|
+
Record<"css/auto", SyncBailHook<[CssAutoParserOptions], CssParser>> &
|
|
11696
|
+
Record<
|
|
11697
|
+
"css/module",
|
|
11698
|
+
SyncBailHook<[CssModuleParserOptions], CssParser>
|
|
11699
|
+
> &
|
|
11700
|
+
Record<
|
|
11701
|
+
"css/global",
|
|
11702
|
+
SyncBailHook<[CssGlobalParserOptions], CssParser>
|
|
11703
|
+
> &
|
|
11704
|
+
Record<string, SyncBailHook<[ParserOptions], ParserClass>>
|
|
11705
|
+
>;
|
|
11706
|
+
parser: TypedHookMap<
|
|
11707
|
+
Record<
|
|
11708
|
+
"javascript/auto",
|
|
11709
|
+
SyncBailHook<[JavascriptParser, JavascriptParserOptions], void>
|
|
11710
|
+
> &
|
|
11711
|
+
Record<
|
|
11712
|
+
"javascript/dynamic",
|
|
11713
|
+
SyncBailHook<[JavascriptParser, JavascriptParserOptions], void>
|
|
11714
|
+
> &
|
|
11715
|
+
Record<
|
|
11716
|
+
"javascript/esm",
|
|
11717
|
+
SyncBailHook<[JavascriptParser, JavascriptParserOptions], void>
|
|
11718
|
+
> &
|
|
11719
|
+
Record<"json", SyncBailHook<[JsonParser, JsonParserOptions], void>> &
|
|
11720
|
+
Record<"asset", SyncBailHook<[AssetParser, AssetParserOptions], void>> &
|
|
11721
|
+
Record<
|
|
11722
|
+
"asset/inline",
|
|
11723
|
+
SyncBailHook<[AssetParser, EmptyParserOptions], void>
|
|
11724
|
+
> &
|
|
11725
|
+
Record<
|
|
11726
|
+
"asset/resource",
|
|
11727
|
+
SyncBailHook<[AssetParser, EmptyParserOptions], void>
|
|
11728
|
+
> &
|
|
11729
|
+
Record<
|
|
11730
|
+
"asset/source",
|
|
11731
|
+
SyncBailHook<[AssetSourceParser, EmptyParserOptions], void>
|
|
11732
|
+
> &
|
|
11733
|
+
Record<
|
|
11734
|
+
"asset/bytes",
|
|
11735
|
+
SyncBailHook<[AssetBytesParser, EmptyParserOptions], void>
|
|
11736
|
+
> &
|
|
11737
|
+
Record<
|
|
11738
|
+
"webassembly/async",
|
|
11739
|
+
SyncBailHook<[AsyncWebAssemblyParser, EmptyParserOptions], void>
|
|
11740
|
+
> &
|
|
11741
|
+
Record<
|
|
11742
|
+
"webassembly/sync",
|
|
11743
|
+
SyncBailHook<[WebAssemblyParser, EmptyParserOptions], void>
|
|
11744
|
+
> &
|
|
11745
|
+
Record<"css", SyncBailHook<[CssParser, CssParserOptions], void>> &
|
|
11746
|
+
Record<
|
|
11747
|
+
"css/auto",
|
|
11748
|
+
SyncBailHook<[CssParser, CssAutoParserOptions], void>
|
|
11749
|
+
> &
|
|
11750
|
+
Record<
|
|
11751
|
+
"css/module",
|
|
11752
|
+
SyncBailHook<[CssParser, CssModuleParserOptions], void>
|
|
11753
|
+
> &
|
|
11754
|
+
Record<
|
|
11755
|
+
"css/global",
|
|
11756
|
+
SyncBailHook<[CssParser, CssGlobalParserOptions], void>
|
|
11757
|
+
> &
|
|
11758
|
+
Record<string, SyncBailHook<[ParserClass, ParserOptions], void>>
|
|
11759
|
+
>;
|
|
11760
|
+
createGenerator: TypedHookMap<
|
|
11761
|
+
Record<
|
|
11762
|
+
"javascript/auto",
|
|
11763
|
+
SyncBailHook<[EmptyGeneratorOptions], JavascriptGenerator>
|
|
11764
|
+
> &
|
|
11765
|
+
Record<
|
|
11766
|
+
"javascript/dynamic",
|
|
11767
|
+
SyncBailHook<[EmptyGeneratorOptions], JavascriptGenerator>
|
|
11768
|
+
> &
|
|
11769
|
+
Record<
|
|
11770
|
+
"javascript/esm",
|
|
11771
|
+
SyncBailHook<[EmptyGeneratorOptions], JavascriptGenerator>
|
|
11772
|
+
> &
|
|
11773
|
+
Record<"json", SyncBailHook<[JsonGeneratorOptions], JsonGenerator>> &
|
|
11774
|
+
Record<"asset", SyncBailHook<[AssetGeneratorOptions], AssetGenerator>> &
|
|
11775
|
+
Record<
|
|
11776
|
+
"asset/inline",
|
|
11777
|
+
SyncBailHook<[AssetGeneratorOptions], AssetGenerator>
|
|
11778
|
+
> &
|
|
11779
|
+
Record<
|
|
11780
|
+
"asset/resource",
|
|
11781
|
+
SyncBailHook<[AssetGeneratorOptions], AssetGenerator>
|
|
11782
|
+
> &
|
|
11783
|
+
Record<
|
|
11784
|
+
"asset/source",
|
|
11785
|
+
SyncBailHook<[EmptyGeneratorOptions], AssetSourceGenerator>
|
|
11786
|
+
> &
|
|
11787
|
+
Record<
|
|
11788
|
+
"asset/bytes",
|
|
11789
|
+
SyncBailHook<[EmptyGeneratorOptions], AssetBytesGenerator>
|
|
11790
|
+
> &
|
|
11791
|
+
Record<
|
|
11792
|
+
"webassembly/async",
|
|
11793
|
+
SyncBailHook<[EmptyParserOptions], Generator>
|
|
11794
|
+
> &
|
|
11795
|
+
Record<
|
|
11796
|
+
"webassembly/sync",
|
|
11797
|
+
SyncBailHook<[EmptyParserOptions], Generator>
|
|
11798
|
+
> &
|
|
11799
|
+
Record<"css", SyncBailHook<[CssGeneratorOptions], CssGenerator>> &
|
|
11800
|
+
Record<
|
|
11801
|
+
"css/auto",
|
|
11802
|
+
SyncBailHook<[CssAutoGeneratorOptions], CssGenerator>
|
|
11803
|
+
> &
|
|
11804
|
+
Record<
|
|
11805
|
+
"css/module",
|
|
11806
|
+
SyncBailHook<[CssModuleGeneratorOptions], CssGenerator>
|
|
11807
|
+
> &
|
|
11808
|
+
Record<
|
|
11809
|
+
"css/global",
|
|
11810
|
+
SyncBailHook<[CssGlobalGeneratorOptions], CssGenerator>
|
|
11811
|
+
> &
|
|
11812
|
+
Record<string, SyncBailHook<[GeneratorOptions], Generator>>
|
|
11813
|
+
>;
|
|
11814
|
+
generator: TypedHookMap<
|
|
11815
|
+
Record<
|
|
11816
|
+
"javascript/auto",
|
|
11817
|
+
SyncBailHook<[JavascriptGenerator, EmptyGeneratorOptions], void>
|
|
11818
|
+
> &
|
|
11819
|
+
Record<
|
|
11820
|
+
"javascript/dynamic",
|
|
11821
|
+
SyncBailHook<[JavascriptGenerator, EmptyGeneratorOptions], void>
|
|
11822
|
+
> &
|
|
11823
|
+
Record<
|
|
11824
|
+
"javascript/esm",
|
|
11825
|
+
SyncBailHook<[JavascriptGenerator, EmptyGeneratorOptions], void>
|
|
11826
|
+
> &
|
|
11827
|
+
Record<
|
|
11828
|
+
"json",
|
|
11829
|
+
SyncBailHook<[JsonGenerator, JsonGeneratorOptions], void>
|
|
11830
|
+
> &
|
|
11831
|
+
Record<
|
|
11832
|
+
"asset",
|
|
11833
|
+
SyncBailHook<[AssetGenerator, AssetGeneratorOptions], void>
|
|
11834
|
+
> &
|
|
11835
|
+
Record<
|
|
11836
|
+
"asset/inline",
|
|
11837
|
+
SyncBailHook<[AssetGenerator, AssetGeneratorOptions], void>
|
|
11838
|
+
> &
|
|
11839
|
+
Record<
|
|
11840
|
+
"asset/resource",
|
|
11841
|
+
SyncBailHook<[AssetGenerator, AssetGeneratorOptions], void>
|
|
11842
|
+
> &
|
|
11843
|
+
Record<
|
|
11844
|
+
"asset/source",
|
|
11845
|
+
SyncBailHook<[AssetSourceGenerator, EmptyGeneratorOptions], void>
|
|
11846
|
+
> &
|
|
11847
|
+
Record<
|
|
11848
|
+
"asset/bytes",
|
|
11849
|
+
SyncBailHook<[AssetBytesGenerator, EmptyGeneratorOptions], void>
|
|
11850
|
+
> &
|
|
11851
|
+
Record<
|
|
11852
|
+
"webassembly/async",
|
|
11853
|
+
SyncBailHook<[Generator, EmptyParserOptions], void>
|
|
11854
|
+
> &
|
|
11855
|
+
Record<
|
|
11856
|
+
"webassembly/sync",
|
|
11857
|
+
SyncBailHook<[Generator, EmptyParserOptions], void>
|
|
11858
|
+
> &
|
|
11859
|
+
Record<"css", SyncBailHook<[CssGenerator, CssGeneratorOptions], void>> &
|
|
11860
|
+
Record<
|
|
11861
|
+
"css/auto",
|
|
11862
|
+
SyncBailHook<[CssGenerator, CssAutoGeneratorOptions], void>
|
|
11863
|
+
> &
|
|
11864
|
+
Record<
|
|
11865
|
+
"css/module",
|
|
11866
|
+
SyncBailHook<[CssGenerator, CssModuleGeneratorOptions], void>
|
|
11867
|
+
> &
|
|
11868
|
+
Record<
|
|
11869
|
+
"css/global",
|
|
11870
|
+
SyncBailHook<[CssGenerator, CssGlobalGeneratorOptions], void>
|
|
11871
|
+
> &
|
|
11872
|
+
Record<string, SyncBailHook<[Generator, GeneratorOptions], void>>
|
|
11295
11873
|
>;
|
|
11296
|
-
generator: HookMap<SyncBailHook<[any, GeneratorOptions], void>>;
|
|
11297
11874
|
createModuleClass: HookMap<
|
|
11298
11875
|
SyncBailHook<
|
|
11299
11876
|
[
|
|
@@ -11461,6 +12038,7 @@ declare class NullDependency extends Dependency {
|
|
|
11461
12038
|
static Template: typeof NullDependencyTemplate;
|
|
11462
12039
|
static NO_EXPORTS_REFERENCED: string[][];
|
|
11463
12040
|
static EXPORTS_OBJECT_REFERENCED: string[][];
|
|
12041
|
+
static isLowPriorityDependency(dependency: Dependency): boolean;
|
|
11464
12042
|
static TRANSITIVE: typeof TRANSITIVE;
|
|
11465
12043
|
}
|
|
11466
12044
|
declare class NullDependencyTemplate extends DependencyTemplate {
|
|
@@ -12391,7 +12969,7 @@ declare interface Output {
|
|
|
12391
12969
|
globalObject?: string;
|
|
12392
12970
|
|
|
12393
12971
|
/**
|
|
12394
|
-
* Digest
|
|
12972
|
+
* Digest types used for the hash.
|
|
12395
12973
|
*/
|
|
12396
12974
|
hashDigest?: string;
|
|
12397
12975
|
|
|
@@ -12706,7 +13284,7 @@ declare interface OutputNormalized {
|
|
|
12706
13284
|
globalObject?: string;
|
|
12707
13285
|
|
|
12708
13286
|
/**
|
|
12709
|
-
* Digest
|
|
13287
|
+
* Digest types used for the hash.
|
|
12710
13288
|
*/
|
|
12711
13289
|
hashDigest?: string;
|
|
12712
13290
|
|
|
@@ -12903,6 +13481,48 @@ type OutputNormalizedWithDefaults = OutputNormalized & {
|
|
|
12903
13481
|
declare interface ParameterizedComparator<TArg extends object, T> {
|
|
12904
13482
|
(tArg: TArg): Comparator<T>;
|
|
12905
13483
|
}
|
|
13484
|
+
declare interface ParseOptions {
|
|
13485
|
+
sourceType: "module" | "script";
|
|
13486
|
+
ecmaVersion?:
|
|
13487
|
+
| 3
|
|
13488
|
+
| 5
|
|
13489
|
+
| 6
|
|
13490
|
+
| 7
|
|
13491
|
+
| 8
|
|
13492
|
+
| 9
|
|
13493
|
+
| 10
|
|
13494
|
+
| 11
|
|
13495
|
+
| 12
|
|
13496
|
+
| 13
|
|
13497
|
+
| 14
|
|
13498
|
+
| 15
|
|
13499
|
+
| 16
|
|
13500
|
+
| 17
|
|
13501
|
+
| 2015
|
|
13502
|
+
| 2016
|
|
13503
|
+
| 2017
|
|
13504
|
+
| 2018
|
|
13505
|
+
| 2019
|
|
13506
|
+
| 2020
|
|
13507
|
+
| 2021
|
|
13508
|
+
| 2022
|
|
13509
|
+
| 2023
|
|
13510
|
+
| 2024
|
|
13511
|
+
| 2025
|
|
13512
|
+
| 2026
|
|
13513
|
+
| "latest";
|
|
13514
|
+
locations?: boolean;
|
|
13515
|
+
comments?: boolean;
|
|
13516
|
+
ranges?: boolean;
|
|
13517
|
+
semicolons?: boolean;
|
|
13518
|
+
allowHashBang?: boolean;
|
|
13519
|
+
allowReturnOutsideFunction?: boolean;
|
|
13520
|
+
}
|
|
13521
|
+
declare interface ParseResult {
|
|
13522
|
+
ast: Program;
|
|
13523
|
+
comments: CommentJavascriptParser[];
|
|
13524
|
+
semicolons: Set<number>;
|
|
13525
|
+
}
|
|
12906
13526
|
declare interface ParsedIdentifier {
|
|
12907
13527
|
/**
|
|
12908
13528
|
* request
|
|
@@ -13166,6 +13786,10 @@ declare interface PnpApi {
|
|
|
13166
13786
|
options: { considerBuiltins: boolean }
|
|
13167
13787
|
) => null | string;
|
|
13168
13788
|
}
|
|
13789
|
+
declare interface Position {
|
|
13790
|
+
line: number;
|
|
13791
|
+
column: number;
|
|
13792
|
+
}
|
|
13169
13793
|
declare class PrefetchPlugin {
|
|
13170
13794
|
constructor(context: string, request?: string);
|
|
13171
13795
|
context: null | string;
|
|
@@ -13260,7 +13884,7 @@ declare class ProgressPlugin {
|
|
|
13260
13884
|
showDependencies?: boolean;
|
|
13261
13885
|
showActiveModules?: boolean;
|
|
13262
13886
|
percentBy?: null | "modules" | "entries" | "dependencies";
|
|
13263
|
-
apply(compiler:
|
|
13887
|
+
apply(compiler: MultiCompiler | Compiler): void;
|
|
13264
13888
|
static getReporter(
|
|
13265
13889
|
compiler: Compiler
|
|
13266
13890
|
): undefined | ((p: number, ...args: string[]) => void);
|
|
@@ -14045,12 +14669,12 @@ declare interface RealContentHashPluginOptions {
|
|
|
14045
14669
|
/**
|
|
14046
14670
|
* the hash function to use
|
|
14047
14671
|
*/
|
|
14048
|
-
hashFunction:
|
|
14672
|
+
hashFunction: HashFunction;
|
|
14049
14673
|
|
|
14050
14674
|
/**
|
|
14051
14675
|
* the hash digest to use
|
|
14052
14676
|
*/
|
|
14053
|
-
hashDigest
|
|
14677
|
+
hashDigest: string;
|
|
14054
14678
|
}
|
|
14055
14679
|
declare interface RealDependencyLocation {
|
|
14056
14680
|
start: SourcePosition;
|
|
@@ -15814,6 +16438,10 @@ declare abstract class RuntimeTemplate {
|
|
|
15814
16438
|
* if the dependency is weak (will create a nice error message)
|
|
15815
16439
|
*/
|
|
15816
16440
|
weak?: boolean;
|
|
16441
|
+
/**
|
|
16442
|
+
* dependency
|
|
16443
|
+
*/
|
|
16444
|
+
dependency: Dependency;
|
|
15817
16445
|
/**
|
|
15818
16446
|
* if set, will be filled with runtime requirements
|
|
15819
16447
|
*/
|
|
@@ -15875,9 +16503,9 @@ declare abstract class RuntimeTemplate {
|
|
|
15875
16503
|
*/
|
|
15876
16504
|
runtimeRequirements: Set<string>;
|
|
15877
16505
|
/**
|
|
15878
|
-
*
|
|
16506
|
+
* module dependency
|
|
15879
16507
|
*/
|
|
15880
|
-
|
|
16508
|
+
dependency: ModuleDependency;
|
|
15881
16509
|
}): [string, string];
|
|
15882
16510
|
exportFromImport<GenerateContext>(__0: {
|
|
15883
16511
|
/**
|
|
@@ -15937,9 +16565,9 @@ declare abstract class RuntimeTemplate {
|
|
|
15937
16565
|
*/
|
|
15938
16566
|
runtimeRequirements: Set<string>;
|
|
15939
16567
|
/**
|
|
15940
|
-
*
|
|
16568
|
+
* module dependency
|
|
15941
16569
|
*/
|
|
15942
|
-
|
|
16570
|
+
dependency: ModuleDependency;
|
|
15943
16571
|
}): string;
|
|
15944
16572
|
blockPromise(__0: {
|
|
15945
16573
|
/**
|
|
@@ -16513,6 +17141,11 @@ declare interface SourceMapDevToolPluginOptions {
|
|
|
16513
17141
|
*/
|
|
16514
17142
|
filename?: null | string | false;
|
|
16515
17143
|
|
|
17144
|
+
/**
|
|
17145
|
+
* Decide whether to ignore source files that match the specified value in the SourceMap.
|
|
17146
|
+
*/
|
|
17147
|
+
ignoreList?: string | RegExp | Rule[] | ((str: string) => boolean);
|
|
17148
|
+
|
|
16516
17149
|
/**
|
|
16517
17150
|
* Include source maps for module paths that match the given value.
|
|
16518
17151
|
*/
|
|
@@ -17815,6 +18448,7 @@ declare abstract class WeakTupleMap<K extends any[], V> {
|
|
|
17815
18448
|
delete(...args: K): void;
|
|
17816
18449
|
clear(): void;
|
|
17817
18450
|
}
|
|
18451
|
+
declare abstract class WebAssemblyParser extends ParserClass {}
|
|
17818
18452
|
declare interface WebAssemblyRenderContext {
|
|
17819
18453
|
/**
|
|
17820
18454
|
* the chunk
|
|
@@ -17992,6 +18626,11 @@ declare interface WebpackOptionsNormalized {
|
|
|
17992
18626
|
*/
|
|
17993
18627
|
devtool?: string | false;
|
|
17994
18628
|
|
|
18629
|
+
/**
|
|
18630
|
+
* Enable and configure the Dotenv plugin to load environment variables from .env files.
|
|
18631
|
+
*/
|
|
18632
|
+
dotenv?: boolean | DotenvPluginOptions;
|
|
18633
|
+
|
|
17995
18634
|
/**
|
|
17996
18635
|
* The entry point(s) of the compilation.
|
|
17997
18636
|
*/
|
|
@@ -18037,7 +18676,10 @@ declare interface WebpackOptionsNormalized {
|
|
|
18037
18676
|
| "promise"
|
|
18038
18677
|
| "module-import"
|
|
18039
18678
|
| "script"
|
|
18040
|
-
| "node-commonjs"
|
|
18679
|
+
| "node-commonjs"
|
|
18680
|
+
| "asset"
|
|
18681
|
+
| "css-import"
|
|
18682
|
+
| "css-url";
|
|
18041
18683
|
|
|
18042
18684
|
/**
|
|
18043
18685
|
* Ignore specific warnings.
|
|
@@ -18189,11 +18831,20 @@ type WebpackOptionsNormalizedWithDefaults = WebpackOptionsNormalized & {
|
|
|
18189
18831
|
| "module-import"
|
|
18190
18832
|
| "script"
|
|
18191
18833
|
| "node-commonjs"
|
|
18834
|
+
| "asset"
|
|
18835
|
+
| "css-import"
|
|
18836
|
+
| "css-url"
|
|
18192
18837
|
>;
|
|
18193
18838
|
} & { watch: NonNullable<undefined | boolean> } & {
|
|
18194
18839
|
performance: NonNullable<undefined | false | PerformanceOptions>;
|
|
18195
18840
|
} & { recordsInputPath: NonNullable<undefined | string | false> } & {
|
|
18196
|
-
recordsOutputPath:
|
|
18841
|
+
recordsOutputPath:
|
|
18842
|
+
| (string & {
|
|
18843
|
+
dotenv: NonNullable<undefined | boolean | DotenvPluginOptions>;
|
|
18844
|
+
})
|
|
18845
|
+
| (false & {
|
|
18846
|
+
dotenv: NonNullable<undefined | boolean | DotenvPluginOptions>;
|
|
18847
|
+
});
|
|
18197
18848
|
};
|
|
18198
18849
|
|
|
18199
18850
|
/**
|
|
@@ -18260,29 +18911,34 @@ type WriteStreamOptions = StreamOptions & {
|
|
|
18260
18911
|
fs?: null | CreateWriteStreamFSImplementation;
|
|
18261
18912
|
flush?: boolean;
|
|
18262
18913
|
};
|
|
18914
|
+
declare interface _functionWebpack {
|
|
18915
|
+
(
|
|
18916
|
+
options: Configuration,
|
|
18917
|
+
callback: CallbackWebpackFunction_2<Stats, void>
|
|
18918
|
+
): null | Compiler;
|
|
18919
|
+
(options: Configuration): Compiler;
|
|
18920
|
+
(
|
|
18921
|
+
options: MultiConfiguration,
|
|
18922
|
+
callback: CallbackWebpackFunction_2<MultiStats, void>
|
|
18923
|
+
): null | MultiCompiler;
|
|
18924
|
+
(options: MultiConfiguration): MultiCompiler;
|
|
18925
|
+
}
|
|
18263
18926
|
declare interface chunkModuleHashMap {
|
|
18264
18927
|
[index: number]: string;
|
|
18265
18928
|
[index: string]: string;
|
|
18266
18929
|
}
|
|
18267
18930
|
declare function exports(
|
|
18268
18931
|
options: Configuration,
|
|
18269
|
-
callback
|
|
18932
|
+
callback: CallbackWebpackFunction_2<Stats, void>
|
|
18270
18933
|
): null | Compiler;
|
|
18934
|
+
declare function exports(options: Configuration): Compiler;
|
|
18271
18935
|
declare function exports(
|
|
18272
18936
|
options: MultiConfiguration,
|
|
18273
|
-
callback
|
|
18937
|
+
callback: CallbackWebpackFunction_2<MultiStats, void>
|
|
18274
18938
|
): null | MultiCompiler;
|
|
18939
|
+
declare function exports(options: MultiConfiguration): MultiCompiler;
|
|
18275
18940
|
declare namespace exports {
|
|
18276
|
-
export const webpack:
|
|
18277
|
-
(
|
|
18278
|
-
options: Configuration,
|
|
18279
|
-
callback?: CallbackWebpackFunction_2<Stats, void>
|
|
18280
|
-
): null | Compiler;
|
|
18281
|
-
(
|
|
18282
|
-
options: MultiConfiguration,
|
|
18283
|
-
callback?: CallbackWebpackFunction_2<MultiStats, void>
|
|
18284
|
-
): null | MultiCompiler;
|
|
18285
|
-
};
|
|
18941
|
+
export const webpack: _functionWebpack;
|
|
18286
18942
|
export const validate: (
|
|
18287
18943
|
configuration: Configuration | MultiConfiguration
|
|
18288
18944
|
) => void;
|
|
@@ -18404,7 +19060,10 @@ declare namespace exports {
|
|
|
18404
19060
|
export let createFakeNamespaceObject: "__webpack_require__.t";
|
|
18405
19061
|
export let createScript: "__webpack_require__.ts";
|
|
18406
19062
|
export let createScriptUrl: "__webpack_require__.tu";
|
|
19063
|
+
export let cssMergeStyleSheets: "__webpack_require__.mcs";
|
|
18407
19064
|
export let currentRemoteGetScope: "__webpack_require__.R";
|
|
19065
|
+
export let deferredModuleAsyncTransitiveDependencies: "__webpack_require__.zT";
|
|
19066
|
+
export let deferredModuleAsyncTransitiveDependenciesSymbol: "__webpack_require__.zS";
|
|
18408
19067
|
export let definePropertyGetters: "__webpack_require__.d";
|
|
18409
19068
|
export let ensureChunk: "__webpack_require__.e";
|
|
18410
19069
|
export let ensureChunkHandlers: "__webpack_require__.f";
|
|
@@ -18438,8 +19097,8 @@ declare namespace exports {
|
|
|
18438
19097
|
export let interceptModuleExecution: "__webpack_require__.i";
|
|
18439
19098
|
export let loadScript: "__webpack_require__.l";
|
|
18440
19099
|
export let makeDeferredNamespaceObject: "__webpack_require__.z";
|
|
18441
|
-
export let makeDeferredNamespaceObjectSymbol: "__webpack_require__.zS";
|
|
18442
19100
|
export let makeNamespaceObject: "__webpack_require__.r";
|
|
19101
|
+
export let makeOptimizedDeferredNamespaceObject: "__webpack_require__.zO";
|
|
18443
19102
|
export let module: "module";
|
|
18444
19103
|
export let moduleCache: "__webpack_require__.c";
|
|
18445
19104
|
export let moduleFactories: "__webpack_require__.m";
|
|
@@ -18916,6 +19575,7 @@ declare namespace exports {
|
|
|
18916
19575
|
DllPlugin,
|
|
18917
19576
|
DllReferencePlugin,
|
|
18918
19577
|
DynamicEntryPlugin,
|
|
19578
|
+
DotenvPlugin,
|
|
18919
19579
|
EntryOptionPlugin,
|
|
18920
19580
|
EntryPlugin,
|
|
18921
19581
|
EnvironmentPlugin,
|
|
@@ -18950,6 +19610,7 @@ declare namespace exports {
|
|
|
18950
19610
|
EntryPlugin as SingleEntryPlugin,
|
|
18951
19611
|
SourceMapDevToolPlugin,
|
|
18952
19612
|
Stats,
|
|
19613
|
+
ManifestPlugin,
|
|
18953
19614
|
Template,
|
|
18954
19615
|
WatchIgnorePlugin,
|
|
18955
19616
|
WebpackError,
|