@unocss/cli 0.63.4 → 0.63.6
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/cli.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import process from 'node:process';
|
|
|
2
2
|
import { loadConfig } from '@unocss/config';
|
|
3
3
|
import { toArray } from '@unocss/core';
|
|
4
4
|
import { cac } from 'cac';
|
|
5
|
-
import { b as build, v as version, h as handleError } from './shared/cli.
|
|
5
|
+
import { b as build, v as version, h as handleError } from './shared/cli.Dsb9xspu.mjs';
|
|
6
6
|
import 'node:fs';
|
|
7
7
|
import 'colorette';
|
|
8
8
|
import 'consola';
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import 'consola';
|
|
|
6
6
|
import 'pathe';
|
|
7
7
|
import 'perfect-debounce';
|
|
8
8
|
import 'tinyglobby';
|
|
9
|
-
export { b as build, r as resolveOptions } from './shared/cli.
|
|
9
|
+
export { b as build, r as resolveOptions } from './shared/cli.Dsb9xspu.mjs';
|
|
10
10
|
import '@rollup/pluginutils';
|
|
11
11
|
import '@unocss/config';
|
|
12
12
|
import '@ampproject/remapping';
|
|
@@ -76,15 +76,6 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
|
|
|
76
76
|
await Promise.all(modules.map((code, id) => uno.applyExtractors(code.replace(SKIP_COMMENT_RE, ""), id, tokens)));
|
|
77
77
|
invalidate();
|
|
78
78
|
dispatchReload();
|
|
79
|
-
const presets = /* @__PURE__ */ new Set();
|
|
80
|
-
uno.config.presets.forEach((i) => {
|
|
81
|
-
if (!i.name)
|
|
82
|
-
return;
|
|
83
|
-
if (presets.has(i.name))
|
|
84
|
-
console.warn(`[unocss] duplication of preset ${i.name} found, there might be something wrong with your config.`);
|
|
85
|
-
else
|
|
86
|
-
presets.add(i.name);
|
|
87
|
-
});
|
|
88
79
|
return result;
|
|
89
80
|
}
|
|
90
81
|
async function updateRoot(newRoot) {
|
|
@@ -214,7 +205,7 @@ async function applyTransformers(ctx, original, id, enforce = "default") {
|
|
|
214
205
|
}
|
|
215
206
|
}
|
|
216
207
|
|
|
217
|
-
const version = "0.63.
|
|
208
|
+
const version = "0.63.6";
|
|
218
209
|
|
|
219
210
|
const defaultConfig = {
|
|
220
211
|
envMode: "build",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.63.
|
|
4
|
+
"version": "0.63.6",
|
|
5
5
|
"description": "CLI for UnoCSS",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Johann Schopplich",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"pathe": "^1.1.2",
|
|
51
51
|
"perfect-debounce": "^1.0.0",
|
|
52
52
|
"tinyglobby": "^0.2.9",
|
|
53
|
-
"@unocss/core": "0.63.
|
|
54
|
-
"@unocss/preset-uno": "0.63.
|
|
55
|
-
"@unocss/config": "0.63.
|
|
53
|
+
"@unocss/core": "0.63.6",
|
|
54
|
+
"@unocss/preset-uno": "0.63.6",
|
|
55
|
+
"@unocss/config": "0.63.6"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "unbuild",
|