id int64 0 3.78k | code stringlengths 13 37.9k | declarations stringlengths 16 64.6k |
|---|---|---|
3,600 | constructor(options?: OccurrenceChunkIdsPluginOptions) | interface OccurrenceChunkIdsPluginOptions {
/**
* Prioritise initial size over total size.
*/
prioritiseInitial?: boolean;
} |
3,601 | constructor(options?: OccurrenceModuleIdsPluginOptions) | interface OccurrenceModuleIdsPluginOptions {
/**
* Prioritise initial size over total size.
*/
prioritiseInitial?: boolean;
} |
3,602 | constructor(options?: OccurrenceModuleIdsPluginOptions) | interface OccurrenceModuleIdsPluginOptions {
/**
* Prioritise initial size over total size.
*/
prioritiseInitial?: boolean;
} |
3,603 | constructor(options?: ProfilingPluginOptions) | interface ProfilingPluginOptions {
/**
* Path to the output file e.g. `path.resolve(__dirname, 'profiling/events.json')`. Defaults to `events.json`.
*/
outputPath?: string;
} |
3,604 | constructor(options?: ProfilingPluginOptions) | interface ProfilingPluginOptions {
/**
* Path to the output file e.g. `path.resolve(__dirname, 'profiling/events.json')`. Defaults to `events.json`.
*/
outputPath?: string;
} |
3,605 | constructor(options?: ProgressPluginArgument) | type ProgressPluginArgument =
| ProgressPluginOptions
| ((percentage: number, msg: string, ...args: string[]) => void); |
3,606 | constructor(options?: ProgressPluginArgument) | type ProgressPluginArgument = ProgressPluginOptions | HandlerFunction; |
3,607 | static getReporter(
compiler: Compiler
): (p: number, ...args: string[]) => void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,608 | constructor(options: ProvideSharedPluginOptions) | interface ProvideSharedPluginOptions {
/**
* Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.
*/
provides: Provides;
/**
* Share scope name used for all provided modules (defaul... |
3,609 | constructor(options: ProvideSharedPluginOptions) | interface ProvideSharedPluginOptions {
/**
* Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.
*/
provides: Provides;
/**
* Share scope name used for all provided modules (default... |
3,610 | static getCompilationHooks(
compilation: Compilation
): CompilationHooksRealContentHashPlugin | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,611 | (arg0: ResolveRequest) => void | type ResolveRequest = BaseResolveRequest & Partial<ParsedIdentifier>; |
3,612 | (arg0: ResolveRequest) => boolean | type ResolveRequest = BaseResolveRequest & Partial<ParsedIdentifier>; |
3,613 | (request: ResolveRequest) => boolean | type ResolveRequest = BaseResolveRequest & Partial<ParsedIdentifier>; |
3,614 | attach(compilation: Compilation, chunk: Chunk, chunkGraph?: ChunkGraph): void | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,615 | attach(compilation: Compilation, chunk: Chunk, chunkGraph?: ChunkGraph): void | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,616 | attach(compilation: Compilation, chunk: Chunk, chunkGraph?: ChunkGraph): void | class ChunkGraph {
constructor(moduleGraph: ModuleGraph, hashFunction?: string | typeof Hash);
moduleGraph: ModuleGraph;
connectChunkAndModule(chunk: Chunk, module: Module): void;
disconnectChunkAndModule(chunk: Chunk, module: Module): void;
disconnectChunk(chunk: Chunk): void;
attachModules(chunk: Chunk, modules... |
3,617 | get(runtime: RuntimeSpec): T | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,618 | has(runtime: RuntimeSpec): boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,619 | exec(
parser: JavascriptParser,
valueCacheVersions: Map<string, string | Set<string>>,
key: string
): CodeValuePrimitive | class JavascriptParser extends Parser {
constructor(sourceType?: "module" | "auto" | "script");
hooks: Readonly<{
evaluateTypeof: HookMap<
SyncBailHook<
[UnaryExpression],
undefined | null | BasicEvaluatedExpression
>
>;
evaluate: HookMap<
SyncBailHook<[Expression], undefined | null | BasicEval... |
3,620 | constructor(options: SharePluginOptions) | interface SharePluginOptions {
/**
* Share scope name used for all shared modules (defaults to 'default').
*/
shareScope?: string;
/**
* Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
*/
shared: Shared;
} |
3,621 | constructor(options: SharePluginOptions) | interface SharePluginOptions {
/**
* Share scope name used for all shared modules (defaults to 'default').
*/
shareScope?: string;
/**
* Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
*/
shared: Shared;
} |
3,622 | sourceAndMap(options?: MapOptions): { source: string | Buffer; map: Object } | type MapOptions = { columns?: boolean; module?: boolean }; |
3,623 | sourceAndMap(options?: MapOptions): { source: string | Buffer; map: Object } | interface MapOptions {
columns?: boolean;
module?: boolean;
} |
3,624 | updateHash(hash: Hash): void | class Hash {
constructor();
/**
* Update hash {@link https://nodejs.org/api/crypto.html#crypto_hash_update_data_inputencoding}
*/
update(data: string | Buffer, inputEncoding?: string): Hash;
/**
* Calculates the digest {@link https://nodejs.org/api/crypto.html#crypto_hash_digest_encoding}
*/
digest(encod... |
3,625 | constructor(options?: SourceMapDevToolPluginOptions) | 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?: null | string | false;
/**
* Indicates whether column mappings should be used (de... |
3,626 | constructor(options?: SourceMapDevToolPluginOptions) | 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 (d... |
3,627 | (
module: Module,
context: CacheGroupsContext
) => CacheGroupSource[] | interface Module {
hot: webpack.Hot;
} |
3,628 | (
module: Module,
context: CacheGroupsContext
) => CacheGroupSource[] | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,629 | (
module: Module,
context: CacheGroupsContext
) => CacheGroupSource[] | interface CacheGroupsContext {
moduleGraph: ModuleGraph;
chunkGraph: ChunkGraph;
} |
3,630 | constructor(options?: OptimizationSplitChunksOptions) | interface OptimizationSplitChunksOptions {
/**
* Sets the name delimiter for created chunks.
*/
automaticNameDelimiter?: string;
/**
* Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: 'default', 'defaultVendors').
*/
cacheGroups?... |
3,631 | constructor(options?: OptimizationSplitChunksOptions) | interface OptimizationSplitChunksOptions {
/**
* Sets the name delimiter for created chunks.
*/
automaticNameDelimiter?: string;
/**
* Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: 'default', 'defaultVendors').
*/
cacheGroups?:... |
3,632 | constructor(compilation: Compilation) | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,633 | (warning: StatsError, value: string) => boolean | type StatsError = KnownStatsError & Record<string, any>; |
3,634 | static renderChunkModules(
renderContext: ChunkRenderContext,
modules: Module[],
renderModule: (arg0: Module) => Source,
prefix?: string
): Source | interface Module {
hot: webpack.Hot;
} |
3,635 | static renderChunkModules(
renderContext: ChunkRenderContext,
modules: Module[],
renderModule: (arg0: Module) => Source,
prefix?: string
): Source | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,636 | static renderChunkModules(
renderContext: ChunkRenderContext,
modules: Module[],
renderModule: (arg0: Module) => Source,
prefix?: string
): Source | interface ChunkRenderContext {
/**
* the chunk
*/
chunk: Chunk;
/**
* the dependency templates
*/
dependencyTemplates: DependencyTemplates;
/**
* the runtime template
*/
runtimeTemplate: RuntimeTemplate;
/**
* the module graph
*/
moduleGraph: ModuleGraph;
/**
* the chunk graph
*/
chunk... |
3,637 | (arg0: Module) => Source | interface Module {
hot: webpack.Hot;
} |
3,638 | (arg0: Module) => Source | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,639 | constructor(options: WatchIgnorePluginOptions) | interface WatchIgnorePluginOptions {
/**
* A list of RegExps or absolute paths to directories or files that should be ignored.
*/
paths: (string | RegExp)[];
} |
3,640 | constructor(options: WatchIgnorePluginOptions) | interface WatchIgnorePluginOptions {
/**
* A list of RegExps or absolute paths to directories or files that should be ignored.
*/
paths: (RegExp | string)[];
} |
3,641 | (
warning: WebpackError,
compilation: Compilation
) => boolean | class WebpackError extends Error {
/**
* Creates an instance of WebpackError.
*/
constructor(message?: string);
details: any;
module: Module;
loc: DependencyLocation;
hideStack: boolean;
chunk: Chunk;
file: string;
serialize(__0: { write: any }): void;
deserialize(__0: { read: any }): void;
/**
* Crea... |
3,642 | (
warning: WebpackError,
compilation: Compilation
) => boolean | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,643 | (compiler: Compiler) => void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,644 | function exports(
options: Configuration,
callback?: CallbackWebpack<Stats>
): Compiler; | interface Configuration {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: false | { [index: string]: any };
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: boolean;
/**
* Cache generated modules and chunks to improve performance f... |
3,645 | (options: Configuration, callback?: CallbackWebpack<Stats>): Compiler | interface Configuration {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: false | { [index: string]: any };
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: boolean;
/**
* Cache generated modules and chunks to improve performance f... |
3,646 | (
config: Configuration
) => WebpackOptionsNormalized | interface Configuration {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: false | { [index: string]: any };
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: boolean;
/**
* Cache generated modules and chunks to improve performance f... |
3,647 | (
options: WebpackOptionsNormalized
) => void | interface WebpackOptionsNormalized {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: false | { [index: string]: any };
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: boolean;
/**
* Cache generated modules and chunks to improve pe... |
3,648 | (
options: WebpackOptionsNormalized
) => void | interface WebpackOptionsNormalized {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: Amd;
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: Bail;
/**
* Cache generated modules and chunks to improve performance for multiple incremental... |
3,649 | (parserState: ParserState) => void | type ParserState = Record<string, any> & ParserStateBase; |
3,650 | (parserState: ParserState) => boolean | type ParserState = Record<string, any> & ParserStateBase; |
3,651 | (
state: ParserState,
symbol: null | TopLevelSymbol,
usage: string | true | TopLevelSymbol
) => void | type ParserState = Record<string, any> & ParserStateBase; |
3,652 | (
parser: JavascriptParser,
name: string,
usage: string | true | TopLevelSymbol
) => void | class JavascriptParser extends Parser {
constructor(sourceType?: "module" | "auto" | "script");
hooks: Readonly<{
evaluateTypeof: HookMap<
SyncBailHook<
[UnaryExpression],
undefined | null | BasicEvaluatedExpression
>
>;
evaluate: HookMap<
SyncBailHook<[Expression], undefined | null | BasicEval... |
3,653 | (state: ParserState) => void | type ParserState = Record<string, any> & ParserStateBase; |
3,654 | (
state: ParserState,
onUsageCallback: (arg0?: boolean | Set<string>) => void
) => void | type ParserState = Record<string, any> & ParserStateBase; |
3,655 | (
state: ParserState,
symbol: TopLevelSymbol
) => void | type ParserState = Record<string, any> & ParserStateBase; |
3,656 | (
state: ParserState,
symbol: TopLevelSymbol
) => void | class TopLevelSymbol {
constructor(name: string);
name: string;
} |
3,657 | (
state: ParserState
) => void | TopLevelSymbol | type ParserState = Record<string, any> & ParserStateBase; |
3,658 | (
parser: JavascriptParser,
name: string
) => TopLevelSymbol | class JavascriptParser extends Parser {
constructor(sourceType?: "module" | "auto" | "script");
hooks: Readonly<{
evaluateTypeof: HookMap<
SyncBailHook<
[UnaryExpression],
undefined | null | BasicEvaluatedExpression
>
>;
evaluate: HookMap<
SyncBailHook<[Expression], undefined | null | BasicEval... |
3,659 | (
dependency: Dependency,
usedByExports: boolean | Set<string>,
moduleGraph: ModuleGraph,
runtime: RuntimeSpec
) => boolean | class Dependency {
constructor();
weak: boolean;
optional: boolean;
get type(): string;
get category(): string;
loc: DependencyLocation;
setLoc(
startLine?: any,
startColumn?: any,
endLine?: any,
endColumn?: any
): void;
getContext(): undefined | string;
getResourceIdentifier(): null | string;
couldA... |
3,660 | (
dependency: Dependency,
usedByExports: boolean | Set<string>,
moduleGraph: ModuleGraph,
runtime: RuntimeSpec
) => boolean | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,661 | (
dependency: Dependency,
usedByExports: boolean | Set<string>,
moduleGraph: ModuleGraph,
runtime: RuntimeSpec
) => boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,662 | (
dependency: Dependency,
usedByExports: boolean | Set<string>,
moduleGraph: ModuleGraph
) =>
| null
| false
| ((arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState) | class Dependency {
constructor();
weak: boolean;
optional: boolean;
get type(): string;
get category(): string;
loc: DependencyLocation;
setLoc(
startLine?: any,
startColumn?: any,
endLine?: any,
endColumn?: any
): void;
getContext(): undefined | string;
getResourceIdentifier(): null | string;
couldA... |
3,663 | (
dependency: Dependency,
usedByExports: boolean | Set<string>,
moduleGraph: ModuleGraph
) =>
| null
| false
| ((arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState) | class ModuleGraph {
constructor();
setParents(
dependency: Dependency,
block: DependenciesBlock,
module: Module,
indexInBlock?: number
): void;
getParentModule(dependency: Dependency): Module;
getParentBlock(dependency: Dependency): DependenciesBlock;
getParentBlockIndex(dependency: Dependency): number;
... |
3,664 | (a: Chunk, b: Chunk) => 0 | 1 | -1 | class Chunk {
constructor(name?: string, backCompat?: boolean);
id: null | string | number;
ids: null | (string | number)[];
debugId: number;
name: string;
idNameHints: SortableSet<string>;
preventIntegration: boolean;
filenameTemplate:
| null
| string
| ((arg0: PathData, arg1?: AssetInfo) => string);
cs... |
3,665 | (
a: Module,
b: Module
) => 0 | 1 | -1 | interface Module {
hot: webpack.Hot;
} |
3,666 | (
a: Module,
b: Module
) => 0 | 1 | -1 | class Module extends DependenciesBlock {
constructor(type: string, context?: string, layer?: string);
type: string;
context: null | string;
layer: null | string;
needId: boolean;
debugId: number;
resolveOptions: ResolveOptionsWebpackOptions;
factoryMeta?: object;
useSourceMap: boolean;
useSimpleSourceMap: boo... |
3,667 | (
chunkGraph: ChunkGraph
) => Comparator<Chunk> | class ChunkGraph {
constructor(moduleGraph: ModuleGraph, hashFunction?: string | typeof Hash);
moduleGraph: ModuleGraph;
connectChunkAndModule(chunk: Chunk, module: Module): void;
disconnectChunkAndModule(chunk: Chunk, module: Module): void;
disconnectChunk(chunk: Chunk): void;
attachModules(chunk: Chunk, modules... |
3,668 | (
a: DependencyLocation,
b: DependencyLocation
) => 0 | 1 | -1 | type DependencyLocation = SyntheticDependencyLocation | RealDependencyLocation; |
3,669 | (
compilation: Compilation,
name: string,
options?: EntryOptions
) => RuntimeSpec | class Compilation {
/**
* Creates an instance of Compilation.
*/
constructor(compiler: Compiler, params: CompilationParams);
hooks: Readonly<{
buildModule: SyncHook<[Module]>;
rebuildModule: SyncHook<[Module]>;
failedModule: SyncHook<[Module, WebpackError]>;
succeedModule: SyncHook<[Module]>;
stillVali... |
3,670 | (
compilation: Compilation,
name: string,
options?: EntryOptions
) => RuntimeSpec | type EntryOptions = { name?: string } & Omit<
EntryDescriptionNormalized,
"import"
>; |
3,671 | (
runtime: RuntimeSpec,
fn: (arg0: string) => void,
deterministicOrder?: boolean
) => void | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,672 | (runtime: RuntimeSpec) => string | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,673 | (
runtimeCondition: RuntimeCondition
) => string | type RuntimeCondition = undefined | string | boolean | SortableSet<string>; |
3,674 | (a: RuntimeSpec, b: RuntimeSpec) => boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,675 | (a: RuntimeSpec, b: RuntimeSpec) => 0 | 1 | -1 | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,676 | (a: RuntimeSpec, b: RuntimeSpec) => RuntimeSpec | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,677 | (
a: RuntimeCondition,
b: RuntimeCondition,
runtime: RuntimeSpec
) => RuntimeCondition | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,678 | (
a: RuntimeCondition,
b: RuntimeCondition,
runtime: RuntimeSpec
) => RuntimeCondition | type RuntimeCondition = undefined | string | boolean | SortableSet<string>; |
3,679 | (
a: RuntimeSpec,
b: RuntimeSpec
) => RuntimeSpec | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,680 | (
runtime: RuntimeSpec,
filter: (arg0: RuntimeSpec) => boolean
) => undefined | string | boolean | SortableSet<string> | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,681 | (arg0: RuntimeSpec) => boolean | type RuntimeSpec = undefined | string | SortableSet<string>; |
3,682 | (
Constructor: Constructor,
request: string,
name: string,
serializer: ObjectSerializer
) => void | interface ObjectSerializer {
serialize: (arg0: any, arg1: ObjectSerializerContext) => void;
deserialize: (arg0: ObjectDeserializerContext) => any;
} |
3,683 | (
Constructor: Constructor,
request: string,
name: string,
serializer: ObjectSerializer
) => void | interface Constructor {
new (...params: any[]): any;
} |
3,684 | (Constructor: Constructor) => void | interface Constructor {
new (...params: any[]): any;
} |
3,685 | (
this: Compiler,
compiler: Compiler
) => void | class Compiler {
constructor(context: string, options?: WebpackOptionsNormalized);
hooks: Readonly<{
initialize: SyncHook<[]>;
shouldEmit: SyncBailHook<[Compilation], boolean>;
done: AsyncSeriesHook<[Stats]>;
afterDone: SyncHook<[Stats]>;
additionalPass: AsyncSeriesHook<[]>;
beforeRun: AsyncSeriesHook<[Co... |
3,686 | getOptions(schema: Schema): OptionsType | type Schema = Parameters<typeof validate>[0]; |
3,687 | getResolve(
options?: ResolveOptionsWithDependencyType
): ((context: string, request: string, callback: ResolveCallback) => void) &
((context: string, request: string) => Promise<string>) | type ResolveOptionsWithDependencyType = ResolveOptionsWebpackOptions & {
dependencyType?: string;
resolveToContext?: boolean;
}; |
3,688 | (
data: ExternalItemFunctionData,
callback: (err?: Error, result?: ExternalItemValue) => void
) => void | interface ExternalItemFunctionData {
/**
* The directory in which the request is placed.
*/
context?: string;
/**
* Contextual information.
*/
contextInfo?: ModuleFactoryCreateDataContextInfo;
/**
* The category of the referencing dependencies.
*/
dependencyType?: string;
/**
* Get a resolve fun... |
3,689 | (
data: ExternalItemFunctionData,
callback: (err?: Error, result?: ExternalItemValue) => void
) => void | interface ExternalItemFunctionData {
/**
* The directory in which the request is placed.
*/
context?: string;
/**
* Contextual information.
*/
contextInfo?: import |
3,690 | (
data: ExternalItemFunctionData,
callback: (err?: Error, result?: ExternalItemValue) => void
) => void | type ExternalItemValue = string | boolean | string[] | { [index: string]: any }; |
3,691 | (
data: ExternalItemFunctionData,
callback: (err?: Error, result?: ExternalItemValue) => void
) => void | type ExternalItemValue =
| string[]
| boolean
| string
| {
[k: string]: any;
}; |
3,692 | (err?: Error, result?: ExternalItemValue) => void | type ExternalItemValue = string | boolean | string[] | { [index: string]: any }; |
3,693 | (err?: Error, result?: ExternalItemValue) => void | type ExternalItemValue =
| string[]
| boolean
| string
| {
[k: string]: any;
}; |
3,694 | (
request: import("enhanced-resolve").ResolveRequest
) => boolean | type ResolveRequest = BaseResolveRequest & Partial<ParsedIdentifier>; |
3,695 | (
err?: Error,
api?: import("../lib/hmr/LazyCompilationPlugin").BackendApi
) => void | interface BackendApi {
dispose: (arg0?: Error) => void;
module: (arg0: Module) => { client: string; data: string; active: boolean };
} |
3,696 | (options: import("../declarations/WebpackOptions").WebpackOptions) => boolean | interface WebpackOptions {
/**
* Set the value of `require.amd` and `define.amd`. Or disable AMD support.
*/
amd?: Amd;
/**
* Report the first error as a hard error instead of tolerating it.
*/
bail?: Bail;
/**
* Cache generated modules and chunks to improve performance for multiple incremental builds.
... |
3,697 | (options: import("../../declarations/plugins/IgnorePlugin").IgnorePluginOptions) => boolean | 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 resource and context.
*/
checkResource: (resource: str... |
3,698 | (options: import("../../declarations/plugins/IgnorePlugin").IgnorePluginOptions) => boolean | 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 resource and context.
*/
checkResource: (resource: str... |
3,699 | (options: import("../../declarations/plugins/DllReferencePlugin").DllReferencePluginOptions) => boolean | type DllReferencePluginOptions =
| {
/**
* Context of requests in the manifest (or content property) as absolute path.
*/
context?: string;
/**
* Extensions used to resolve modules in the dll bundle (only used when using 'scope').
*/
extensions?: string[];
/**
* An object containing ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.