diff --git a/lib/ember-addon-main.js b/lib/ember-addon-main.js index 6b1fb8ce..d3b20b07 100644 --- a/lib/ember-addon-main.js +++ b/lib/ember-addon-main.js @@ -170,7 +170,7 @@ module.exports = { let isProduction = process.env.EMBER_ENV === 'production'; - let checker = new VersionChecker(this.parent).for('ember-source', 'npm'); + let checker = new VersionChecker(this.project).for('ember-source', 'npm'); this._requiresModuleApiPolyfill = checker.exists() && checker.lt('3.27.0-alpha.1'); // add the babel-plugin-htmlbars-inline-precompile to the list of plugins