esbuild 0.9.2
-
Fix export name annotations in CommonJS output for node (#960)
The previous release introduced a regression that caused a syntax error when building ESM files that have a default export with
--platform=node. This is because the generated export contained thedefaultkeyword like this:0 && (module.exports = {default});. This regression has been fixed.