webpack/declarations/plugins/IgnorePlugin.d.ts

24 lines
481 B
TypeScript

/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn fix:special` to update
*/
export type IgnorePluginOptions =
| {
/**
* A RegExp to test the context (directory) against.
*/
contextRegExp?: RegExp;
/**
* A RegExp to test the request against.
*/
resourceRegExp: RegExp;
}
| {
/**
* A filter function for resource and context.
*/
checkResource: import("../../lib/IgnorePlugin").CheckResourceFn;
};