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
I’m using esbuild 0.9.1
My config
{ entryPoints: files, // all my sources outdir: 'dist', platform: 'node', format: 'cjs', target: 'node10', }
I’d like to mention, I'm not using bundle: true
bundle: true
Any export default statement failed at runtime with unexpected token '}' error.
unexpected token '}'
Output from esbuild
0 && (module.exports = { default })
It seems that default is treated as keyword default
default
Tested with node 10/12/14/15
I tested both minification or normal
Screenshot
The text was updated successfully, but these errors were encountered:
Really sorry about that. Will fix this soon. Closing as a duplicate of #960.
Sorry, something went wrong.
This has been fixed in version 0.9.2.
No branches or pull requests
I’m using esbuild 0.9.1
My config
I’d like to mention, I'm not using
bundle: true
Problem
Any export default statement failed at runtime with
unexpected token '}'
error.Output from esbuild
It seems that default is treated as keyword
default
Tested with node 10/12/14/15
I tested both minification or normal
Screenshot
The text was updated successfully, but these errors were encountered: