katoikia-app/web-ui/web-react/node_modules/webpack/declarations/plugins/IgnorePlugin.d.ts

28 lines
582 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
/**
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` 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 context
*/
checkContext?: (context: string) => boolean;
/**
* A filter function for resource and context
*/
checkResource?: (resource: string, context: string) => boolean;
};