@unocss/vite 66.6.8 → 66.7.0

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.d.mts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { UnocssPluginContext, UserConfig, UserConfigDefaults } from "@unocss/core";
2
- import * as _$vite from "vite";
3
2
  import { Plugin } from "vite";
4
3
 
5
4
  //#region src/types.d.ts
@@ -73,7 +72,7 @@ declare function GlobalModeBuildPlugin(ctx: UnocssPluginContext<VitePluginConfig
73
72
  declare function GlobalModeDevPlugin(ctx: UnocssPluginContext): Plugin[];
74
73
  //#endregion
75
74
  //#region src/modes/global/index.d.ts
76
- declare function GlobalModePlugin(ctx: UnocssPluginContext): _$vite.Plugin<any>[];
75
+ declare function GlobalModePlugin(ctx: UnocssPluginContext): import("vite").Plugin<any>[];
77
76
  //#endregion
78
77
  //#region src/modes/per-module.d.ts
79
78
  declare function PerModuleModePlugin(ctx: UnocssPluginContext): Plugin[];
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import process from "node:process";
2
+ import UnocssInspector from "@unocss/inspector";
2
3
  import { createRecoveryConfigLoader } from "@unocss/config";
3
4
  import { BetterMap, LAYER_IMPORTS, LAYER_PREFLIGHTS, createGenerator, cssIdRE, notNull, toEscapedSelector } from "@unocss/core";
4
5
  import { createFilter } from "unplugin-utils";
5
- import UnocssInspector from "@unocss/inspector";
6
6
  import fs from "node:fs";
7
7
  import { dirname, isAbsolute, resolve } from "node:path";
8
8
  import { fileURLToPath } from "node:url";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/vite",
3
3
  "type": "module",
4
- "version": "66.6.8",
4
+ "version": "66.7.0",
5
5
  "description": "The Vite plugin for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "dist"
40
40
  ],
41
41
  "peerDependencies": {
42
- "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 || ^8.0.0-0"
42
+ "vite": "^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0 || ^8.0.0-0"
43
43
  },
44
44
  "dependencies": {
45
45
  "@jridgewell/remapping": "^2.3.5",
@@ -48,12 +48,12 @@
48
48
  "pathe": "^2.0.3",
49
49
  "tinyglobby": "^0.2.16",
50
50
  "unplugin-utils": "^0.3.1",
51
- "@unocss/config": "66.6.8",
52
- "@unocss/core": "66.6.8",
53
- "@unocss/inspector": "66.6.8"
51
+ "@unocss/config": "66.7.0",
52
+ "@unocss/core": "66.7.0",
53
+ "@unocss/inspector": "66.7.0"
54
54
  },
55
55
  "devDependencies": {
56
- "vite": "^8.0.7"
56
+ "vite": "^8.0.13"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "tsdown --config-loader unrun",