How can I enable support for `eval()` in Workers?

Yes yes I know all the caveats about eval() but it's essential for my use-case. When running in dev mode (but with --remote i.e. running on CF architecture) I get:
EvalError: Code generation from strings disallowed for this context

I've read this but didn't fully understand what to action from it. Could someone please advise? Thank you!
Was this page helpful?