webpack/declarations/plugins/IgnorePlugin.d.ts

24 lines
481 B
TypeScript
Raw Permalink Normal View History

/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
2025-05-02 00:16:09 +08:00
* Run `yarn fix:special` to update
2018-05-08 12:04:57 +08:00
*/
2018-09-20 16:13:38 +08:00
export type IgnorePluginOptions =
2018-05-08 12:04:57 +08:00
| {
/**
* A RegExp to test the context (directory) against.
2018-05-08 12:04:57 +08:00
*/
2018-09-21 14:39:15 +08:00
contextRegExp?: RegExp;
2018-05-08 12:04:57 +08:00
/**
* A RegExp to test the request against.
2018-05-08 12:04:57 +08:00
*/
2021-09-11 18:47:28 +08:00
resourceRegExp: RegExp;
2018-05-08 12:04:57 +08:00
}
| {
/**
* A filter function for resource and context.
2018-05-08 12:04:57 +08:00
*/
2025-09-11 08:10:10 +08:00
checkResource: import("../../lib/IgnorePlugin").CheckResourceFn;
2018-05-08 12:04:57 +08:00
};