@unocss/cli 0.47.1 → 0.47.3

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
@@ -1,7 +1,7 @@
1
1
  import { cac } from 'cac';
2
2
  import { loadConfig } from '@unocss/config';
3
3
  import { toArray } from '@unocss/core';
4
- import { b as build, v as version, h as handleError } from './shared/cli.d93ef3a0.mjs';
4
+ import { b as build, v as version, h as handleError } from './shared/cli.65eed9c8.mjs';
5
5
  import 'fs';
6
6
  import 'pathe';
7
7
  import 'fast-glob';
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ import 'consola';
5
5
  import 'colorette';
6
6
  import 'perfect-debounce';
7
7
  import '@unocss/core';
8
- export { b as build, r as resolveOptions } from './shared/cli.d93ef3a0.mjs';
8
+ export { b as build, r as resolveOptions } from './shared/cli.65eed9c8.mjs';
9
9
  import '@rollup/pluginutils';
10
10
  import '@unocss/config';
11
11
  import 'magic-string';
@@ -11,7 +11,7 @@ import MagicString from 'magic-string';
11
11
  import remapping from '@ampproject/remapping';
12
12
  import presetUno from '@unocss/preset-uno';
13
13
 
14
- const version = "0.47.1";
14
+ const version = "0.47.3";
15
15
 
16
16
  const INCLUDE_COMMENT = "@unocss-include";
17
17
  const IGNORE_COMMENT = "@unocss-ignore";
@@ -34,7 +34,7 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
34
34
  const affectedModules = /* @__PURE__ */ new Set();
35
35
  let ready = reloadConfig();
36
36
  async function reloadConfig() {
37
- const result = await loadConfig(root, configOrPath, extraConfigSources);
37
+ const result = await loadConfig(root, configOrPath, extraConfigSources, defaults);
38
38
  resolveConfigResult(result);
39
39
  rawConfig = result.config;
40
40
  configFileList = result.sources;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/cli",
3
- "version": "0.47.1",
3
+ "version": "0.47.3",
4
4
  "description": "CLI for UnoCSS",
5
5
  "author": {
6
6
  "name": "Johann Schopplich",
@@ -41,9 +41,9 @@
41
41
  "dependencies": {
42
42
  "@ampproject/remapping": "^2.2.0",
43
43
  "@rollup/pluginutils": "^5.0.2",
44
- "@unocss/config": "0.47.1",
45
- "@unocss/core": "0.47.1",
46
- "@unocss/preset-uno": "0.47.1",
44
+ "@unocss/config": "0.47.3",
45
+ "@unocss/core": "0.47.3",
46
+ "@unocss/preset-uno": "0.47.3",
47
47
  "cac": "^6.7.14",
48
48
  "chokidar": "^3.5.3",
49
49
  "colorette": "^2.0.19",