Properties
getAssetPath
getAssetPath: ((path?, options?) => string)
Type declaration
-
- (path?, options?): string
-
Parameters
-
Optional
path: any
-
Optional
options: any
Returns string
getAssetPathWithInfo
getAssetPathWithInfo: ((path?,
options?) => { info: AssetInfo; path: string; })
Type declaration
-
- (path?, options?): {
info: AssetInfo;
path: string;
}
-
Parameters
-
Optional
path: any
-
Optional
options: any
Returns {
info: AssetInfo;
path: string;
}
getPublicPath
getPublicPath: ((options) => string)
Type declaration
-
- (options): string
-
Returns string
hooks
hooks: Readonly<{ afterStartup: { tap: (() => never); }; assetPath: { call: ((filename?,
options?) => string); tap: ((options?,
fn?) => void); }; beforeStartup: { tap: (() => never); }; bootstrap: SyncWaterfallHook<[string, Chunk, string, ModuleTemplate, DependencyTemplates], UnsetAdditionalOptions>; globalHash: { tap: (() => void); }; globalHashPaths: { tap: (() => void); }; hash: { tap: ((options?,
fn?) => void); }; hashForChunk: { tap: ((options?,
fn?) => void); }; hotBootstrap: { tap: (() => never); }; localVars: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>; moduleObj: { tap: (() => never); }; modules: { tap: (() => never); }; render: { tap: ((options?,
fn?) => void); }; renderManifest: { tap: ((options?,
fn?) => void); }; renderWithEntry: { tap: ((options?,
fn?) => void); }; require: { tap: ((options?,
fn?) => void); }; requireEnsure: SyncWaterfallHook<[string, Chunk, string, string], UnsetAdditionalOptions>; requireExtensions: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>; startup: { tap: (() => never); }; get jsonpScript(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>; get linkPrefetch(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>; get linkPreload(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>; }>
Type declaration
-
afterStartup: {
tap: (() => never);
}
-
assetPath: {
call: ((filename?, options?) => string);
tap: ((options?, fn?) => void);
}
-
call: ((filename?, options?) => string)
-
- (filename?, options?): string
-
Parameters
-
Optional
filename: any
-
Optional
options: any
Returns string
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
beforeStartup: {
tap: (() => never);
}
-
-
globalHash: {
tap: (() => void);
}
-
globalHashPaths: {
tap: (() => void);
}
-
hash: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
hashForChunk: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
hotBootstrap: {
tap: (() => never);
}
-
-
moduleObj: {
tap: (() => never);
}
-
modules: {
tap: (() => never);
}
-
render: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
renderManifest: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
renderWithEntry: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
require: {
tap: ((options?, fn?) => void);
}
-
tap: ((options?, fn?) => void)
-
- (options?, fn?): void
-
Parameters
-
Optional
options: any
-
Optional
fn: any
Returns void
-
-
-
startup: {
tap: (() => never);
}
-
-
-
renderCurrentHashCode
renderCurrentHashCode: ((hash, length?) => string)
Type declaration
-
- (hash, length?): string
-
Parameters
-
hash: string
-
Optional
length: number
Returns string