- Notifications
You must be signed in to change notification settings - Fork1.2k
Closed
Description
dropLabels + bundle + default export produces invalid output
{dropLabels: ['DROP'],format: "esm",bundle: true,}
// original codeconstmyFunc=()=>{ DROP:{console.log("drop")}console.log("keep")}exportdefaultmyFunc
// esbuild outputexport{entry_defaultasdefault};
settingbundle
to false
// esbuild outputconstmyFunc=()=>{console.log("keep");};varentry_default=myFunc;export{entry_defaultasdefault};
Metadata
Metadata
Assignees
Labels
No labels