esbuild
esbuild copied to clipboard
Bug: YarnPnP cannot resolve drive letter correctly
Describe the bug
esbuild cannot resolve YarnPnP path with drive letter correctly.
It parsed D:/vsc/webui/.yarn/__virtual__/react-dom-virtual-a5924a3a6d/4/C:/Users/Seidko/AppData/Local/Yarn/Berry/cache/react-dom-npm-18.2.0-dd675bca1c-10c0.zip/node_modules/react-dom/client.js
to D:/C:/Users/Seidko/AppData/Local/Yarn/Berry/cache/react-dom-npm-18.2.0-dd675bca1c-10c0.zip/node_modules/react-dom/client.js
Screenshot
Step to reproduce
- install yarn v3 or later on Windows.
- create a project on Non-C drive.
- modify log level.
- start esbuild.
Sample:
cd D:\
yarn create vite react --template react-ts
cd react
yarn
yarn dev
esbuild version
0.20.1