property
WorkerOptions.preload
preload?: string | string[]
An array of module specifiers to preload in the worker.
These modules load before the worker's entry point is executed.
Equivalent to passing the --preload CLI argument, but only for this Worker.