@unocss/core 0.45.15 → 0.45.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -129,7 +129,7 @@ declare class BetterMap<K, V> extends Map<K, V> {
|
|
|
129
129
|
map<R>(mapFn: (value: V, key: K) => R): R[];
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
declare function withLayer<T>(layer: string, rules: Rule<T>[]): Rule<T>[];
|
|
132
|
+
declare function withLayer<T extends {}>(layer: string, rules: Rule<T>[]): Rule<T>[];
|
|
133
133
|
|
|
134
134
|
declare const regexClassGroup: RegExp;
|
|
135
135
|
declare function expandVariantGroup(str: string, seperators?: string[], depth?: number): string;
|
|
@@ -621,6 +621,7 @@ interface UnocssPluginContext<Config extends UserConfig = UserConfig> {
|
|
|
621
621
|
onInvalidate: (fn: () => void) => void;
|
|
622
622
|
root: string;
|
|
623
623
|
updateRoot: (root: string) => Promise<LoadConfigResult<Config>>;
|
|
624
|
+
getConfigFileList: () => string[];
|
|
624
625
|
}
|
|
625
626
|
interface SourceMap {
|
|
626
627
|
file?: string;
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/core",
|
|
3
|
-
"version": "0.45.
|
|
3
|
+
"version": "0.45.18",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"magic-string": "^0.26.2",
|
|
41
|
-
"unconfig": "^0.3.
|
|
41
|
+
"unconfig": "^0.3.6"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "unbuild",
|