Skip to content

Commit

Permalink
fix: yarn pnp resolveDir
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 1, 2021
1 parent 23bd257 commit 9c6edef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/esbuildDepPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function esbuildDepPlugin(
return {
loader: ext as Loader,
contents,
resolveDir: isRunningWithYarnPnp ? undefined : root
resolveDir: root
}
})

Expand Down

0 comments on commit 9c6edef

Please sign in to comment.