You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove canary-gate and add experimental warning for alternate bundler
This:
- Removes the Rspack canary gate
- Adds a warning that Rspack support is driven by the community and is experimental.
- Links to the discussion page for feedback
Test Plan: Installed and used in an app. Verified the link is valid.
Copy file name to clipboardExpand all lines: packages/next-rspack/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# next-rspack (EXPERIMENTAL)
2
2
3
3
> [!WARNING]
4
-
> This package is currently experimental and actively developed and supported in Next.js’ `canary` branch. To use this, you must be using a published canary build of Next.js.
4
+
> This package is currently experimental, and is a partner effort with the Rspack team. Help improve Next.js and Rspack by providing feedback at https://github.com/vercel/next.js/discussions/77800
5
5
6
6
This plugin allows you to use [Rspack](https://rspack.dev) in place of webpack with Next.js.
@@ -37,10 +37,8 @@ export function getRspackReactRefresh() {
37
37
}
38
38
}
39
39
40
-
functiongateCanary(){
41
-
if(isStableBuild()){
42
-
thrownewCanaryOnlyError(
43
-
'Rspack support is only available in Next.js canary.'
44
-
)
45
-
}
40
+
functionwarnRspack(){
41
+
warnOnce(
42
+
'Rspack support is currently experimental, and is a partner effort with the Rspack team. Help improve Next.js and Rspack by providing feedback at https://github.com/vercel/next.js/discussions/77800'
0 commit comments