summaryrefslogtreecommitdiffstats
path: root/node_modules/webpack/declarations/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/webpack/declarations/plugins')
-rw-r--r--node_modules/webpack/declarations/plugins/BannerPlugin.d.ts49
-rw-r--r--node_modules/webpack/declarations/plugins/DllPlugin.d.ts32
-rw-r--r--node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts126
-rw-r--r--node_modules/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts24
-rw-r--r--node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts27
-rw-r--r--node_modules/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts27
-rw-r--r--node_modules/webpack/declarations/plugins/ProgressPlugin.d.ts42
-rw-r--r--node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts94
-rw-r--r--node_modules/webpack/declarations/plugins/WatchIgnorePlugin.d.ts10
-rw-r--r--node_modules/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts12
-rw-r--r--node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts24
-rw-r--r--node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts16
-rw-r--r--node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts12
-rw-r--r--node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts12
-rw-r--r--node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts12
15 files changed, 0 insertions, 519 deletions
diff --git a/node_modules/webpack/declarations/plugins/BannerPlugin.d.ts b/node_modules/webpack/declarations/plugins/BannerPlugin.d.ts
deleted file mode 100644
index f2e5d96..0000000
--- a/node_modules/webpack/declarations/plugins/BannerPlugin.d.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type BannerPluginArgument =
- | BannerPluginOptions
- | BannerFunction
- | string;
-/**
- * The banner as function, it will be wrapped in a comment
- */
-export type BannerFunction = (data: {
- hash: string;
- chunk: import("../../lib/Chunk");
- filename: string;
- basename: string;
- query: string;
-}) => string;
-export type Rules = Rule[] | Rule;
-export type Rule = RegExp | string;
-
-export interface BannerPluginOptions {
- /**
- * Specifies the banner
- */
- banner: BannerFunction | string;
- /**
- * If true, the banner will only be added to the entry chunks
- */
- entryOnly?: boolean;
- /**
- * Exclude all modules matching any of these conditions
- */
- exclude?: Rules;
- /**
- * Include all modules matching any of these conditions
- */
- include?: Rules;
- /**
- * If true, banner will not be wrapped in a comment
- */
- raw?: boolean;
- /**
- * Include all modules that pass test assertion
- */
- test?: Rules;
-}
diff --git a/node_modules/webpack/declarations/plugins/DllPlugin.d.ts b/node_modules/webpack/declarations/plugins/DllPlugin.d.ts
deleted file mode 100644
index addbce5..0000000
--- a/node_modules/webpack/declarations/plugins/DllPlugin.d.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface DllPluginOptions {
- /**
- * Context of requests in the manifest file (defaults to the webpack context)
- */
- context?: string;
- /**
- * If true, only entry points will be exposed
- */
- entryOnly?: boolean;
- /**
- * If true, manifest json file (output) will be formatted
- */
- format?: boolean;
- /**
- * Name of the exposed dll function (external name, use value of 'output.library')
- */
- name?: string;
- /**
- * Absolute path to the manifest json file (output)
- */
- path: string;
- /**
- * Type of the dll bundle (external type, use value of 'output.libraryTarget')
- */
- type?: string;
-}
diff --git a/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts b/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts
deleted file mode 100644
index 73dfa52..0000000
--- a/node_modules/webpack/declarations/plugins/DllReferencePlugin.d.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type DllReferencePluginOptions =
- | {
- /**
- * (absolute path) context of requests in the manifest (or content property)
- */
- context?: string;
- /**
- * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
- */
- extensions?: string[];
- /**
- * An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation
- */
- manifest: DllReferencePluginOptionsManifest | string;
- /**
- * The name where the dll is exposed (external name, defaults to manifest.name)
- */
- name?: string;
- /**
- * Prefix which is used for accessing the content of the dll
- */
- scope?: string;
- /**
- * How the dll is exposed (libraryTarget, defaults to manifest.type)
- */
- sourceType?: DllReferencePluginOptionsSourceType;
- /**
- * The way how the export of the dll bundle is used
- */
- type?: "require" | "object";
- }
- | {
- /**
- * The mappings from request to module info
- */
- content: DllReferencePluginOptionsContent;
- /**
- * (absolute path) context of requests in the manifest (or content property)
- */
- context?: string;
- /**
- * Extensions used to resolve modules in the dll bundle (only used when using 'scope')
- */
- extensions?: string[];
- /**
- * The name where the dll is exposed (external name)
- */
- name: string;
- /**
- * Prefix which is used for accessing the content of the dll
- */
- scope?: string;
- /**
- * How the dll is exposed (libraryTarget)
- */
- sourceType?: DllReferencePluginOptionsSourceType;
- /**
- * The way how the export of the dll bundle is used
- */
- type?: "require" | "object";
- };
-/**
- * The type how the dll is exposed (external type)
- */
-export type DllReferencePluginOptionsSourceType =
- | "var"
- | "assign"
- | "this"
- | "window"
- | "global"
- | "commonjs"
- | "commonjs2"
- | "commonjs-module"
- | "amd"
- | "amd-require"
- | "umd"
- | "umd2"
- | "jsonp";
-
-/**
- * An object containing content, name and type
- */
-export interface DllReferencePluginOptionsManifest {
- /**
- * The mappings from request to module info
- */
- content: DllReferencePluginOptionsContent;
- /**
- * The name where the dll is exposed (external name)
- */
- name?: string;
- /**
- * The type how the dll is exposed (external type)
- */
- type?: DllReferencePluginOptionsSourceType;
-}
-/**
- * The mappings from request to module info
- */
-export interface DllReferencePluginOptionsContent {
- /**
- * Module info
- */
- [k: string]: {
- /**
- * Meta information about the module
- */
- buildMeta?: {
- [k: string]: any;
- };
- /**
- * Information about the provided exports of the module
- */
- exports?: true | string[];
- /**
- * Module ID
- */
- id: number | string;
- };
-}
diff --git a/node_modules/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts b/node_modules/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts
deleted file mode 100644
index 571ab60..0000000
--- a/node_modules/webpack/declarations/plugins/HashedModuleIdsPlugin.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface HashedModuleIdsPluginOptions {
- /**
- * The context directory for creating names.
- */
- context?: string;
- /**
- * The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.
- */
- hashDigest?: "hex" | "latin1" | "base64";
- /**
- * The prefix length of the hash digest to use, defaults to 4.
- */
- hashDigestLength?: number;
- /**
- * The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.
- */
- hashFunction?: string;
-}
diff --git a/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts b/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts
deleted file mode 100644
index 323535d..0000000
--- a/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type IgnorePluginOptions =
- | {
- /**
- * A RegExp to test the context (directory) against
- */
- contextRegExp?: RegExp;
- /**
- * A RegExp to test the request against
- */
- resourceRegExp?: RegExp;
- }
- | {
- /**
- * A filter function for context
- */
- checkContext?: (context: string) => boolean;
- /**
- * A filter function for resource and context
- */
- checkResource?: (resource: string, context: string) => boolean;
- };
diff --git a/node_modules/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts b/node_modules/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts
deleted file mode 100644
index cb48ecc..0000000
--- a/node_modules/webpack/declarations/plugins/LoaderOptionsPlugin.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface LoaderOptionsPluginOptions {
- /**
- * Whether loaders should be in debug mode or not. debug will be removed as of webpack 3
- */
- debug?: boolean;
- /**
- * Where loaders can be switched to minimize mode
- */
- minimize?: boolean;
- /**
- * A configuration object that can be used to configure older loaders
- */
- options?: {
- /**
- * The context that can be used to configure older loaders
- */
- context?: string;
- [k: string]: any;
- };
- [k: string]: any;
-}
diff --git a/node_modules/webpack/declarations/plugins/ProgressPlugin.d.ts b/node_modules/webpack/declarations/plugins/ProgressPlugin.d.ts
deleted file mode 100644
index d0fa1b4..0000000
--- a/node_modules/webpack/declarations/plugins/ProgressPlugin.d.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export type ProgressPluginArgument = ProgressPluginOptions | HandlerFunction;
-/**
- * Function that executes for every progress step
- */
-export type HandlerFunction = (
- percentage: number,
- msg: string,
- ...args: string[]
-) => void;
-
-export interface ProgressPluginOptions {
- /**
- * Show active modules count and one active module in progress message
- */
- activeModules?: boolean;
- /**
- * Show entries count in progress message
- */
- entries?: boolean;
- /**
- * Function that executes for every progress step
- */
- handler?: HandlerFunction;
- /**
- * Show modules count in progress message
- */
- modules?: boolean;
- /**
- * Minimum modules count to start with. Only for mode=modules. Default: 500
- */
- modulesCount?: number;
- /**
- * Collect profile data for progress steps. Default: false
- */
- profile?: true | false | null;
-}
diff --git a/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts b/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts
deleted file mode 100644
index 76421b5..0000000
--- a/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts
+++ /dev/null
@@ -1,94 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-/**
- * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema
- * via the `definition` "rules".
- */
-export type Rules = Rule[] | Rule;
-/**
- * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema
- * via the `definition` "rule".
- */
-export type Rule = RegExp | string;
-
-export interface SourceMapDevToolPluginOptions {
- /**
- * Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending
- */
- append?: (false | null) | string;
- /**
- * Indicates whether column mappings should be used (defaults to true)
- */
- columns?: boolean;
- /**
- * Exclude modules that match the given value from source map generation
- */
- exclude?: Rules;
- /**
- * Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict
- */
- fallbackModuleFilenameTemplate?: Function | string;
- /**
- * Path prefix to which the [file] placeholder is relative to
- */
- fileContext?: string;
- /**
- * Defines the output filename of the SourceMap (will be inlined if no value is provided)
- */
- filename?: (false | null) | string;
- /**
- * Include source maps for module paths that match the given value
- */
- include?: Rules;
- /**
- * (deprecated) try to map original files line to line to generated files
- */
- lineToLine?:
- | boolean
- | {
- /**
- * Exclude modules that match the given value from source map generation
- */
- exclude?: Rules;
- /**
- * Include source maps for module paths that match the given value
- */
- include?: Rules;
- /**
- * Include source maps for modules based on their extension (defaults to .js and .css)
- */
- test?: Rules;
- };
- /**
- * Indicates whether SourceMaps from loaders should be used (defaults to true)
- */
- module?: boolean;
- /**
- * Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap
- */
- moduleFilenameTemplate?: Function | string;
- /**
- * Namespace prefix to allow multiple webpack roots in the devtools
- */
- namespace?: string;
- /**
- * Omit the 'sourceContents' array from the SourceMap
- */
- noSources?: boolean;
- /**
- * Provide a custom public path for the SourceMapping comment
- */
- publicPath?: string;
- /**
- * Provide a custom value for the 'sourceRoot' property in the SourceMap
- */
- sourceRoot?: string;
- /**
- * Include source maps for modules based on their extension (defaults to .js and .css)
- */
- test?: Rules;
-}
diff --git a/node_modules/webpack/declarations/plugins/WatchIgnorePlugin.d.ts b/node_modules/webpack/declarations/plugins/WatchIgnorePlugin.d.ts
deleted file mode 100644
index 05c8575..0000000
--- a/node_modules/webpack/declarations/plugins/WatchIgnorePlugin.d.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-/**
- * A list of RegExps or absolute paths to directories or files that should be ignored
- */
-export type WatchIgnorePluginOptions = (string | RegExp)[];
diff --git a/node_modules/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts b/node_modules/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts
deleted file mode 100644
index d3cd664..0000000
--- a/node_modules/webpack/declarations/plugins/debug/ProfilingPlugin.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface ProfilingPluginOptions {
- /**
- * Path to the output file e.g. `profiling/events.json`. Defaults to `events.json`.
- */
- outputPath?: string;
-}
diff --git a/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts
deleted file mode 100644
index 9f5360c..0000000
--- a/node_modules/webpack/declarations/plugins/optimize/AggressiveSplittingPlugin.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface AggressiveSplittingPluginOptions {
- /**
- * Default: 0
- */
- chunkOverhead?: number;
- /**
- * Default: 1
- */
- entryChunkMultiplicator?: number;
- /**
- * Byte, maxsize of per file. Default: 51200
- */
- maxSize?: number;
- /**
- * Byte, split point. Default: 30720
- */
- minSize?: number;
-}
diff --git a/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts
deleted file mode 100644
index 8cd59ed..0000000
--- a/node_modules/webpack/declarations/plugins/optimize/LimitChunkCountPlugin.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface LimitChunkCountPluginOptions {
- /**
- * Limit the maximum number of chunks using a value greater greater than or equal to 1
- */
- maxChunks?: number;
- /**
- * Set a minimum chunk size
- */
- minChunkSize?: number;
-}
diff --git a/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts
deleted file mode 100644
index 61d20fd..0000000
--- a/node_modules/webpack/declarations/plugins/optimize/MinChunkSizePlugin.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface MinChunkSizePluginOptions {
- /**
- * Minimum number of characters
- */
- minChunkSize: number;
-}
diff --git a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts
deleted file mode 100644
index 0396f55..0000000
--- a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderChunkIdsPlugin.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface OccurrenceOrderChunkIdsPluginOptions {
- /**
- * Prioritise initial size over total size
- */
- prioritiseInitial?: boolean;
-}
diff --git a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts b/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts
deleted file mode 100644
index c29e0e9..0000000
--- a/node_modules/webpack/declarations/plugins/optimize/OccurrenceOrderModuleIdsPlugin.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-/**
- * This file was automatically generated.
- * DO NOT MODIFY BY HAND.
- * Run `yarn special-lint-fix` to update
- */
-
-export interface OccurrenceOrderModuleIdsPluginOptions {
- /**
- * Prioritise initial size over total size
- */
- prioritiseInitial?: boolean;
-}