@unocss/config
Advanced tools
Comparing version 0.61.3 to 0.61.4
@@ -6,3 +6,11 @@ import { UserConfig, UserConfigDefaults } from '@unocss/core'; | ||
declare function loadConfig<U extends UserConfig>(cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults): Promise<LoadConfigResult<U>>; | ||
/** | ||
* Create a factory function that returns a config loader that recovers from errors. | ||
* | ||
* When it fails to load the config, it will return the last successfully loaded config. | ||
* | ||
* Mainly used for dev-time where users might have a broken config in between changes. | ||
*/ | ||
declare function createRecoveryConfigLoader<U extends UserConfig>(): (cwd?: string, configOrPath?: string | U, extraConfigSources?: LoadConfigSource[], defaults?: UserConfigDefaults) => Promise<LoadConfigResult<U>>; | ||
export { loadConfig }; | ||
export { createRecoveryConfigLoader, loadConfig }; |
{ | ||
"name": "@unocss/config", | ||
"type": "module", | ||
"version": "0.61.3", | ||
"version": "0.61.4", | ||
"description": "Config loader for UnoCSS", | ||
@@ -37,3 +37,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"unconfig": "^0.3.13", | ||
"@unocss/core": "0.61.3" | ||
"@unocss/core": "0.61.4" | ||
}, | ||
@@ -40,0 +40,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5779
81
+ Added@unocss/core@0.61.4(transitive)
- Removed@unocss/core@0.61.3(transitive)
Updated@unocss/core@0.61.4