Skip to content

Commit

Permalink
chore: remove not used new Evaluator()
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Nov 19, 2024
1 parent 3567aff commit e3ce47e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/ssr/runtime/serverModuleRunner.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { existsSync, readFileSync } from 'node:fs'
import { ESModulesEvaluator, ModuleRunner } from 'vite/module-runner'
import { ModuleRunner } from 'vite/module-runner'
import type {
ModuleEvaluator,
ModuleRunnerHmr,
Expand Down Expand Up @@ -133,6 +133,6 @@ export function createServerModuleRunner(
hmr,
sourcemapInterceptor: resolveSourceMapOptions(options),
},
options.evaluator || new ESModulesEvaluator(),
options.evaluator,
)
}

0 comments on commit e3ce47e

Please sign in to comment.