Hierarchy

  • MainTemplate

Constructors

Properties

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

Type declaration

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

      • Optional path: any
      • Optional options: any

      Returns string

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: ((options) => string)

Type declaration

    • (options): string
    • Parameters

      • options: object

      Returns string

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);
    }
    • tap: (() => never)
        • (): never
        • Returns 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);
    }
    • tap: (() => never)
        • (): never
        • Returns never

  • bootstrap: SyncWaterfallHook<[string, Chunk, string, ModuleTemplate, DependencyTemplates], UnsetAdditionalOptions>
  • globalHash: {
        tap: (() => void);
    }
    • tap: (() => void)
        • (): void
        • Returns void

  • globalHashPaths: {
        tap: (() => void);
    }
    • tap: (() => void)
        • (): void
        • Returns 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);
    }
    • tap: (() => never)
        • (): never
        • Returns never

  • localVars: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>
  • moduleObj: {
        tap: (() => never);
    }
    • tap: (() => never)
        • (): never
        • Returns never

  • modules: {
        tap: (() => never);
    }
    • tap: (() => never)
        • (): never
        • Returns 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

  • requireEnsure: SyncWaterfallHook<[string, Chunk, string, string], UnsetAdditionalOptions>
  • requireExtensions: SyncWaterfallHook<[string, Chunk, string], UnsetAdditionalOptions>
  • startup: {
        tap: (() => never);
    }
    • tap: (() => never)
        • (): never
        • Returns never

  • get jsonpScript(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>
  • get linkPrefetch(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>
  • get linkPreload(): SyncWaterfallHook<[string, Chunk], UnsetAdditionalOptions>
renderCurrentHashCode: ((hash, length?) => string)

Type declaration

    • (hash, length?): string
    • Parameters

      • hash: string
      • Optional length: number

      Returns string

Accessors

  • get outputOptions(): Output
  • Returns Output

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

Generated using TypeDoc