Hierarchy

  • DeterministicModuleIdsPlugin

Constructors

Properties

Methods

Constructors

  • Parameters

    • Optional options: {
          context?: string;
          failOnConflict?: boolean;
          fixedLength?: boolean;
          maxLength?: number;
          salt?: number;
          test?: ((arg0) => boolean);
      }
      • Optional context?: string

        context relative to which module identifiers are computed

      • Optional failOnConflict?: boolean

        throw an error when id conflicts occur (instead of rehashing)

      • Optional fixedLength?: boolean

        do not increase the maxLength to find an optimal id space size

      • Optional maxLength?: number

        maximum id length in digits (used as starting point)

      • Optional salt?: number

        hash salt for ids

      • Optional test?: ((arg0) => boolean)
          • (arg0): boolean
          • selector function for modules

            Parameters

            Returns boolean

    Returns DeterministicModuleIdsPlugin

Properties

options: {
    context?: string;
    failOnConflict?: boolean;
    fixedLength?: boolean;
    maxLength?: number;
    salt?: number;
    test?: ((arg0) => boolean);
}

Type declaration

  • Optional context?: string

    context relative to which module identifiers are computed

  • Optional failOnConflict?: boolean

    throw an error when id conflicts occur (instead of rehashing)

  • Optional fixedLength?: boolean

    do not increase the maxLength to find an optimal id space size

  • Optional maxLength?: number

    maximum id length in digits (used as starting point)

  • Optional salt?: number

    hash salt for ids

  • Optional test?: ((arg0) => boolean)
      • (arg0): boolean
      • selector function for modules

        Parameters

        Returns boolean

Methods

  • Apply the plugin

    Parameters

    Returns void

Generated using TypeDoc