We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e490351 commit ab687cfCopy full SHA for ab687cf
3 files changed
package.json
@@ -66,7 +66,7 @@
66
"@jridgewell/gen-mapping": "^0.3.13",
67
"@jridgewell/trace-mapping": "^0.3.31",
68
"@vue/reactivity": "^3.5.22",
69
- "debug": "^4.4.3",
+ "obug": "^0.1.1",
70
"unplugin": "^2.3.10",
71
"vite": "^7.1.12"
72
},
@@ -76,7 +76,6 @@
76
"@sxzz/eslint-config": "^7.2.7",
77
"@sxzz/prettier-config": "^2.2.4",
78
"@sxzz/test-utils": "^0.5.12",
79
- "@types/debug": "^4.1.12",
80
"@types/node": "^24.9.1",
81
"@vitejs/plugin-vue": "^6.0.1",
82
"@vitest/ui": "^4.0.2",
pnpm-lock.yaml
src/core/handleHotUpdate.ts
@@ -1,4 +1,4 @@
1
-import _debug from 'debug'
+import { createDebug } from 'obug'
2
import { isCSSRequest, type HmrContext, type ModuleNode } from 'vite'
3
import {
4
getResolvedScript,
@@ -17,7 +17,7 @@ import type * as t from '@babel/types'
17
18
import type { SFCBlock, SFCDescriptor } from 'vue/compiler-sfc'
19
20
-const debug = _debug('vite:hmr')
+const debug = createDebug('vite:hmr')
21
22
const directRequestRE = /[&?]direct\b/
23
0 commit comments