fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
37
node_modules/@fullhuman/postcss-purgecss/lib/postcss-purgecss.d.ts
generated
vendored
Normal file
37
node_modules/@fullhuman/postcss-purgecss/lib/postcss-purgecss.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
import * as postcss from "postcss";
|
||||
type StringRegExpArray = Array<RegExp | string>;
|
||||
type ComplexSafelist = {
|
||||
standard?: StringRegExpArray;
|
||||
deep?: RegExp[];
|
||||
greedy?: RegExp[];
|
||||
variables?: StringRegExpArray;
|
||||
keyframes?: StringRegExpArray;
|
||||
};
|
||||
type UserDefinedSafelist = StringRegExpArray | ComplexSafelist;
|
||||
interface RawContent$0<T = string> {
|
||||
extension: string;
|
||||
raw: T;
|
||||
}
|
||||
type ExtractorFunction$0<T = string> = (content: T) => string[];
|
||||
interface Extractors$0 {
|
||||
extensions: string[];
|
||||
extractor: ExtractorFunction$0;
|
||||
}
|
||||
interface UserDefinedOptions$0 {
|
||||
content?: Array<string | RawContent$0>;
|
||||
contentFunction?: (sourceFile: string) => Array<string | RawContent$0>;
|
||||
defaultExtractor?: ExtractorFunction$0;
|
||||
extractors?: Array<Extractors$0>;
|
||||
fontFace?: boolean;
|
||||
keyframes?: boolean;
|
||||
output?: string;
|
||||
rejected?: boolean;
|
||||
stdin?: boolean;
|
||||
stdout?: boolean;
|
||||
variables?: boolean;
|
||||
safelist?: UserDefinedSafelist;
|
||||
blocklist?: StringRegExpArray;
|
||||
skippedContentGlobs?: Array<string>;
|
||||
}
|
||||
declare const purgeCSSPlugin: postcss.PluginCreator<UserDefinedOptions$0>;
|
||||
export { purgeCSSPlugin as default };
|
Loading…
Add table
Add a link
Reference in a new issue