Skip to content

Commit

Permalink
chore: move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed May 5, 2022
1 parent 4ae67ef commit 8ee36ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/ssr/ssrExternal.ts
Expand Up @@ -130,8 +130,8 @@ function collectExternals(
debug(`Failed to resolve entries for package "${id}"\n`, e)
continue
}
// trace the dependencies of linked packages
if (esmEntry && !esmEntry.includes('node_modules')) {
// trace the dependencies of linked packages
const pkgPath = resolveFrom(`${id}/package.json`, root)
depsToTrace.add(path.dirname(pkgPath))
} else {
Expand Down

0 comments on commit 8ee36ed

Please sign in to comment.