Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Can decompile the precompiled template  #1443

Description

@helvenk

I'm sorry that I'd like to know if the template can be decompiled? Such as the following code:

import { precompile } from '@glimmer/compiler';

const template = `<div>hello {{name}}</div>`;
const str = precompile(template);

// How to decompile the `str` to make them equal?
// decompile(str) === template  //  Can do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions