diff --git a/packages/compat/src/compat-adapters/ember-source.ts b/packages/compat/src/compat-adapters/ember-source.ts index 17484b7f4..78ac3b0e2 100644 --- a/packages/compat/src/compat-adapters/ember-source.ts +++ b/packages/compat/src/compat-adapters/ember-source.ts @@ -7,7 +7,7 @@ import { join } from 'path'; import semver from 'semver'; export default class extends V1Addon { - private useRealModules = semver.satisfies(this.packageJSON.version, '>=3.27.0', { includePrerelease: true }); + private useRealModules = semver.satisfies(this.packageJSON.version, '>=3.27.0-beta.0', { includePrerelease: true }); get v2Tree() { return mergeTrees([super.v2Tree, new Funnel(this.rootTree, { include: ['dist/ember-template-compiler.js'] })]); diff --git a/packages/compat/src/compat-app.ts b/packages/compat/src/compat-app.ts index fe5db6ddb..96774c258 100644 --- a/packages/compat/src/compat-app.ts +++ b/packages/compat/src/compat-app.ts @@ -365,7 +365,9 @@ class CompatAppAdapter implements AppAdapter { } let emberSource = this.activeAddonChildren().find(a => a.name === 'ember-source')!; - let emberNeedsModulesPolyfill = semver.satisfies(emberSource.version, '<3.27.0', { includePrerelease: true }); + let emberNeedsModulesPolyfill = semver.satisfies(emberSource.version, '<3.27.0-beta.0', { + includePrerelease: true, + }); return { activeAddons,