@unocss/nuxt 0.65.3 → 0.65.4

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 +14 -14
package/dist/index.mjs CHANGED
@@ -99,7 +99,7 @@ const index = defineNuxtModule({
99
99
  filename: "uno.config.mjs",
100
100
  async getContents() {
101
101
  const configPaths = (await Promise.all(nuxt.options._layers.slice(1).map(
102
- (layer) => findPath(options.configFile || ["uno.config", "unocss.config"], { cwd: layer.config.srcDir })
102
+ (layer) => findPath(options.configFile || ["uno.config", "unocss.config"], { cwd: layer.config.rootDir })
103
103
  ))).filter(Boolean).reverse();
104
104
  return `import { mergeConfigs } from '@unocss/core'
105
105
  ${configPaths.map((path, index) => `import cfg${index} from '${path}'`.trimStart()).join("\n").trimEnd()}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/nuxt",
3
3
  "type": "module",
4
- "version": "0.65.3",
4
+ "version": "0.65.4",
5
5
  "description": "Nuxt module for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -39,19 +39,19 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@nuxt/kit": "^3.15.0",
42
- "@unocss/core": "0.65.3",
43
- "@unocss/preset-icons": "0.65.3",
44
- "@unocss/preset-attributify": "0.65.3",
45
- "@unocss/preset-tagify": "0.65.3",
46
- "@unocss/preset-typography": "0.65.3",
47
- "@unocss/config": "0.65.3",
48
- "@unocss/preset-uno": "0.65.3",
49
- "@unocss/preset-wind": "0.65.3",
50
- "@unocss/preset-web-fonts": "0.65.3",
51
- "@unocss/reset": "0.65.3",
52
- "@unocss/vite": "0.65.3",
53
- "@unocss/webpack": "0.65.3",
54
- "unocss": "0.65.3"
42
+ "@unocss/config": "0.65.4",
43
+ "@unocss/preset-attributify": "0.65.4",
44
+ "@unocss/core": "0.65.4",
45
+ "@unocss/preset-tagify": "0.65.4",
46
+ "@unocss/preset-web-fonts": "0.65.4",
47
+ "@unocss/preset-typography": "0.65.4",
48
+ "@unocss/preset-icons": "0.65.4",
49
+ "@unocss/preset-wind": "0.65.4",
50
+ "@unocss/preset-uno": "0.65.4",
51
+ "@unocss/vite": "0.65.4",
52
+ "@unocss/reset": "0.65.4",
53
+ "@unocss/webpack": "0.65.4",
54
+ "unocss": "0.65.4"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@nuxt/schema": "^3.15.0"