Closed ef4 closed 8 years ago
It's possible to workaround this within an app by creating app/components/x-toggle.js
explicitly and doing the reexport:
export { default } from 'ember-cli-toggle/components/x-toggle/component';
Already fixed with 0.6.1https://github.com/knownasilya/ember-cli-toggle/commit/3705bcc59a73aa00b406849c40ad7ec27ac30158 see the 0.x branch.
If an app customizes
podModulePrefix
, their resolver won't findapp/components/x-toggle/component.js
.I think the only way for addons to remain 100% compatible is to stick with the stock structure (app/components/x-toggle.js).