Skip to content

Stop reading dist/ember-template-compiler.js from ember-source#2691

Closed
NullVoxPopuli-ai-agent wants to merge 1 commit intoembroider-build:stablefrom
NullVoxPopuli-ai-agent:stop-reading-template-compiler
Closed

Stop reading dist/ember-template-compiler.js from ember-source#2691
NullVoxPopuli-ai-agent wants to merge 1 commit intoembroider-build:stablefrom
NullVoxPopuli-ai-agent:stop-reading-template-compiler

Conversation

@NullVoxPopuli-ai-agent
Copy link
Copy Markdown

Summary

ember-source v7 no longer ships dist/ember-template-compiler.js as a flat file. The template compiler now lives at dist/packages/ember-template-compiler/index.js and is consumed via package exports, not app.import.

The combinedVendor method currently does a readFileSync on this removed file, crashing the build. This PR makes the vendor ember-template-compiler.js an empty stub, matching how ember.js and ember-testing.js are already handled on lines 362-363.

app.import('vendor/ember/ember-template-compiler.js') is no longer a supported pattern — the template compiler is discovered automatically by babel-plugin-ember-template-compilation via ember-source's package.json exports.

Context

🤖 Generated with Claude Code

ember-source v7 no longer ships `dist/ember-template-compiler.js` as a
flat file. The template compiler is now at
`dist/packages/ember-template-compiler/index.js` and is consumed via
package exports, not via `app.import`.

Make the vendor `ember-template-compiler.js` an empty stub, matching how
`ember.js` and `ember-testing.js` are already handled.
@NullVoxPopuli
Copy link
Copy Markdown
Collaborator

bad bot, this is a breaking change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants