Fix ember-release, ember-beta and ember-canary on ember-source 7 - #194
Merged
NullVoxPopuli merged 1 commit intoAug 19, 2026
Conversation
ember-source 7.0 removed `dist/ember-template-compiler.js` and the exports
entry for it. Its wildcard export maps `./*` to `dist/{prod,dev}/packages/*`,
so the old path resolved to `dist/prod/packages/dist/ember-template-compiler.js`
and the build died with "Cannot find module" before a single test ran.
`ember-source/ember-template-compiler/index.js` resolves on both layouts, and
exports the `precompile`, `_preprocess`, and `_buildCompileOptions` that
babel-plugin-ember-template-compilation looks for.
Ran locally with `ember try:one`: ember-release (7.2.0), ember-beta (7.3.0-beta.1)
and ember-canary (7.4.0-alpha.1) each pass 187 tests. Default (6.11.0) still
passes, and the docs app still builds.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
NullVoxPopuli
approved these changes
Aug 19, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The three try scenarios have been failing on every branch, not just recent ones. They now pass.
Cause
babel.config.cjsintest-appanddocs-appsets:ember-source 7.0 removed that file and its explicit exports entry. What is left is the wildcard
"./*": "./dist/{prod,dev}/packages/*", so the old specifier resolves todist/prod/packages/dist/ember-template-compiler.js, which does not exist. The vite build fails before a single test runs:Fix
That specifier resolves on both layouts:
./*maps todist/packages/*./*maps todist/prod/packages/*anddist/dev/packages/*The module exports
precompile,_preprocessand_buildCompileOptions, which is whatbabel-plugin-ember-template-compilationreads. It also ends the "legacy ember-template-compiler.js AMD bundle" deprecation that lint prints today.Verification
Ran locally with
ember try:one:The default scenario on 6.11.0 still passes 187, and
vite buildindocs-appsucceeds.Please label this
internal.🤖 Generated with Claude Code