embroider-build / embroider

Compiling Ember apps into spec-compliant, modern Javascript.
MIT License
334 stars 136 forks source link

embroider resolver favours v2 addon template over app template for routes #2074

Open void-mAlex opened 3 weeks ago

void-mAlex commented 3 weeks ago

given a v2 addon with a following appReeports [ ... , 'routes/*/.js', 'templates/*/.js', ] with a route ./template/test.gjs (hbs works as well because they both get compiles to js files)

and an app that has its own ./template/test.hbs

you will get the addon template resolved instead of the app one even though the expectation is that the app should win

NullVoxPopuli commented 3 weeks ago

I've observed this as well