Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AST transform to replace curly braces #999

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Conversation

lukemelia
Copy link
Collaborator

  • This change encodes curly braces to { and } and converts them back at runtime for display
  • This is needed because when the AST transform is used within a V2 addon, the AST transform must eliminate HBS-style curly brace usage or the value cannot be written into the @source argument (causes build errors).
  • This commit also adds documentation on how to configure the AST transform to be used in a V2 addon

- This change encodes curly braces to { and } and converts them back at runtime for display
- This is needed because when the AST transform is used within a V2 addon, the AST transform must eliminate HBS-style curly brace usage or the value cannot be written into the @source argument (causes build errors).
- This commit also adds documentation on how to configure the AST transform to be used in a V2 addon
@lukemelia lukemelia merged commit 532984b into master Sep 27, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant