diff --git a/packages/vite/src/vite-node.ts b/packages/vite/src/vite-node.ts index 02f52ce25a..5f4982d475 100644 --- a/packages/vite/src/vite-node.ts +++ b/packages/vite/src/vite-node.ts @@ -12,7 +12,6 @@ import escapeStringRegexp from 'escape-string-regexp' import { distDir } from './dirs' import type { ViteBuildContext } from './vite' import { isCSS, toArray } from './utils' -import { transpile } from './utils/transpile' // TODO: Remove this in favor of registerViteNodeMiddleware // after Nitropack or h3 allows adding middleware after setup