Unless I missed it, there doesn't seem to be a way of creating a Worker from an ESM source string (with `eval: true`). Example that should be possible somehow: ```js import { Worker } from 'worker_threads'; new Worker( ` import { join } from 'path'; console.log(join('hello', 'world')); `, { eval: true }, ); ``` Related: https://github.com/nodejs/node/issues/21502
Activity