@unocss/vite 0.60.3 → 0.60.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 +8 -8
package/dist/index.mjs CHANGED
@@ -511,7 +511,7 @@ function GlobalModeBuildPlugin(ctx) {
511
511
  viteConfig = config;
512
512
  },
513
513
  buildStart() {
514
- tasks.push(setupContentExtractor(ctx, viteConfig.command === "serve"));
514
+ tasks.push(setupContentExtractor(ctx, viteConfig.mode !== "test" && viteConfig.command === "serve"));
515
515
  }
516
516
  },
517
517
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/vite",
3
3
  "type": "module",
4
- "version": "0.60.3",
4
+ "version": "0.60.4",
5
5
  "description": "The Vite plugin for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -54,15 +54,15 @@
54
54
  "chokidar": "^3.6.0",
55
55
  "fast-glob": "^3.3.2",
56
56
  "magic-string": "^0.30.10",
57
- "@unocss/core": "0.60.3",
58
- "@unocss/config": "0.60.3",
59
- "@unocss/inspector": "0.60.3",
60
- "@unocss/scope": "0.60.3",
61
- "@unocss/transformer-directives": "0.60.3"
57
+ "@unocss/config": "0.60.4",
58
+ "@unocss/core": "0.60.4",
59
+ "@unocss/inspector": "0.60.4",
60
+ "@unocss/scope": "0.60.4",
61
+ "@unocss/transformer-directives": "0.60.4"
62
62
  },
63
63
  "devDependencies": {
64
- "vite": "^5.2.11",
65
- "@unocss/shared-integration": "0.60.3"
64
+ "vite": "^5.2.12",
65
+ "@unocss/shared-integration": "0.60.4"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "unbuild",