-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix windows separators in pathStr #3
Conversation
hmm. This will fix an issue but seems problem is not in require and/or webpack. investigating. |
@@ -1,6 +1,7 @@ | |||
var path = require('path'); | |||
var assert = require('assert'); | |||
|
|||
// path.sep shouldn't be used since require doesn't support windows separator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment statement isn't true.
see bem/webpack-bem-loader#26 (comment)
@Yeti-or How about a |
I will check it at tonight, thanx
…On Wed, 16 Aug 2017 at 13:42, Aleksey Guryanov ***@***.***> wrote:
@Yeti-or <https://github.com/yeti-or> How about a keepSeparator flag? Do
not replace anything and use path.sep when making relative if flag is set
to true or replace any windows separators with nix ones otherwise?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABur3NKr6Ay5IaqppZ0ZYdwEmAt-7132ks5sYsesgaJpZM4O4p0i>
.
|
@Yeti-or Did you come up with smth? |
@Yeti-or ping! |
would be great to hear smth here so we would be able to move on |
We fixed it inside |
@Guria check bem/webpack-bem-loader#52 |
follow up from bem/webpack-bem-loader#26