Skip to content
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

[v2] move withPrefix to gatsby package #5895

Closed
wants to merge 1 commit into from
Closed

Conversation

nihgwu
Copy link
Contributor

@nihgwu nihgwu commented Jun 14, 2018

resolve #5732, as no one input there, I'd like to move forward a bit for further discussion, but I think we should use __PATH_PREFIX__ only in gatsby, for other packages we should use withPrefix

not sure if we should reexport withPrefix in gatsby-link again to unbreak 3rd party libraries witch using the former way, or just bump the version to 2.0

@m-allanson
Copy link
Contributor

Thanks @nihgwu! I want to review this soon but it will probably be early next week when I can do that.

@nihgwu
Copy link
Contributor Author

nihgwu commented Jun 15, 2018

note: the current example is misleading, as the pathname is always without pathPrefix because of basename

@wardpeet wardpeet deleted the neo/move-prefixPath branch March 18, 2019 10:56
@wardpeet wardpeet restored the neo/move-prefixPath branch March 18, 2019 10:56
@wardpeet wardpeet deleted the neo/move-prefixPath branch March 18, 2019 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants