Workers Site setting up __STATIC_CONTENT_MANIFEST and _STATIC_CONTENT

Hi,

could anyone shed any light on how the global vars __STATIC_CONTENT_MANIFEST and _STATIC_CONTENT get initialised in a workers site instance?

A quick google unearthed this github issue but the link provided in the solution no longer works.

Cheers, Andy