@nuxt/docs-nightly 5.0.0-2611041112-e8efda8 → 5.0.0-2611041311-72ae527

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -444,6 +444,25 @@ export default defineNuxtConfig({
444
444
 
445
445
  :read-more{to="/docs/guide/concepts/server-engine"}
446
446
 
447
+ ### Nitro Builder
448
+
449
+ Nitro bundles your server with [Rolldown](https://rolldown.rs) by default. With the webpack or Rspack app builder, you can select another [Nitro builder](https://nitro.build/config/build#builder) with `nitro.builder` (or the `NITRO_BUILDER` environment variable). For example, to build both your app and your server with [Rspack](https://rspack.rs):
450
+
451
+ ```ts [nuxt.config.ts]
452
+ export default defineNuxtConfig({
453
+ builder: 'rspack',
454
+ nitro: {
455
+ builder: 'rspack',
456
+ },
457
+ })
458
+ ```
459
+
460
+ You don't need to install `@rspack/core` yourself: the Nitro `rspack` builder uses the one installed with `@nuxt/rspack-builder`.
461
+
462
+ ::warning
463
+ The Nitro `rspack` and `bun` builders are experimental. With `experimental.nitroViteEnvironment`, Vite builds the server and `nitro.builder` is ignored.
464
+ ::
465
+
447
466
  ### Nested Router
448
467
 
449
468
  ```ts [server/api/hello/[...slug\\].ts]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/docs-nightly",
3
- "version": "5.0.0-2611041112-e8efda8",
3
+ "version": "5.0.0-2611041311-72ae527",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",