Skip to content

Commit c120afc

Browse files
authored
docs: distinguish plugins config used for workers in build and serve (#11834)
1 parent 2fbce97 commit c120afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/config/worker-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Output format for worker bundle.
1313

1414
- **Type:** [`(Plugin | Plugin[])[]`](./shared-options#plugins)
1515

16-
Vite plugins that apply to worker bundle. Note that [config.plugins](./shared-options#plugins) does not apply to workers, it should be configured here instead.
16+
Vite plugins that apply to worker bundle. Note that [config.plugins](./shared-options#plugins) only applies to workers in dev, it should be configured here instead for build.
1717

1818
## worker.rollupOptions
1919

0 commit comments

Comments
 (0)