diff --git a/packages/vite/src/vite-node.ts b/packages/vite/src/vite-node.ts index 6cbc4faff4..a2ae558ea0 100644 --- a/packages/vite/src/vite-node.ts +++ b/packages/vite/src/vite-node.ts @@ -11,7 +11,7 @@ import { normalizeViteManifest } from 'vue-bundle-renderer' import escapeStringRegexp from 'escape-string-regexp' import { distDir } from './dirs' import type { ViteBuildContext } from './vite' -import { isCSS, toArray } from './utils' +import { isCSS } from './utils' // TODO: Remove this in favor of registerViteNodeMiddleware // after Nitropack or h3 allows adding middleware after setup