@unocss/vite 0.63.4 → 0.63.6

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 +0 -9
  2. package/package.json +5 -5
package/dist/index.mjs CHANGED
@@ -285,15 +285,6 @@ function createContext(configOrPath, defaults = {}, extraConfigSources = [], res
285
285
  await Promise.all(modules.map((code, id) => uno.applyExtractors(code.replace(SKIP_COMMENT_RE, ""), id, tokens)));
286
286
  invalidate();
287
287
  dispatchReload();
288
- const presets = /* @__PURE__ */ new Set();
289
- uno.config.presets.forEach((i) => {
290
- if (!i.name)
291
- return;
292
- if (presets.has(i.name))
293
- console.warn(`[unocss] duplication of preset ${i.name} found, there might be something wrong with your config.`);
294
- else
295
- presets.add(i.name);
296
- });
297
288
  return result;
298
289
  }
299
290
  async function updateRoot(newRoot) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/vite",
3
3
  "type": "module",
4
- "version": "0.63.4",
4
+ "version": "0.63.6",
5
5
  "description": "The Vite plugin for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -54,13 +54,13 @@
54
54
  "chokidar": "^3.6.0",
55
55
  "magic-string": "^0.30.11",
56
56
  "tinyglobby": "^0.2.9",
57
- "@unocss/config": "0.63.4",
58
- "@unocss/core": "0.63.4",
59
- "@unocss/inspector": "0.63.4"
57
+ "@unocss/config": "0.63.6",
58
+ "@unocss/core": "0.63.6",
59
+ "@unocss/inspector": "0.63.6"
60
60
  },
61
61
  "devDependencies": {
62
62
  "vite": "^5.4.8",
63
- "@unocss/shared-integration": "0.63.4"
63
+ "@unocss/shared-integration": "0.63.6"
64
64
  },
65
65
  "scripts": {
66
66
  "build": "unbuild",