We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dropLabels + bundle + default export produces invalid output
{ dropLabels: ['DROP'], format: "esm", bundle: true, }
// original code const myFunc = ()=> { DROP: {console.log("drop")} console.log("keep") } export default myFunc
// esbuild output export { entry_default as default };
setting bundle to false
bundle
// esbuild output const myFunc = () => { console.log("keep"); }; var entry_default = myFunc; export { entry_default as default };
online reproduction
The text was updated successfully, but these errors were encountered:
No issue with named export
// original code const myFunc = ()=> { DROP: {console.log("drop")} console.log("keep") } export {myFunc}
// esbuild output with both bundle true and false const myFunc = () => { console.log("keep"); }; export { myFunc };
Sorry, something went wrong.
That sure is strange. Thanks for the report. Looks like I forgot a popScope() when dropping labels.
popScope()
4d9b764
another sanity check for #3311
e330bde
No branches or pull requests
dropLabels + bundle + default export produces invalid output
setting
bundle
to falseonline reproduction
The text was updated successfully, but these errors were encountered: