Optional Readonlydefaults?: WorkerFireOptionsInstance Default Burst Options (worker-safe).
Optional ReadonlyworkerUrl?: string | URLWorker Script URL.
With a bundler the worker is created from an inlined script (a blob: URL), downloaded only when the first
worker instance is created. The <script> build (konfeti.iife.js) loads konfeti.worker.js from its own
folder instead. Set this to a self-hosted copy of konfeti/konfeti.worker.js when your Content-Security-Policy does
not allow worker-src blob:, or when the script build is served without the worker file next to it.
Options for a Worker Instance.