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

fix: support symbolic links in building docs dist (#184) #185

Merged
merged 3 commits into from
Jan 22, 2021

Conversation

lukeromanowicz
Copy link
Contributor

This PR fixes error when building docs that contain symbolic links. Results.assets have links resolved to the real files while srcPath was ignoring if the path was a symbolic link.

The performance seems to be intact (upper execution before the fix, bottom execution after the fix)
image

Closes #184

@vercel
Copy link

vercel bot commented Dec 16, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vuejs/vitepress/2wgwbq9vp
✅ Preview: https://vitepress-git-fix-symbolic-links-in-build.vuejs1.vercel.app

@lukeromanowicz
Copy link
Contributor Author

@posva @kiaking Please, review 🙏

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you solve the merge conflicts?

@lukeromanowicz
Copy link
Contributor Author

lukeromanowicz commented Jan 19, 2021

can you solve the merge conflicts?

@posva I'm not sure what to fix, I don't see any conflicts:
image

@lukeromanowicz lukeromanowicz requested a review from posva January 19, 2021 15:36
@kiaking kiaking added the enhancement New feature or request label Jan 22, 2021
@kiaking kiaking changed the title fix: support symbolic links in building docs dist fix: support symbolic links in building docs dist (#184) Jan 22, 2021
@kiaking
Copy link
Member

kiaking commented Jan 22, 2021

Thanks a lot on the PR! 🙌

@kiaking kiaking merged commit 5190604 into vuejs:master Jan 22, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build doesn't support symbolic links
3 participants