@unocss/vite 0.45.23 → 0.45.24

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.
package/dist/index.cjs CHANGED
@@ -412,9 +412,9 @@ function GlobalModeDevPlugin({ uno, tokens, affectedModules, onInvalidate, extra
412
412
  server.moduleGraph.invalidateModule(mod);
413
413
  }
414
414
  }
415
+ lastServedHash.clear();
415
416
  clearTimeout(invalidateTimer);
416
417
  invalidateTimer = setTimeout(() => {
417
- lastServedHash.clear();
418
418
  sendUpdate(ids);
419
419
  }, timer);
420
420
  }
package/dist/index.mjs CHANGED
@@ -401,9 +401,9 @@ function GlobalModeDevPlugin({ uno, tokens, affectedModules, onInvalidate, extra
401
401
  server.moduleGraph.invalidateModule(mod);
402
402
  }
403
403
  }
404
+ lastServedHash.clear();
404
405
  clearTimeout(invalidateTimer);
405
406
  invalidateTimer = setTimeout(() => {
406
- lastServedHash.clear();
407
407
  sendUpdate(ids);
408
408
  }, timer);
409
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/vite",
3
- "version": "0.45.23",
3
+ "version": "0.45.24",
4
4
  "description": "The Vite plugin for UnoCSS",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -44,16 +44,16 @@
44
44
  "dependencies": {
45
45
  "@ampproject/remapping": "^2.2.0",
46
46
  "@rollup/pluginutils": "^4.2.1",
47
- "@unocss/config": "0.45.23",
48
- "@unocss/core": "0.45.23",
49
- "@unocss/inspector": "0.45.23",
50
- "@unocss/scope": "0.45.23",
51
- "@unocss/transformer-directives": "0.45.23",
47
+ "@unocss/config": "0.45.24",
48
+ "@unocss/core": "0.45.24",
49
+ "@unocss/inspector": "0.45.24",
50
+ "@unocss/scope": "0.45.24",
51
+ "@unocss/transformer-directives": "0.45.24",
52
52
  "magic-string": "^0.26.3",
53
53
  "pathe": "^0.3.7"
54
54
  },
55
55
  "devDependencies": {
56
- "@unocss/shared-integration": "0.45.23",
56
+ "@unocss/shared-integration": "0.45.24",
57
57
  "vite": "^3.1.2"
58
58
  },
59
59
  "scripts": {