Closed jacojoubert closed 5 years ago
I do not understand how all the pieces interact here because if I install ember-angle-bracket-invocation-polyfill
as a devDependency (as opposed to a dependency) it appears to properly merge the classes. I wrote this test after code that used to work stopped working when switching it to a dependency for my addon. Why would this be?
// my-button
<button class="button" ...attributes>
{{yield}}
</button>
// dummy app
<MyButton class="primary">Button</MyButton>
Output as dependency
Output as devDependency
This test fails. Expected behaviour is that if you create a component
and invoke it using
That the final element created would be
but currently only the
primary
class gets assigned.