Skip to content

Convert to esm #77

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

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Convert to esm #77

merged 1 commit into from
Mar 25, 2025

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Mar 25, 2025

This is a breaking change because you must use this plugin in contexts where babel is allowed to be asynchronous.

For ember-cli users, if you have ember-cli-babel 8.x and allow your deps to update to compatible patch releases, async plugins like this will work for you.

The major benefit is that this plugin can now load the ember template compiler and AST transforms via ESM.

@ef4 ef4 merged commit ad59df3 into main Mar 25, 2025
4 checks passed
@github-actions github-actions bot mentioned this pull request Mar 25, 2025
@ef4 ef4 added the breaking label Mar 25, 2025
@github-actions github-actions bot mentioned this pull request Mar 26, 2025
moisesbramirez added a commit to retailnext/ember-bem-helpers that referenced this pull request May 7, 2025
Per [author's pull request note]:

> For ember-cli users, if you have ember-cli-babel 8.x and allow your
> deps to update to compatible patch releases, async plugins like this
> will work for you.

Hoping this [fixes the Parsing error coming from Babel].

[author's pull request note]:
emberjs/babel-plugin-ember-template-compilation#77

[fixes the Parsing error coming from Babel]:
https://github.com/retailnext/ember-bem-helpers/actions/runs/14869650382/job/41754910951?pr=597#step:6:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant