Closed ef4 closed 1 year ago
I've fixed the underlying issue in ember-cli-showdown and released that recently: https://github.com/empress/ember-cli-showdown/releases/tag/v7.0.0
Now I still need to fix some of the other dependency issues with showdown extensions and #133 should be good to go 🙃
guidemaker-ember-template depends on ember-cli-showdown.
ember-cli-showdown provides showdown via an old-school
app.import
which puts it into vendor.js.But guidemaker-ember-template
Those three things together are the conditions that tell ember-auto-import it's supposed to pull showdown into the app. This becomes an extra copy in addition to the one in vendor.js.
Sometimes this is only bad for bloat, but depending on the implementation-specific ordering of the two copies, it can also mean that the copy of showdown that gets extensions registered might not be the same copy that the components actually try to use.
I found this while investigating https://github.com/embroider-build/embroider/issues/1501.