appuniversum / ember-appuniversum

Ember addon wrapping the appuniversum components.
https://appuniversum.github.io/ember-appuniversum
MIT License
14 stars 11 forks source link

Fix some whitespace issues #515

Closed Windvis closed 2 weeks ago

Windvis commented 2 weeks ago

Some of our components generate inline(-*) elements which are affected by surrounding whitespace. We used a {{~!~}} comment for most of these cases, but it seems comments are stripped in production builds, even if the comment also has whitespace stripping enabled.

As a workaround we now remove the actual whitespace from the source code, even though it makes things harder to read.

Once we convert to a v2 addon we can strip the whitespace at build time and revert this change.

Closes #509