## 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:

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

``

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

``

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

``

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 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

``

##

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

``