Skip to content

Commit fbbc6da

Browse files
chore: remove outdated code comment about scanImports not being used in ssr (#19285)
1 parent 30194fa commit fbbc6da

File tree

1 file changed

+0
-2
lines changed
  • packages/vite/src/node/optimizer

1 file changed

+0
-2
lines changed

packages/vite/src/node/optimizer/scan.ts

-2
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ export function scanImports(environment: ScanEnvironment): {
127127
missing: Record<string, string>
128128
}>
129129
} {
130-
// Only used to scan non-ssr code
131-
132130
const start = performance.now()
133131
const deps: Record<string, string> = {}
134132
const missing: Record<string, string> = {}

0 commit comments

Comments
 (0)