Skip to content

Commit

Permalink
chore: reword comment
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev committed Mar 19, 2023
1 parent 6f9a4dc commit 7e81316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/plugins/resolve.ts
Expand Up @@ -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 =
Expand Down

0 comments on commit 7e81316

Please sign in to comment.