emberjs / emberjs/ember-cli-babel

V1Addon with ember-source@3.28 does not work with App with ember-source@v3.25

Open
#431 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
152
Forks
115
Avg merge
23h 22m
Merged PRs (30d)
4

Description

I think it's because addons are resolving their capabilities local to them rather than the host app.
because `setComponentTemplate` (used in the output of co-located components), is referenced as `Ember._setComponentTemplate` in the app, and in the addon, referenced as: `_component.setComponentTemplate` (an import from the module (and real modules don't exist until ember-source@3.27)).

_shouldn't_ ember-cli-babel ignore whatever is going on in the addon, and determine ember-source version from the host app?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.