Skip to content

Commit

Permalink
fix: remove incorrect import
Browse files Browse the repository at this point in the history
  • Loading branch information
LoTwT committed Jan 31, 2024
1 parent aa1c2d3 commit ca64b61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/core/src/vite-rpc/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import fg from 'fast-glob'
import { join, resolve } from 'pathe'
import { imageMeta } from 'image-meta'
import { BirpcGroupReturn } from 'birpc'
import type { ViteDevServer } from 'vite'
import { debounce } from 'perfect-debounce'
import type { AssetInfo, AssetType, ImageMeta, ViteRPCFunctions } from './types'

Expand Down Expand Up @@ -60,7 +59,7 @@ interface SetupAssetsOptions {
}

export function setupAssetsRPC(config: SetupAssetsOptions) {
const server = config.server as ViteDevServer
const server = config.server
const getRpcServer = config.getRpcServer

const _imageMetaCache = new Map<string, ImageMeta | undefined>()
Expand Down

0 comments on commit ca64b61

Please sign in to comment.