- Also process `new Worker()` if there are options - Then remove the `type: module` from the options at runtime (as Webpack also does apparently). The alternative would be to keep the `type: module` and ESM imports instead in the worker.