123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458 |
- export type Entry = EntryDynamic | EntryStatic;
- export type EntryDynamic = () => EntryStatic | Promise<EntryStatic>;
- export type EntryStatic = EntryObject | EntryItem;
- export type NonEmptyArrayOfUniqueStringValues = string[];
- export type EntryItem = string | NonEmptyArrayOfUniqueStringValues;
- export type Externals =
- | ((
- context: string,
- request: string,
- callback: (err?: Error, result?: string) => void
- ) => void)
- | ExternalItem
- | (
- | ((
- context: string,
- request: string,
- callback: (err?: Error, result?: string) => void
- ) => void)
- | ExternalItem
- )[];
- export type ExternalItem =
- | string
- | {
-
- [k: string]:
- | string
- | {
- [k: string]: any;
- }
- | ArrayOfStringValues
- | boolean;
- }
- | RegExp;
- export type ArrayOfStringValues = string[];
- export type FilterTypes = FilterItemTypes | FilterItemTypes[];
- export type FilterItemTypes = RegExp | string | ((value: string) => boolean);
- /**
- * One or multiple rule conditions
- *
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetConditionOrConditions".
- */
- export type RuleSetConditionOrConditions = RuleSetCondition | RuleSetConditions;
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetCondition".
- */
- export type RuleSetCondition =
- | RegExp
- | string
- | ((value: string) => boolean)
- | RuleSetConditions
- | {
- /**
- * Logical AND
- */
- and?: RuleSetConditions;
- /**
- * Exclude all modules matching any of these conditions
- */
- exclude?: RuleSetConditionOrConditions;
- /**
- * Exclude all modules matching not any of these conditions
- */
- include?: RuleSetConditionOrConditions;
- /**
- * Logical NOT
- */
- not?: RuleSetConditions;
- /**
- * Logical OR
- */
- or?: RuleSetConditions;
- /**
- * Exclude all modules matching any of these conditions
- */
- test?: RuleSetConditionOrConditions;
- };
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetConditions".
- */
- export type RuleSetConditions = RuleSetCondition[];
- /**
- * One or multiple rule conditions
- *
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetConditionOrConditionsAbsolute".
- */
- export type RuleSetConditionOrConditionsAbsolute =
- | RuleSetConditionAbsolute
- | RuleSetConditionsAbsolute;
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetConditionAbsolute".
- */
- export type RuleSetConditionAbsolute =
- | RegExp
- | string
- | ((value: string) => boolean)
- | RuleSetConditionsAbsolute
- | {
- /**
- * Logical AND
- */
- and?: RuleSetConditionsAbsolute;
- /**
- * Exclude all modules matching any of these conditions
- */
- exclude?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Exclude all modules matching not any of these conditions
- */
- include?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Logical NOT
- */
- not?: RuleSetConditionsAbsolute;
- /**
- * Logical OR
- */
- or?: RuleSetConditionsAbsolute;
- /**
- * Exclude all modules matching any of these conditions
- */
- test?: RuleSetConditionOrConditionsAbsolute;
- };
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetConditionsAbsolute".
- */
- export type RuleSetConditionsAbsolute = RuleSetConditionAbsolute[];
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetLoader".
- */
- export type RuleSetLoader = string;
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetUse".
- */
- export type RuleSetUse = RuleSetUseItem | Function | RuleSetUseItem[];
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetUseItem".
- */
- export type RuleSetUseItem =
- | RuleSetLoader
- | Function
- | {
- /**
- * Unique loader identifier
- */
- ident?: string;
- /**
- * Loader name
- */
- loader?: RuleSetLoader;
- /**
- * Loader options
- */
- options?: RuleSetQuery;
- /**
- * Loader query
- */
- query?: RuleSetQuery;
- };
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetQuery".
- */
- export type RuleSetQuery =
- | {
- [k: string]: any;
- }
- | string;
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "ArrayOfStringOrStringArrayValues".
- */
- export type ArrayOfStringOrStringArrayValues = (string | string[])[];
- /**
- * Function acting as plugin
- *
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "WebpackPluginFunction".
- */
- export type WebpackPluginFunction = (
- this: import("../lib/Compiler"),
- compiler: import("../lib/Compiler")
- ) => void;
- export type RuleSetRules = RuleSetRule[];
- export interface WebpackOptions {
-
- amd?:
- | false
- | {
- [k: string]: any;
- };
-
- bail?: boolean;
-
- cache?:
- | boolean
- | {
- [k: string]: any;
- };
-
- context?: string;
-
- dependencies?: string[];
-
- devServer?: {
- [k: string]: any;
- };
-
- devtool?: string | false;
-
- entry?: Entry;
-
- externals?: Externals;
-
- infrastructureLogging?: {
-
- debug?: FilterTypes | boolean;
-
- level?: "none" | "error" | "warn" | "info" | "log" | "verbose";
- };
-
- loader?: {
- [k: string]: any;
- };
-
- mode?: "development" | "production" | "none";
-
- module?: ModuleOptions;
- /**
- * Name of the configuration. Used when loading multiple configurations.
- */
- name?: string;
- /**
- * Include polyfills or mocks for various node stuff.
- */
- node?: false | NodeOptions;
- /**
- * Enables/Disables integrated optimizations
- */
- optimization?: OptimizationOptions;
- /**
- * Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.
- */
- output?: OutputOptions;
- /**
- * The number of parallel processed modules in the compilation.
- */
- parallelism?: number;
- /**
- * Configuration for web performance recommendations.
- */
- performance?: false | PerformanceOptions;
- /**
- * Add additional plugins to the compiler.
- */
- plugins?: (WebpackPluginInstance | WebpackPluginFunction)[];
- /**
- * Capture timing information for each module.
- */
- profile?: boolean;
- /**
- * Store compiler state to a json file.
- */
- recordsInputPath?: string;
- /**
- * Load compiler state from a json file.
- */
- recordsOutputPath?: string;
- /**
- * Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.
- */
- recordsPath?: string;
- /**
- * Options for the resolver
- */
- resolve?: ResolveOptions;
- /**
- * Options for the resolver when resolving loaders
- */
- resolveLoader?: ResolveOptions;
- /**
- * Options for webpack-serve
- */
- serve?: {
- [k: string]: any;
- };
-
- stats?:
- | StatsOptions
- | boolean
- | (
- | "none"
- | "errors-only"
- | "minimal"
- | "normal"
- | "detailed"
- | "verbose"
- | "errors-warnings"
- );
-
- target?:
- | (
- | "web"
- | "webworker"
- | "node"
- | "async-node"
- | "node-webkit"
- | "electron-main"
- | "electron-renderer"
- | "electron-preload"
- )
- | ((compiler: import("../lib/Compiler")) => void);
- /**
- * Enter watch mode, which rebuilds on file change.
- */
- watch?: boolean;
- /**
- * Options for the watcher
- */
- watchOptions?: {
- /**
- * Delay the rebuilt after the first change. Value is a time in ms.
- */
- aggregateTimeout?: number;
- /**
- * Ignore some files from watching
- */
- ignored?: {
- [k: string]: any;
- };
- /**
- * Enable polling mode for watching
- */
- poll?: boolean | number;
- /**
- * Stop watching when stdin stream has ended
- */
- stdin?: boolean;
- };
- }
- /**
- * Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.
- *
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "EntryObject".
- */
- export interface EntryObject {
- /**
- * An entry point with name
- */
- [k: string]: string | NonEmptyArrayOfUniqueStringValues;
- }
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "ModuleOptions".
- */
- export interface ModuleOptions {
- /**
- * An array of rules applied by default for modules.
- */
- defaultRules?: RuleSetRules;
- /**
- * Enable warnings for full dynamic dependencies
- */
- exprContextCritical?: boolean;
- /**
- * Enable recursive directory lookup for full dynamic dependencies
- */
- exprContextRecursive?: boolean;
- /**
- * Sets the default regular expression for full dynamic dependencies
- */
- exprContextRegExp?: boolean | RegExp;
- /**
- * Set the default request for full dynamic dependencies
- */
- exprContextRequest?: string;
- /**
- * Don't parse files matching. It's matched against the full resolved request.
- */
- noParse?: RegExp[] | RegExp | Function | string[] | string;
- /**
- * An array of rules applied for modules.
- */
- rules?: RuleSetRules;
- /**
- * Emit errors instead of warnings when imported names don't exist in imported module
- */
- strictExportPresence?: boolean;
- /**
- * Handle the this context correctly according to the spec for namespace objects
- */
- strictThisContextOnImports?: boolean;
- /**
- * Enable warnings when using the require function in a not statically analyse-able way
- */
- unknownContextCritical?: boolean;
- /**
- * Enable recursive directory lookup when using the require function in a not statically analyse-able way
- */
- unknownContextRecursive?: boolean;
- /**
- * Sets the regular expression when using the require function in a not statically analyse-able way
- */
- unknownContextRegExp?: boolean | RegExp;
- /**
- * Sets the request when using the require function in a not statically analyse-able way
- */
- unknownContextRequest?: string;
- /**
- * Cache the resolving of module requests
- */
- unsafeCache?: boolean | Function;
- /**
- * Enable warnings for partial dynamic dependencies
- */
- wrappedContextCritical?: boolean;
- /**
- * Enable recursive directory lookup for partial dynamic dependencies
- */
- wrappedContextRecursive?: boolean;
- /**
- * Set the inner regular expression for partial dynamic dependencies
- */
- wrappedContextRegExp?: RegExp;
- }
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "RuleSetRule".
- */
- export interface RuleSetRule {
- /**
- * Match the child compiler name
- */
- compiler?: RuleSetConditionOrConditions;
- /**
- * Enforce this rule as pre or post step
- */
- enforce?: "pre" | "post";
- /**
- * Shortcut for resource.exclude
- */
- exclude?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Shortcut for resource.include
- */
- include?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Match the issuer of the module (The module pointing to this module)
- */
- issuer?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Shortcut for use.loader
- */
- loader?: RuleSetLoader | RuleSetUse;
- /**
- * Shortcut for use.loader
- */
- loaders?: RuleSetUse;
- /**
- * Only execute the first matching rule in this array
- */
- oneOf?: RuleSetRules;
- /**
- * Shortcut for use.options
- */
- options?: RuleSetQuery;
- /**
- * Options for parsing
- */
- parser?: {
- [k: string]: any;
- };
- /**
- * Shortcut for use.query
- */
- query?: RuleSetQuery;
- /**
- * Match rules with custom resource name
- */
- realResource?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Options for the resolver
- */
- resolve?: ResolveOptions;
- /**
- * Match the resource path of the module
- */
- resource?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Match the resource query of the module
- */
- resourceQuery?: RuleSetConditionOrConditions;
- /**
- * Match and execute these rules when this rule is matched
- */
- rules?: RuleSetRules;
- /**
- * Flags a module as with or without side effects
- */
- sideEffects?: boolean;
- /**
- * Shortcut for resource.test
- */
- test?: RuleSetConditionOrConditionsAbsolute;
- /**
- * Module type to use for the module
- */
- type?:
- | "javascript/auto"
- | "javascript/dynamic"
- | "javascript/esm"
- | "json"
- | "webassembly/experimental";
- /**
- * Modifiers applied to the module when rule is matched
- */
- use?: RuleSetUse;
- }
- /**
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "ResolveOptions".
- */
- export interface ResolveOptions {
- /**
- * Redirect module requests
- */
- alias?:
- | {
- /**
- * New request
- */
- [k: string]: string;
- }
- | {
- /**
- * New request
- */
- alias?: string;
- /**
- * Request to be redirected
- */
- name?: string;
- /**
- * Redirect only exact matching request
- */
- onlyModule?: boolean;
- }[];
- /**
- * Fields in the description file (package.json) which are used to redirect requests inside the module
- */
- aliasFields?: ArrayOfStringOrStringArrayValues;
- /**
- * Predicate function to decide which requests should be cached
- */
- cachePredicate?: Function;
- /**
- * Include the context information in the cache identifier when caching
- */
- cacheWithContext?: boolean;
- /**
- * Enable concord resolving extras
- */
- concord?: boolean;
- /**
- * Filenames used to find a description file
- */
- descriptionFiles?: ArrayOfStringValues;
- /**
- * Enforce using one of the extensions from the extensions option
- */
- enforceExtension?: boolean;
- /**
- * Enforce using one of the module extensions from the moduleExtensions option
- */
- enforceModuleExtension?: boolean;
- /**
- * Extensions added to the request when trying to find the file
- */
- extensions?: ArrayOfStringValues;
- /**
- * Filesystem for the resolver
- */
- fileSystem?: {
- [k: string]: any;
- };
- /**
- * Field names from the description file (package.json) which are used to find the default entry point
- */
- mainFields?: ArrayOfStringOrStringArrayValues;
- /**
- * Filenames used to find the default entry point if there is no description file or main field
- */
- mainFiles?: ArrayOfStringValues;
- /**
- * Extensions added to the module request when trying to find the module
- */
- moduleExtensions?: ArrayOfStringValues;
- /**
- * Folder names or directory paths where to find modules
- */
- modules?: ArrayOfStringValues;
- /**
- * Plugins for the resolver
- */
- plugins?: (WebpackPluginInstance | WebpackPluginFunction)[];
- /**
- * Custom resolver
- */
- resolver?: {
- [k: string]: any;
- };
- /**
- * A list of directories in which requests that are server-relative URLs (starting with '/') are resolved. On non-windows system these requests are tried to resolve as absolute path first.
- */
- roots?: string[];
- /**
- * Enable resolving symlinks to the original location
- */
- symlinks?: boolean;
- /**
- * Enable caching of successfully resolved requests
- */
- unsafeCache?:
- | boolean
- | {
- [k: string]: any;
- };
- /**
- * Use synchronous filesystem calls for the resolver
- */
- useSyncFileSystemCalls?: boolean;
- }
- /**
- * Plugin instance
- *
- * This interface was referenced by `WebpackOptions`'s JSON-Schema
- * via the `definition` "WebpackPluginInstance".
- */
- export interface WebpackPluginInstance {
- /**
- * The run point of the plugin, required method.
- */
- apply: (compiler: import("../lib/Compiler")) => void;
- [k: string]: any;
- }
- export interface NodeOptions {
-
- Buffer?: false | true | "mock";
-
- __dirname?: false | true | "mock";
-
- __filename?: false | true | "mock";
-
- console?: false | true | "mock";
-
- global?: boolean;
-
- process?: false | true | "mock";
-
- [k: string]: false | true | "mock" | "empty";
- }
- export interface OptimizationOptions {
-
- checkWasmTypes?: boolean;
-
- chunkIds?: "natural" | "named" | "size" | "total-size" | false;
-
- concatenateModules?: boolean;
-
- flagIncludedChunks?: boolean;
-
- hashedModuleIds?: boolean;
-
- mangleWasmImports?: boolean;
-
- mergeDuplicateChunks?: boolean;
-
- minimize?: boolean;
-
- minimizer?: (WebpackPluginInstance | WebpackPluginFunction)[];
-
- moduleIds?: "natural" | "named" | "hashed" | "size" | "total-size" | false;
-
- namedChunks?: boolean;
-
- namedModules?: boolean;
-
- noEmitOnErrors?: boolean;
-
- nodeEnv?: false | string;
-
- occurrenceOrder?: boolean;
-
- portableRecords?: boolean;
-
- providedExports?: boolean;
-
- removeAvailableModules?: boolean;
-
- removeEmptyChunks?: boolean;
-
- runtimeChunk?:
- | boolean
- | ("single" | "multiple")
- | {
-
- name?: string | Function;
- };
-
- sideEffects?: boolean;
-
- splitChunks?: false | OptimizationSplitChunksOptions;
-
- usedExports?: boolean;
- }
- export interface OptimizationSplitChunksOptions {
-
- automaticNameDelimiter?: string;
-
- automaticNameMaxLength?: number;
-
- cacheGroups?: {
-
- [k: string]:
- | false
- | Function
- | string
- | RegExp
- | {
-
- automaticNameDelimiter?: string;
-
- automaticNameMaxLength?: number;
-
- automaticNamePrefix?: string;
-
- chunks?: ("initial" | "async" | "all") | Function;
-
- enforce?: boolean;
-
- enforceSizeThreshold?: number;
-
- filename?: string;
-
- maxAsyncRequests?: number;
-
- maxInitialRequests?: number;
-
- maxSize?: number;
-
- minChunks?: number;
-
- minSize?: number;
-
- name?: boolean | Function | string;
-
- priority?: number;
-
- reuseExistingChunk?: boolean;
-
- test?: Function | string | RegExp;
- };
- };
-
- chunks?: ("initial" | "async" | "all") | Function;
-
- enforceSizeThreshold?: number;
-
- fallbackCacheGroup?: {
-
- automaticNameDelimiter?: string;
-
- maxSize?: number;
-
- minSize?: number;
- };
-
- filename?: string;
-
- hidePathInfo?: boolean;
-
- maxAsyncRequests?: number;
-
- maxInitialRequests?: number;
-
- maxSize?: number;
-
- minChunks?: number;
-
- minSize?: number;
-
- name?: boolean | Function | string;
- }
- export interface OutputOptions {
-
- auxiliaryComment?:
- | string
- | {
-
- amd?: string;
-
- commonjs?: string;
-
- commonjs2?: string;
-
- root?: string;
- };
-
- chunkCallbackName?: string;
-
- chunkFilename?: string;
-
- chunkLoadTimeout?: number;
-
- crossOriginLoading?: false | "anonymous" | "use-credentials";
-
- devtoolFallbackModuleFilenameTemplate?: string | Function;
-
- devtoolLineToLine?:
- | boolean
- | {
- [k: string]: any;
- };
-
- devtoolModuleFilenameTemplate?: string | Function;
-
- devtoolNamespace?: string;
-
- filename?: string | Function;
-
- futureEmitAssets?: boolean;
-
- globalObject?: string;
-
- hashDigest?: string;
-
- hashDigestLength?: number;
-
- hashFunction?: string | import("../lib/util/createHash").HashConstructor;
-
- hashSalt?: string;
-
- hotUpdateChunkFilename?: string;
-
- hotUpdateFunction?: string;
-
- hotUpdateMainFilename?: string | Function;
-
- jsonpFunction?: string;
-
- jsonpScriptType?: false | "text/javascript" | "module";
-
- library?: string | string[] | LibraryCustomUmdObject;
-
- libraryExport?: string | ArrayOfStringValues;
-
- libraryTarget?:
- | "var"
- | "assign"
- | "this"
- | "window"
- | "self"
- | "global"
- | "commonjs"
- | "commonjs2"
- | "commonjs-module"
- | "amd"
- | "amd-require"
- | "umd"
- | "umd2"
- | "jsonp"
- | "system";
-
- path?: string;
-
- pathinfo?: boolean;
-
- publicPath?: string | Function;
-
- sourceMapFilename?: string;
-
- sourcePrefix?: string;
-
- strictModuleExceptionHandling?: boolean;
-
- umdNamedDefine?: boolean;
-
- webassemblyModuleFilename?: string;
- }
- export interface LibraryCustomUmdObject {
-
- amd?: string;
-
- commonjs?: string;
-
- root?: string | ArrayOfStringValues;
- }
- export interface PerformanceOptions {
-
- assetFilter?: Function;
-
- hints?: false | "warning" | "error";
-
- maxAssetSize?: number;
-
- maxEntrypointSize?: number;
- }
- export interface StatsOptions {
-
- all?: boolean;
-
- assets?: boolean;
-
- assetsSort?: string;
-
- builtAt?: boolean;
-
- cached?: boolean;
-
- cachedAssets?: boolean;
-
- children?: boolean;
-
- chunkGroups?: boolean;
-
- chunkModules?: boolean;
-
- chunkOrigins?: boolean;
-
- chunks?: boolean;
-
- chunksSort?: string;
-
- colors?:
- | boolean
- | {
-
- bold?: string;
-
- cyan?: string;
-
- green?: string;
-
- magenta?: string;
-
- red?: string;
-
- yellow?: string;
- };
-
- context?: string;
-
- depth?: boolean;
-
- entrypoints?: boolean;
-
- env?: boolean;
-
- errorDetails?: boolean;
-
- errors?: boolean;
-
- exclude?: FilterTypes | boolean;
-
- excludeAssets?: FilterTypes;
-
- excludeModules?: FilterTypes | boolean;
-
- hash?: boolean;
-
- logging?: boolean | ("none" | "error" | "warn" | "info" | "log" | "verbose");
-
- loggingDebug?: FilterTypes | boolean;
-
- loggingTrace?: boolean;
-
- maxModules?: number;
-
- moduleAssets?: boolean;
-
- moduleTrace?: boolean;
-
- modules?: boolean;
-
- modulesSort?: string;
-
- nestedModules?: boolean;
-
- optimizationBailout?: boolean;
-
- outputPath?: boolean;
-
- performance?: boolean;
-
- providedExports?: boolean;
-
- publicPath?: boolean;
-
- reasons?: boolean;
-
- source?: boolean;
-
- timings?: boolean;
-
- usedExports?: boolean;
-
- version?: boolean;
-
- warnings?: boolean;
-
- warningsFilter?: FilterTypes;
- }
|