Skip to content

allow customizing template processing in custom environments for hbs files #585

@patricklx

Description

@patricklx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions