IgnorePluginOptions: {
    contextRegExp?: RegExp;
    resourceRegExp: RegExp;
} | {
    checkResource: ((resource, context) => boolean);
}

Type declaration

  • Optional contextRegExp?: RegExp

    A RegExp to test the context (directory) against.

  • resourceRegExp: RegExp

    A RegExp to test the request against.

Type declaration

  • checkResource: ((resource, context) => boolean)
      • (resource, context): boolean
      • A filter function for resource and context.

        Parameters

        • resource: string
        • context: string

        Returns boolean

Generated using TypeDoc