Skip to content

Commit 7b9e5df

Browse files
authored
docs: fix worker.rolldownOptions typo (#21215)
1 parent 561eafd commit 7b9e5df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/worker-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Output format for worker bundle.
1616
Vite plugins that apply to the worker bundles. Note that [config.plugins](./shared-options#plugins) only applies to workers in dev, it should be configured here instead for build.
1717
The function should return new plugin instances as they are used in parallel rollup worker builds. As such, modifying `config.worker` options in the `config` hook will be ignored.
1818

19-
## worker.rollupOptions
19+
## worker.rolldownOptions
2020

2121
<!-- TODO: update the link below to Rolldown's documentation -->
2222

@@ -29,4 +29,4 @@ Rollup options to build worker bundle.
2929
- **Type:** `RolldownOptions`
3030
- **Deprecated**
3131

32-
This option is an alias of `worker.rolldownOptions` option. Use `build.rolldownOptions` option instead.
32+
This option is an alias of `worker.rolldownOptions` option. Use `worker.rolldownOptions` option instead.

0 commit comments

Comments
 (0)