Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MainTemplate

Index

Constructors

Properties

getAssetPath: (path?: any, options?: any) => string

Type declaration

    • (path?: any, options?: any): string
    • Parameters

      • Optional path: any
      • Optional options: any

      Returns string

getAssetPathWithInfo: (path?: any, options?: any) => { info: AssetInfo; path: string }

Type declaration

    • (path?: any, options?: any): { info: AssetInfo; path: string }
    • Parameters

      • Optional path: any
      • Optional options: any

      Returns { info: AssetInfo; path: string }

getPublicPath: (options: object) => string

Type declaration

    • (options: object): string
    • Parameters

      • options: object

      Returns string

hooks: Readonly<{ afterStartup: { tap: any }; assetPath: { call: any; tap: any }; beforeStartup: { tap: any }; bootstrap: SyncWaterfallHook<[string, Chunk, string, ModuleTemplate, DependencyTemplates], UnsetAdditionalOptions>; globalHash: { tap: any }; globalHashPaths: { tap: any }; hash: { tap: any }; hashForChunk: { tap: any }; hotBootstrap: { tap: any }; localVars: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>; moduleObj: { tap: any }; modules: { tap: any }; render: { tap: any }; renderManifest: { tap: any }; renderWithEntry: { tap: any }; require: { tap: any }; requireEnsure: SyncWaterfallHook<[string, Chunk, string, string], UnsetAdditionalOptions>; requireExtensions: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>; startup: { tap: any }; get jsonpScript(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>; get linkPrefetch(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>; get linkPreload(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions> }>
renderCurrentHashCode: (hash: string, length?: number) => string

Type declaration

    • (hash: string, length?: number): string
    • Parameters

      • hash: string
      • Optional length: number

      Returns string

Accessors

  • Returns Output

  • get requireFn(): "__webpack_require__"
  • Returns "__webpack_require__"