Quantcast
Viewing all articles
Browse latest Browse all 4827

Ember Engines (in-repo) duplicate code

@lvegerano wrote:

I have an in-repo engine that has a dependency on ember-truth-helpers. The host app also has a dependency on ember-truth-helpers. After a building the app I end up with a vendor.js and a engine-vendor.js that define the same helpers. During debug I realize that the engine when invoking the helpers it uses the definition in vendor.js not the one in engines-vendor.js. I would like to remove that (what it seems) unnecessary duplication. As the define function in the loader does not override. Is that possible?

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4827

Trending Articles