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
@rwjblue I really like this project :) and greatly appreciate your involvement to move the community forward!
I started converting one of my addons today and found that when I destructure assert from @ember/debug the compiled output omits it for some odd reason. When I did some source diving I found what looks like a missing dependency (shown in the snippet at the bottom of this issue).
^^ In the above I see how warn would be injected/ and then wired up to the export but ... I don't see the same for assert. If this is the root cause, what project (or sub project) should land the PR to fix this so others can destructure assert without issue? Thank you in advance!
The text was updated successfully, but these errors were encountered:
tldr; The assert import is supposed to be stripped in production builds. You may or may not have an issue, but we need to understand the actual circumstances a bit more first to diagnose.
Also, this will likely end up being an issue over on ember-cli-babel (not the "once and done" codemod).
@rwjblue yup -thanks for the direction. At this time I think I'll need to open an issue w/ ember-cli-babel describing my use case (of assert) to better understand the path forward
@rwjblue I really like this project :) and greatly appreciate your involvement to move the community forward!
I started converting one of my addons today and found that when I destructure assert from
@ember/debug
the compiled output omits it for some odd reason. When I did some source diving I found what looks like a missing dependency (shown in the snippet at the bottom of this issue).import { assert } from '@ember/debug';
^^ In the above I see how warn would be injected/ and then wired up to the export but ... I don't see the same for assert. If this is the root cause, what project (or sub project) should land the PR to fix this so others can destructure assert without issue? Thank you in advance!
The text was updated successfully, but these errors were encountered: