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

Use degit instead of CURL to download the vite-template folder #120

Open
malparty opened this issue Aug 4, 2022 · 0 comments
Open

Use degit instead of CURL to download the vite-template folder #120

malparty opened this issue Aug 4, 2022 · 0 comments

Comments

@malparty
Copy link
Member

malparty commented Aug 4, 2022

Why

Degit enables to get a specific branch (using user/repo#branch) and a sub-directory (so we don't need to download the whole repository and remove the extra folders).

Who Benefits?

Template maintainers: The code would be lighter.

I do not think there is any "time" benefice for the template users because using NPX will take more time than the whole repository DL (which is lightning fast actually!).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant