-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Problems if resolved path is absolute #310
Comments
hrmm ok.. so its failing because the path case doesn't match.. but the path with the wrong casing appears to be coming from the resolve module... |
the resolve module calls |
In Node v6 its fixed. It might be useful to have an option to disable the case sensitive check, it seems like there is plenty of scope for mistakes... |
I think I'll make a note in the README, at the very least. You're not the first person to run into this on Windows; apparently running from PowerShell exhibits the same behavior. I think it might be fairly simple to ignore case issues for the CWD and only validate deeper paths. |
It might be useful in general to be able to disable case checking - I'm a bit scared of what will happen once I fix the 60 other case violations and run it on the build machine. |
Hi,
I'm trying to get the plugin working on a large complicated setup. I'm on windows, using the webpack resolver. When modulesDirectories is set and used to resolve, the "resolve" module can return absolute paths - if this is returned from the resolver then 'no-unresolved' fails.
I have a simple fix in the webpack resolver to do this
Do you want a PR for this or do I need to investigate why absolute paths fail in the main plugin?
The text was updated successfully, but these errors were encountered: