You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building with embroider 2.x and static helpers, <BasicDropdown> fails to render because it fails to resolve any of its helpers (starting with ensure-safe-component). It looks like a template compilation problem, perhaps specific to files that end up with the .hbs.js extension.
this repo demonstrates the issue, and its README describes what I've found through my investigation.
The text was updated successfully, but these errors were encountered:
Thanks for the reproduction, I see the bug. When @embroider/compat is detecting what babel plugins are present in a v1 addon, it needs to remove any template compiler that's already present so that we can use our own. But it's failing to detect the template compiler installed by the newest ember-cli-htmlbars on new-enough ember versions.
This will be the fix, I just need to look through our test suite to see why this wasn't already being covered.
I figured out why the tests don't notice this -- it's because this case only happens if some other babel plugin is preventing ember-cli-babel from parallelizing.
Broken off of #1293
When building with embroider 2.x and static helpers,
<BasicDropdown>
fails to render because it fails to resolve any of its helpers (starting withensure-safe-component
). It looks like a template compilation problem, perhaps specific to files that end up with the.hbs.js
extension.this repo demonstrates the issue, and its README describes what I've found through my investigation.
The text was updated successfully, but these errors were encountered: