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

refactor: remove using resolvePackageData from Vite #1153

Merged
merged 1 commit into from
Oct 23, 2023
Merged

refactor: remove using resolvePackageData from Vite #1153

merged 1 commit into from
Oct 23, 2023

Conversation

bluwy
Copy link
Contributor

@bluwy bluwy commented Oct 13, 2023

vitejs/vite#14584 is removing the API for future perf optimizations and bug fixes. Since the API is not widely used, I've made a PR to refactor it away directly.

This uses vitefu which I maintain on the side and implements the same heuristic, and is also used by frameworks like Svelte, Solid, and Astro today.

(I've not tested this particular code, but I hope the CI covers it)

@antfu
Copy link
Member

antfu commented Oct 15, 2023

I can't unsee it as Vite Fu 🤣

@bluwy
Copy link
Contributor Author

bluwy commented Oct 15, 2023

Now that you mention it 😄 If it helps unseeing it, it stands for Vite framework utilities.

@antfu antfu merged commit 0de98b8 into slidevjs:main Oct 23, 2023
8 checks passed
@bluwy bluwy deleted the remove-resolve-package-data branch October 23, 2023 04:35
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.

2 participants