Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Uppercase driver letter in windows #140

Open
1 task
funte opened this issue Feb 18, 2022 · 0 comments
Open
1 task

[Bug] Uppercase driver letter in windows #140

funte opened this issue Feb 18, 2022 · 0 comments
Labels

Comments

@funte
Copy link

funte commented Feb 18, 2022

  • I'd be willing to submit the fix

Describe the bug

Maybe its not bug but still little annoying. In Vscode ternimal(profile to use cmd.exe or powershell.exe) when using npm build
command, the request from Webpack resolver has a uppercase driver letter, but lowercase when debugging, and they are
different in the CacheBackend._data, so every virtual file webpack-virtual-modules must write twice.

To Reproduce

I create a project show this question at https://github.com/funte/test.
Using Vscode open this project in windows.
Run npm run build command the terminal log path with uppercase driver letter.
Press F5 to debug the terminal log lowercase file path.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment if relevant (please complete the following information):

  • OS: [e.g. OSX, Linux, Windows, ...]
  • Node version [e.g. 8.15.0, 10.15.1, ...]
  • Mochapack version [e.g. 1.1.3, ...]
  • Webpack version [e.g. 4.26.1, ...]

Additional context

Add any other context about the problem here.

@funte funte added the bug label Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant