Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@ dist

# IDE
.idea

tsconfig.tsbuildinfo
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
},
"dependencies": {
"cac": "^6.7.14",
"debug": "^4.4.3",
"es-module-lexer": "^1.7.0",
"obug": "^2.0.0",
"pathe": "^2.0.3",
"vite": "^7.2.0"
},
Expand All @@ -61,7 +61,6 @@
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@types/debug": "^4.1.12",
"@types/node": "^24.10.0",
"bumpp": "^10.3.1",
"eslint": "^9.39.1",
Expand Down
23 changes: 16 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dirname, resolve } from 'node:path'
import process from 'node:process'
import { fileURLToPath, pathToFileURL } from 'node:url'
import vm from 'node:vm'
import createDebug from 'debug'
import { createDebug } from 'obug'
import { extractSourceMap } from './source-map'
import {
cleanUrl,
Expand Down
2 changes: 1 addition & 1 deletion src/hmr/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { HMRPayload, Update } from 'vite/types/hmrPayload.js'
import type { ViteNodeRunner } from '../client'
import type { HotContext } from '../types'
import type { HMREmitter } from './emitter'
import createDebug from 'debug'
import { createDebug } from 'obug'
import c from 'tinyrainbow'
import { normalizeRequestId } from '../utils'

Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { existsSync } from 'node:fs'
import { performance } from 'node:perf_hooks'
import process from 'node:process'
import { pathToFileURL } from 'node:url'
import createDebug from 'debug'
import { createDebug } from 'obug'
import { join, normalize, relative, resolve } from 'pathe'
import { version as viteVersion } from 'vite'
import { Debugger } from './debug'
Expand Down