neondatabase / neonctl

Neon CLI tool. The Neon CLI is a command-line interface that lets you manage Neon Serverless Postgres directly from the terminal.
https://neon.tech/docs/reference/neon-cli
Apache License 2.0
51 stars 10 forks source link

fix: remove top-level await to prevent rollup failure #260

Closed duskpoet closed 1 month ago

luixo commented 1 month ago

Can you describe the problem?

duskpoet commented 1 month ago

https://github.com/neondatabase/neonctl/actions/runs/10079958146/job/27868540553

duskpoet commented 1 month ago

the rollup build wouldn't parse the source file as a commonjs module if there is a top-level await :(