Skip to content

Commit 5cea1a1

Browse files
committed
feat: upgrade @vitejs/devtools-kit to v0.4.10
1 parent 7f072dc commit 5cea1a1

3 files changed

Lines changed: 1041 additions & 508 deletions

File tree

‎packages/devtools/src/module-main.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PluginWithDevTools } from '@vitejs/devtools-kit'
1+
import type { PluginWithDevTools, ViteDevToolsNodeContext } from '@vitejs/devtools-kit'
22
import type { ServerResponse } from 'node:http'
33
import type { Nuxt } from 'nuxt/schema'
44
import type { Plugin } from 'vite'
@@ -69,7 +69,7 @@ export async function enableModule(options: ModuleOptions, nuxt: Nuxt) {
6969
addVitePlugin(defineViteDevToolsPlugin({
7070
name: 'nuxt:devtools',
7171
devtools: {
72-
setup(ctx: any) {
72+
setup(ctx: ViteDevToolsNodeContext) {
7373
ctx.docks.register({
7474
id: 'nuxt:devtools',
7575
type: 'iframe',

0 commit comments

Comments
 (0)