Skip to content

Commit

Permalink
fix(plugin-react): match swc priority (#1952)
Browse files Browse the repository at this point in the history
* fix(plugin-react): match swc priority

* fix(plugin-react): match swc priority

---------

Co-authored-by: 陈俊光 <[email protected]>
  • Loading branch information
CCherry07 and 陈俊光 authored Nov 20, 2024
1 parent 3085d64 commit 35fb361
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fifty-poets-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@farmfe/plugin-react": patch
---

fix: match swc priority
2 changes: 1 addition & 1 deletion rust-plugins/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@farmfe/plugin-react",
"version": "1.2.4",
"version": "1.2.5",
"main": "index.js",
"types": "index.d.ts",
"type": "module",
Expand Down
4 changes: 3 additions & 1 deletion rust-plugins/react/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ impl Plugin for FarmPluginReact {
fn name(&self) -> &str {
"FarmPluginReact"
}

fn priority(&self) -> i32 {
99
}
fn resolve(
&self,
param: &farmfe_core::plugin::PluginResolveHookParam,
Expand Down

0 comments on commit 35fb361

Please sign in to comment.