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

feat: support farm #169

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

feat: support farm #169

wants to merge 14 commits into from

Conversation

ErKeLost
Copy link
Member

@ErKeLost ErKeLost commented Nov 28, 2024

hi @sxzz sorry to bother you

This pr is temporarily put in draft. Currently, it is planned to mainly support farm version 2.0. The node implementation between version 2.0 and version 1.x is very different, so I want to wait until 2.0 is fully prepared to merge this pr. In the end, farm's goal should be purely to support farm's plugin rather than adapting to the vite form. In the future, farm should deviate from vite to reduce the impact on dependencies

Currently, farm has three plans for the idea of vue ecology (The compilation farm team for vue-jsx is under development)

  • unplugin-vue supports farm in 2.0

  • unplugin-vue-fervid this project has been shelved for a while, and I will implement this plugin immediately. The test at that time unplugin-vue-fervid performance was about 10 to 20 times faster than the current cache of the vue compiler. The next step is to use this plugin to speed up the compilation of native vue to support other frameworks such as vite rspack and more

  • @farmfe/plugin-vue supports farm-native vue compilation plugin, which will improve the performance of about 5 to 10 times than unplugin-vue-fervid in pure rust compilation

Copy link

stackblitz bot commented Nov 28, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@ErKeLost ErKeLost marked this pull request as draft November 28, 2024 07:41
Copy link

pkg-pr-new bot commented Nov 29, 2024

Open in Stackblitz

npm i https://pkg.pr.new/unplugin/unplugin-vue@169

commit: 5d56855

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.

1 participant