From 7e81316cb79b774f2042d86cf313c3d9278b6a02 Mon Sep 17 00:00:00 2001 From: patak Date: Sun, 19 Mar 2023 09:21:50 +0100 Subject: [PATCH] chore: reword comment --- packages/vite/src/node/plugins/resolve.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vite/src/node/plugins/resolve.ts b/packages/vite/src/node/plugins/resolve.ts index 6b5b6bf0b6485b..87485deb814a82 100644 --- a/packages/vite/src/node/plugins/resolve.ts +++ b/packages/vite/src/node/plugins/resolve.ts @@ -127,8 +127,8 @@ export function resolvePlugin(resolveOptions: InternalResolveOptions): Plugin { const { target: ssrTarget, noExternal: ssrNoExternal } = ssrConfig ?? {} // In unix systems, absolute paths inside root first needs to be checked as an - // absolute URL resulting in failed checks before falling back to checking the path - // as absolute (/root/root/path-to-file). If /root/root isn't a valid path, we can + // absolute URL (/root/root/path-to-file) resulting in failed checks before falling + // back to checking the path as absolute. If /root/root isn't a valid path, we can // avoid these checks. Absolute paths inside root are common in user code as many // paths are resolved by the user. For example for an alias. const rootInRoot =