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
See this simple test on REPL. Note: in my browser, some of the code is hidden until I click in the code boxes.
With an empty default case in the first switch block, the rest of the module is deleted from the bundle. But if I un-comment the console.log in the default, then the bundle is fine.
Expected Behavior
The code after the first switch block should be retained
Actual Behavior
All code after the empty default case is deleted
The text was updated successfully, but these errors were encountered:
Thanks for the quick fix!
And many thanks for your ongoing work on Rollup! My coding life became much
more enjoyable after I started using it.
Jeshurun
On Mon, Nov 18, 2019 at 2:33 AM Lukas Taegert-Atkinson < ***@***.***> wrote:
Closed #3236 <#3236> via #3241
<#3241>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3236?email_source=notifications&email_token=AJ2CWBFDYNGZXYYFEOWYMUDQUJHNDA5CNFSM4JOHGNCKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOU5EQYDY#event-2806582287>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ2CWBGFKAP33WC5LQMLKSDQUJHNDANCNFSM4JOHGNCA>
.
How Do We Reproduce?
See this simple test on REPL. Note: in my browser, some of the code is hidden until I click in the code boxes.
With an empty default case in the first switch block, the rest of the module is deleted from the bundle. But if I un-comment the console.log in the default, then the bundle is fine.
Expected Behavior
The code after the first switch block should be retained
Actual Behavior
All code after the empty default case is deleted
The text was updated successfully, but these errors were encountered: