Class UserscriptPlugin

Hierarchy

  • UserscriptPlugin

Implements

Constructors

Properties

contexts: WeakMap<Compilation, CompilationContext> = ...
features: Feature<unknown>[]
hooks: {
    close: AsyncParallelHook<[Compiler], UnsetAdditionalOptions>;
    headers: AsyncSeriesWaterfallHook<[HeadersProps, WaterfallContext], UnsetAdditionalOptions>;
    init: AsyncParallelHook<[Compiler], UnsetAdditionalOptions>;
    preprocess: AsyncParallelHook<[Compilation, CompilationContext], UnsetAdditionalOptions>;
    process: AsyncParallelHook<[Compilation, CompilationContext], UnsetAdditionalOptions>;
    proxyHeaders: AsyncSeriesWaterfallHook<[HeadersProps, WaterfallContext], UnsetAdditionalOptions>;
    proxyScriptFile: AsyncSeriesWaterfallHook<[string, WaterfallContext], UnsetAdditionalOptions>;
    renderHeaders: AsyncSeriesBailHook<Map<string, HeadersProps>, string, UnsetAdditionalOptions>;
    renderProxyHeaders: AsyncSeriesBailHook<HeadersProps, string, UnsetAdditionalOptions>;
} = ...

Type declaration

  • close: AsyncParallelHook<[Compiler], UnsetAdditionalOptions>
  • headers: AsyncSeriesWaterfallHook<[HeadersProps, WaterfallContext], UnsetAdditionalOptions>
  • init: AsyncParallelHook<[Compiler], UnsetAdditionalOptions>
  • preprocess: AsyncParallelHook<[Compilation, CompilationContext], UnsetAdditionalOptions>
  • process: AsyncParallelHook<[Compilation, CompilationContext], UnsetAdditionalOptions>
  • proxyHeaders: AsyncSeriesWaterfallHook<[HeadersProps, WaterfallContext], UnsetAdditionalOptions>
  • proxyScriptFile: AsyncSeriesWaterfallHook<[string, WaterfallContext], UnsetAdditionalOptions>
  • renderHeaders: AsyncSeriesBailHook<Map<string, HeadersProps>, string, UnsetAdditionalOptions>
  • renderProxyHeaders: AsyncSeriesBailHook<HeadersProps, string, UnsetAdditionalOptions>
name: "UserscriptPlugin" = 'UserscriptPlugin'

Methods

  • Parameters

    • compiler: Compiler

    Returns void

  • Parameters

    • compiler: Compiler

    Returns Promise<void>

  • Parameters

    • compiler: Compiler

    Returns Promise<void>

  • Parameters

    • compilation: Compilation

    Returns Promise<void>

  • Parameters

    • compilation: Compilation

    Returns Promise<void>

Generated using TypeDoc