-
Notifications
You must be signed in to change notification settings - Fork 88
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
Relative paths fail due to regexp typo #9
Comments
any word on this? |
Tried implementing @dapetcu21's solution and I'm still getting the same error:
|
@ engageft3 Try logging the path and see what it is. For me the problem was my output path in webpack.config.js wasn't absolute, and had a ./build rather than build. But, the regex still had to be changed. |
Worked around it by putting '/' at the beginning of my path in output for webpack config, causes it to think it's *nix |
@NicholasGWK thats what ive got too. pretty annoying... |
@stephenmathieson Yeah that workaround works for me, I think it address the path correctly in the in memory system. Reminder for anyone who reads this to only do this in the dev config, otherwise if you're on Windows the production webpack build with start writing to C:/build or similar :). |
|
https://github.com/webpack/memory-fs/blob/master/lib/MemoryFileSystem.js#L39
I think it should be
/^[A-Za-z]+/
instead of/^[A-Za-z]:/
over there.The text was updated successfully, but these errors were encountered: