Skip to content

Commit

Permalink
chore(vite): remove unused type definition [ci skip] (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-leong authored Jun 7, 2024
1 parent d4ae5ab commit db21dd8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/vite/src/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ import type { VitePluginInspectorOptions } from 'vite-plugin-vue-inspector'
import { DIR_CLIENT } from './dir'
import { getRpcFunctions } from './rpc'

type DeepRequired<T> = {
[P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : Required<T[P]>;
}

function getVueDevtoolsPath() {
const pluginPath = normalizePath(path.dirname(fileURLToPath(import.meta.url)))
return pluginPath.replace(/\/dist$/, '/\/src')
Expand Down

0 comments on commit db21dd8

Please sign in to comment.