@unocss/vite 66.1.3 → 66.1.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 -0
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -480,6 +480,7 @@ function resolveId(id, importer) {
480
480
  const match = id.match(alias);
481
481
  if (match) {
482
482
  let virtual = match[1] ? `__uno_${match[1]}.css` : "__uno.css";
483
+ virtual += match[2] || "";
483
484
  if (importer)
484
485
  virtual = resolve$1(importer, "..", virtual);
485
486
  else
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/vite",
3
3
  "type": "module",
4
- "version": "66.1.3",
4
+ "version": "66.1.4",
5
5
  "description": "The Vite plugin for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -55,9 +55,9 @@
55
55
  "pathe": "^2.0.3",
56
56
  "tinyglobby": "^0.2.13",
57
57
  "unplugin-utils": "^0.2.4",
58
- "@unocss/core": "66.1.3",
59
- "@unocss/config": "66.1.3",
60
- "@unocss/inspector": "66.1.3"
58
+ "@unocss/config": "66.1.4",
59
+ "@unocss/core": "66.1.4",
60
+ "@unocss/inspector": "66.1.4"
61
61
  },
62
62
  "devDependencies": {
63
63
  "vite": "^6.2.7"