Do you want to request a feature or report a bug?
What is the current behavior?
On Windows build if the path of the project folder contains “!”, webpack will throw error:
ERROR in Entry module not found: Error: Can't resolve 'C:\' in 'C:\!ParentFolder\MyProjectFolder'
This bug was already reported #4906 with steps to reproduce. And it was closed, I’m opening this one to attract attention that this issue creates hard time for new users of webpack who do not know about this limitation, since webpack does not give any clue to the user about it. It took an hour of my time to figure out why it’s not working.
If the current behavior is a bug, please provide the steps to reproduce.
- Take any project with webpack (e.g. https://github.com/pmunin/handsontable)
- Put (or clone) it in any folder, with the name starting from “!” (exclamation mark)
- run webpack build (e.g. “npm run build:umd” for repo provided at step 1)
What is the expected behavior?
Webpack should at least provide a proper error message saying that user cannot have Exclamation marks in the path.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
OS: Windows 10 x64