Skip to content

Commit 3d3dbc2

Browse files
authored
chore: add metadata for vite-plugin-registry (#1078)
1 parent ff5c076 commit 3d3dbc2

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

packages/plugin-react/package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,17 @@
6161
},
6262
"engines": {
6363
"node": "^20.19.0 || >=22.12.0"
64+
},
65+
"compatiblePackages": {
66+
"schemaVersion": 1,
67+
"rolldown": {
68+
"type": "compatible",
69+
"versions": "^1.0.0-beta.44",
70+
"note": "You can use Rolldown's built-in feature directly."
71+
},
72+
"rollup": {
73+
"type": "incompatible",
74+
"reason": "Uses Rolldown-specific APIs or Vite-specific APIs"
75+
}
6476
}
6577
}

packages/plugin-rsc/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,16 @@
7575
"react-server-dom-webpack": {
7676
"optional": true
7777
}
78+
},
79+
"compatiblePackages": {
80+
"schemaVersion": 1,
81+
"rolldown": {
82+
"type": "incompatible",
83+
"reason": "Uses Vite-specific APIs"
84+
},
85+
"rollup": {
86+
"type": "incompatible",
87+
"reason": "Uses Vite-specific APIs"
88+
}
7889
}
7990
}

0 commit comments

Comments
 (0)