i'm trying to create a custom env for ember-hbs-imports
which was working in a hacky way until 0.9.7. see https://github.com/patricklx/ember-hbs-imports/blob/main/glint/glint-hbs-imports-env.js
I just need to be able to preprocess the template contents, or even better, transform the ast. afterwards I can probably add a transform for the ts source part to add setEmitMetadata
and I would need to be able to pass globals...
not sure if there is a better way?