PluginOptions
For other modules to aggregate the options
interface PluginOptions {
configDeps?: string[];
configFile?: string | false;
content?: ContentOptions;
exclude?: FilterPattern;
extraContent?: ContentOptions;
include?: FilterPattern;
transformers?: SourceCodeTransformer[];
}§Properties
§
content?: ContentOptions
[src]Options for sources to be extracted as utilities usages
Supported sources:
filesystem
- extract from file systemplain
- extract from plain inline textpipeline
- extract from build tools' transformation pipeline, such as Vite and Webpack
The usage extracted from each source will be merged together.
§
exclude?: FilterPattern
[src]Patterns that filter the files NOT being extracted.
§
extraContent?: ContentOptions
[src]§
include?: FilterPattern
[src]Patterns that filter the files being extracted.
§
transformers?: SourceCodeTransformer[]
[src]Custom transformers to the source code