Files
2022-06-14 09:12:39 +02:00

513 B

Worker Options

worker.format

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

Output format for worker bundle.

worker.plugins

Vite plugins that apply to worker bundle. Note that config.plugins does not apply to workers, it should be configured here instead.

worker.rollupOptions

Rollup options to build worker bundle.