From e2a3549a0a930372ac7e20b4bd7d55c254a16e6a Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Wed, 6 Nov 2024 20:39:38 +0900 Subject: [PATCH] chore: remove unused `ssr` variable --- 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 =