@unocss/config 66.5.9 → 66.5.10

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -41,7 +41,7 @@ async function loadConfig(cwd = process.cwd(), configOrPath = cwd, extraConfigSo
41
41
  defaults: inlineConfig
42
42
  });
43
43
  const result = await loader.load();
44
- result.config = Object.assign(defaults, result.config || inlineConfig);
44
+ result.config = Object.assign(defaults, inlineConfig, result.config ?? {});
45
45
  if (result.config.configDeps) {
46
46
  result.sources = [
47
47
  ...result.sources,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/config",
3
3
  "type": "module",
4
- "version": "66.5.9",
4
+ "version": "66.5.10",
5
5
  "description": "Config loader for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "unconfig": "^7.4.1",
37
- "@unocss/core": "66.5.9"
37
+ "@unocss/core": "66.5.10"
38
38
  },
39
39
  "scripts": {
40
40
  "build": "unbuild",