@windicss/plugin-utils
Advanced tools
Comparing version 0.9.6 to 0.9.7
@@ -32,7 +32,7 @@ import { Config } from 'windicss/types/interfaces'; | ||
*/ | ||
safelist?: string | string[]; | ||
safelist?: string | (string | string[])[]; | ||
/** | ||
* Class names to be always excluded. | ||
*/ | ||
blocklist?: string | string[]; | ||
blocklist?: string | (string | string[])[]; | ||
/** | ||
@@ -51,7 +51,7 @@ * Enabled windicss preflight (a.k.a TailwindCSS style reset) | ||
*/ | ||
safelist?: string | string[]; | ||
safelist?: string | (string | string[])[]; | ||
/** | ||
* Blocklist to always excluded | ||
*/ | ||
blocklist?: string | string[]; | ||
blocklist?: string | (string | string[])[]; | ||
/** | ||
@@ -98,3 +98,3 @@ * Alias for resolving preflight | ||
*/ | ||
dirs?: string[]; | ||
dirs?: string | string[]; | ||
/** | ||
@@ -105,3 +105,3 @@ * File extension to search for classnames | ||
*/ | ||
fileExtensions?: string[]; | ||
fileExtensions?: string | string[]; | ||
/** | ||
@@ -112,3 +112,3 @@ * Exclude globs | ||
*/ | ||
exclude?: string[]; | ||
exclude?: string | string[]; | ||
/** | ||
@@ -119,3 +119,3 @@ * Include globs | ||
*/ | ||
include?: string[]; | ||
include?: string | string[]; | ||
/** | ||
@@ -218,2 +218,3 @@ * Transformers to apply before doing extraction | ||
declare function toArray<T>(v: T | T[]): T[]; | ||
declare function flattenArray<T>(v: T | (T | T[])[]): T[]; | ||
declare function slash(str: string): string; | ||
@@ -266,2 +267,2 @@ declare function kebabCase(str: string): string; | ||
export { CompletionsResult, PugTransformer, ResolvedOptions, TagNames, Transformer, TransformerFunction, TransformerOptions, UserOptions, WindiPluginUtils, WindiPluginUtilsOptions, configureFiles, createUtils, defaultAlias, defineConfig, exclude, htmlTags, include, kebabCase, preflightTags, resolveOptions, slash, toArray, transformGroups, transformGroupsWithSourcemap }; | ||
export { CompletionsResult, PugTransformer, ResolvedOptions, TagNames, Transformer, TransformerFunction, TransformerOptions, UserOptions, WindiPluginUtils, WindiPluginUtilsOptions, configureFiles, createUtils, defaultAlias, defineConfig, exclude, flattenArray, htmlTags, include, kebabCase, preflightTags, resolveOptions, slash, toArray, transformGroups, transformGroupsWithSourcemap }; |
{ | ||
"name": "@windicss/plugin-utils", | ||
"description": "Common utils for building integrations of Windi CSS", | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4228409
129377