From 23c39fc994a6164bc68d69e56f39735a6bb7a71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0=20/=20green?= Date: Wed, 6 Nov 2024 21:46:17 +0900 Subject: [PATCH] chore: remove unused `ssr` variable (#18594) --- packages/vite/src/node/plugins/resolve.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/vite/src/node/plugins/resolve.ts b/packages/vite/src/node/plugins/resolve.ts index 03f5b40b2f9aaf..bc11a557f38a0c 100644 --- a/packages/vite/src/node/plugins/resolve.ts +++ b/packages/vite/src/node/plugins/resolve.ts @@ -203,8 +203,6 @@ export function resolvePlugin( return } - const ssr = resolveOpts?.ssr === true - // The resolve plugin is used for createIdResolver and the depsOptimizer should be // disabled in that case, so deps optimization is opt-in when creating the plugin. const depsOptimizer =