## format iife:

Expected values:

worker template error match:

`const worker = new Worker(new URL('./worker.js', import.meta.url))`

import myWorker from '../my-worker?worker' .pong .mode .bundle-with-plugin .asset-url

Response from worker:
mode:
bundle-with-plugin:
asset-url:
dep-cjs:

import myWorker from '../my-worker?worker' new myWorker({ name: "named-worker" }) .pong-named

Response from worker:

import InlineWorker from '../my-worker?worker&inline' .pong-inline

``

import InlineWorker from '../my-worker?worker&inline' new InlineWorker({ name: "named-inline-worker" }) .pong-inline-named

``

import InlineWorker from '../my-worker?worker&inline' new InlineWorker() import.meta.url .pong-inline-url

``

import InlineWorker from '../my-worker?worker&inline' .pong-inline-unicode

``

import TSOutputWorker from '../possible-ts-output-worker?worker' .pong-ts-output

``

import mySharedWorker from '../my-shared-worker?sharedworker&name=shared' .tick-count

``

import mySharedWorker from '../my-shared-worker?sharedworker&name=shared' new mySharedWorker({ name: "namedSharedWorker" }) .tick-count-named

``

import InlineSharedWorker from '../my-shared-worker?sharedworker&inline' .pong-shared-inline

``

new Worker(new URL('./url-worker.js', import.meta.url), { type: 'module' }) .worker-import-meta-url

``

new Worker(new URL('@/url-worker', import.meta.url), { type: 'module' }) .worker-import-meta-url-resolve

``

new Worker(new URL('./url-worker', import.meta.url), { type: 'module' }) .worker-import-meta-url-without-extension

``

new SharedWorker(new URL('./url-shared-worker.js', import.meta.url), { type: 'module' }) .shared-worker-import-meta-url

``

import NestedWorker from './worker-nested-worker?worker' - import.meta.url .nested-worker

``

import NestedWorker from './worker-nested-worker?worker' - nested module worker .nested-worker-module

``

import NestedWorker from './worker-nested-worker?worker' - nested worker constructor .nested-worker-constructor

``

new Worker(new URL('./classic-worker.js', import.meta.url)) .classic-worker

`` ``

new SharedWorker(new URL('./classic-shared-worker.js', import.meta.url), { type: 'classic' }) .classic-shared-worker

``

new Worker(new URL('../simple-worker.js', import.meta.url).href) .simple-worker-url

``

use import.meta.glob with eager in iife worker .importMetaGlobEager-worker

``

self reference worker .self-reference-worker

``

new Worker(new URL('../self-reference-url-worker.js', import.meta.url)) .self-reference-url-worker

``

.self-reference-url-worker-dep

``

new Worker(new URL('../deeply-nested-worker.js', import.meta.url), { type: 'module' }) .deeply-nested-worker

``

new Worker(new URL('deeply-nested-second-worker.js', import.meta.url), { type: 'module' }) .deeply-nested-second-worker

``

new Worker(new URL('deeply-nested-third-worker.js', import.meta.url), { type: 'module' }) .deeply-nested-third-worker

``

##

use import.meta.glob in es worker .importMetaGlob-worker

``

worker emit chunk
module and worker:worker in worker file
module and worker:module in worker file
.emit-chunk-worker

``

worker dynamic import to emit chunk .emit-chunk-dynamic-import-worker

``

module and worker:worker in simple file .module-and-worker-worker

``