@windicss/plugin-utils
Advanced tools
Comparing version 0.9.7 to 0.9.8
@@ -154,2 +154,11 @@ import { Config } from 'windicss/types/interfaces'; | ||
}) => void; | ||
/** | ||
* Callback when the options are resolved. These are the plugin options and contain the windi config | ||
*/ | ||
onOptionsResolved?: (options: ResolvedOptions) => ResolvedOptions | void; | ||
/** | ||
* Callback when the windi config is resolved. Not to be confused with the options which are the top level way to | ||
* configure the util package | ||
*/ | ||
onConfigResolved?: (config: Config, configFilePath?: string) => Config | void; | ||
} | ||
@@ -207,2 +216,4 @@ interface WindiPluginUtilsOptions { | ||
onGenerated: UserOptions['onGenerated']; | ||
onConfigResolved: UserOptions['onConfigResolved']; | ||
onOptionsResolved: UserOptions['onOptionsResolved']; | ||
} | ||
@@ -209,0 +220,0 @@ declare function resolveOptions(options?: UserOptions | ResolvedOptions): ResolvedOptions; |
{ | ||
"name": "@windicss/plugin-utils", | ||
"description": "Common utils for building integrations of Windi CSS", | ||
"version": "0.9.7", | ||
"version": "0.9.8", | ||
"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
4230007
129404