close

WebWorkerTemplatePlugin

This plugin is used to bundle Web Worker assets, often used with childCompiler.

It sets output.chunkLoading to 'import-scripts' and applies the 'array-push' chunk format used by web worker targets.

new rspack.webworker.WebWorkerTemplatePlugin();