TypeScript SDK security concerns

If I want to obfuscate the bundled TypeScript code, will it affect Temporal’s operation, and how can I prevent the leakage of Temporal workflow code?

The bundle we generate contains source maps which we rely on to generate correct stack traces.
You could obfuscate the code pre bundling so the original source isn’t leaked in the source maps.
I haven’t tried this but I’m sure it’s possible to setup with some digging.