Sandboxed / Scoped function

slightly off-topic, but there are production-scenarios where you want to deploy a single, rolled-up js-file, rather than multiple es-module files.

some way to sandbox es-modules so you can roll them up into a single-file would be useful.