Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: support farm#169

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sxzz merged 25 commits intounplugin:mainfromErKeLost:feat/farm
Apr 16, 2025
Merged

feat: support farm#169

sxzz merged 25 commits intounplugin:mainfromErKeLost:feat/farm
Apr 16, 2025

Conversation

@ErKeLost
Copy link
Member

@ErKeLostErKeLost commentedNov 28, 2024
edited
Loading

hi@sxzz sorry to bother you

This pr is temporarily put in draft. Currently, it is planned to mainly support farm version2.0. The node implementation between version2.0 and version1.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 thanunplugin-vue-fervid in pure rust compilation

sxzz, JobinJia, and Simon-He95 reacted with thumbs up emojiErKeLost reacted with hooray emojisxzz, JobinJia, and phoenix-ru reacted with heart emoji
@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz CodeflowRun & review this pull request inStackBlitz Codeflow.

@ErKeLostErKeLost marked this pull request as draftNovember 28, 2024 07:41
@socket-security
Copy link

socket-securitybot commentedNov 29, 2024
edited
Loading

Review the following changes in direct dependencies. Learn more aboutSocket for GitHub.

DiffPackageSupply Chain
Security
VulnerabilityQualityMaintenanceLicense
Updated@​swc/​core@​1.11.18 ⏵ 1.11.2099+81007097100
Added@​farmfe/​cli@​2.0.0-nightly-20250411100807791007690100
Addedcore-js@​3.39.0941009986100

View full report

@pkg-pr-new
Copy link

pkg-pr-newbot commentedNov 29, 2024
edited
Loading

Open in StackBlitz

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

commit:ab5e4c4

@ErKeLostErKeLost marked this pull request as ready for reviewApril 15, 2025 02:39
import { plugin, type Options } from './core'
import type { JsPlugin, PluginLoadHookParam } from '@farmfe/core'

const createFarmVuePlugins = (options?: Options): JsPlugin[] => {
Copy link
MemberAuthor

@ErKeLostErKeLostApr 15, 2025
edited
Loading

Choose a reason for hiding this comment

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

@sxzz hi The farm plugin is ready. There are still some type issues. We'll wait for the farm to be continuously optimized later.

Since the farm does not load other types of files by default, it is necessary to wrap it with a plugin in advance to ensure normal operation without affecting other frameworks.

sxzz reacted with hooray emoji
@ErKeLost
Copy link
MemberAuthor

@sxzz hi ,can this PR be merged and a version released first? Then I'll continue to complete the remaining tasks and the entire e2e for the Vue project of Farm.

sxzz reacted with thumbs up emoji

@sxzzsxzz merged commit7717409 intounplugin:mainApr 16, 2025
2 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@sxzzsxzzsxzz approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ErKeLost@sxzz

[8]ページ先頭

©2009-2025 Movatter.jp