One of our projects uses an internal addon which ships its own html-safe helper.
Even though we've configured ember-cli-string-helpers to not include the html-safe helper, there's a conflict between the two because the html-safe app export of ember-cli-string-helpers is still included in the final build.
Of course, we've removed our own custom helper, because there's no point in reinventing the wheel, but I just wanted to share this issue (even though it's and edge case).
Version
v5.0.0
Test Case
Steps to reproduce
ember-cli-string-helpers
lowercase
Expected Behavior
my-app.js
only includes thelowercase
app export.Actual Behavior
my-app.js
includes the app exports of all string helpers.By "app export" I mean, the re-exports defined in this addon's
app
folder. These can be filtered out as well using thetreeForApp
hook.Ember Composable Helpers example.
But Why?
One of our projects uses an internal addon which ships its own
html-safe
helper. Even though we've configuredember-cli-string-helpers
to not include thehtml-safe
helper, there's a conflict between the two because thehtml-safe
app export ofember-cli-string-helpers
is still included in the final build.Of course, we've removed our own custom helper, because there's no point in reinventing the wheel, but I just wanted to share this issue (even though it's and edge case).
It would also save some bytes.