Why import.meta.url is undefined in Vercel Workflow steps

I am deploying a workflow with steps. The steps import the generated Prisma client, however this fails because import.meta.url is undefined inside the step.

Steps to Reproduce

Run the following code inside a step:

console.log("import.meta.url", import.meta.url);

Confirm it logs undefined.

Is this expected and what should I do to fix this?

Context: Running Tanstack Start on Vite 8.

@dmmikkel Please open an issue on vercel/workflow and tag me (@vaguelyserious) in it, and we’ll take a look

Done. Thanks for looking at it.

Resolved. Tracking in import.meta.url not available in step runtime on Vercel · Issue #1507 · vercel/workflow · GitHub