@unocss/nuxt 0.50.0 → 0.50.1

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 +3 -1
  2. package/package.json +14 -14
package/dist/index.mjs CHANGED
@@ -70,7 +70,9 @@ const index = defineNuxtModule({
70
70
  watch: false
71
71
  });
72
72
  }
73
- const { config: unoConfig } = await loadConfig(process.cwd(), {}, [], options);
73
+ const { config: unoConfig } = await loadConfig(process.cwd(), {
74
+ configFile: options.configFile
75
+ }, [], options);
74
76
  if (isNuxt3() && nuxt.options.postcss.plugins.cssnano && unoConfig.transformers?.some((t) => t.name === "@unocss/transformer-directives" && t.enforce !== "pre")) {
75
77
  const preset = nuxt.options.postcss.plugins.cssnano.preset;
76
78
  nuxt.options.postcss.plugins.cssnano = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/nuxt",
3
- "version": "0.50.0",
3
+ "version": "0.50.1",
4
4
  "description": "Nuxt module for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -38,19 +38,19 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@nuxt/kit": "^3.2.2",
41
- "@unocss/config": "0.50.0",
42
- "@unocss/core": "0.50.0",
43
- "@unocss/preset-attributify": "0.50.0",
44
- "@unocss/preset-icons": "0.50.0",
45
- "@unocss/preset-tagify": "0.50.0",
46
- "@unocss/preset-typography": "0.50.0",
47
- "@unocss/preset-uno": "0.50.0",
48
- "@unocss/preset-web-fonts": "0.50.0",
49
- "@unocss/preset-wind": "0.50.0",
50
- "@unocss/reset": "0.50.0",
51
- "@unocss/vite": "0.50.0",
52
- "@unocss/webpack": "0.50.0",
53
- "unocss": "0.50.0"
41
+ "@unocss/config": "0.50.1",
42
+ "@unocss/core": "0.50.1",
43
+ "@unocss/preset-attributify": "0.50.1",
44
+ "@unocss/preset-icons": "0.50.1",
45
+ "@unocss/preset-tagify": "0.50.1",
46
+ "@unocss/preset-typography": "0.50.1",
47
+ "@unocss/preset-uno": "0.50.1",
48
+ "@unocss/preset-web-fonts": "0.50.1",
49
+ "@unocss/preset-wind": "0.50.1",
50
+ "@unocss/reset": "0.50.1",
51
+ "@unocss/vite": "0.50.1",
52
+ "@unocss/webpack": "0.50.1",
53
+ "unocss": "0.50.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@nuxt/schema": "^3.2.2"