Skip to content
On this page

Worker Options

worker.format

  • Type: 'es' | 'iife'
  • Default: iife

Output format for worker bundle.

worker.plugins

Vite plugins that apply to worker bundle

worker.rollupOptions

Rollup options to build worker bundle.