From 49899159e4b4de2ed599b97834270fb9e986d7ea Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Wed, 25 Mar 2026 09:12:16 -0400 Subject: [PATCH] Stop reading dist/ember-template-compiler.js from ember-source 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. --- packages/compat/src/compat-app.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/compat/src/compat-app.ts b/packages/compat/src/compat-app.ts index 99f0eb98dc..8059e8be77 100644 --- a/packages/compat/src/compat-app.ts +++ b/packages/compat/src/compat-app.ts @@ -356,13 +356,9 @@ export default class CompatApp { // them there, so @embroider/compat will fill in defaults. The bundles are // empty because we're just trying to keep the build from blowing up, the // actual ember modules get loaded as modules instead. - // - // The template compiler is still here so that apps using a V2 ember can - // still app.import the traditional runtime template compiler. trees.push(writeFile('vendor/ember/ember.js', () => '')); trees.push(writeFile('vendor/ember/ember-testing.js', () => '')); - const templateCompilerSrc = readFileSync(join(emberSource.root, 'dist/ember-template-compiler.js'), 'utf8'); - trees.push(writeFile('vendor/ember/ember-template-compiler.js', () => templateCompilerSrc)); + trees.push(writeFile('vendor/ember/ember-template-compiler.js', () => '')); } if (this.vendorTree) {