-
Notifications
You must be signed in to change notification settings - Fork 2
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
Duplicate file paths edge-case #2 #10
Comments
@matthewmueller Once we sort this out I will update |
Hey I started working on this. A few things I'd like to run by you: Same: // @root /
'/b.foo' // -> /b.foo
'b.foo' // -> /b.foo
'./b.foo' // -> /b.foo Different: // @root /a/b
'/c.foo' // -> /c.foo
'c.foo' // -> /a/c.foo Error? // @root /
'../b.foo' // -> ? same: // @root /
'/foo/[email protected]' // -> /foo/[email protected]
'foo/[email protected]' // -> /foo/[email protected]
'./foo/[email protected]' // -> /foo/[email protected] Two specific questions:
|
For the same reasons as my comment on #12, this change should not be implemented. This normalization should be handled outside of |
Hey. I'm no longer active on these projects so feel free to close etc. Take care! |
@matthewmueller This is currently impossible to catch:
The reason it is impossible to catch is that we don't have any information about the
path
of thestr
coming in here: https://github.com/MatthewMueller/file-deps/blob/master/lib/css.js#L33What I would like to suggest/brain-storm is a minimal API change that would provide the
path
of givenstr
so that we can rule out dupes more robustly.The text was updated successfully, but these errors were encountered: