Webpack doesnt include node.js polyfills

What executor are you using in prod? It needs to be one that runs code in node, like this one:

https://community.temporal.io/t/using-temporal-with-nx-monorepo/5228/4