Skip to content
New issue

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

Convert Ctrl-Q source code from CommonJS to ESM / ECMAScript #400

Closed
mountaindude opened this issue Feb 19, 2024 · 0 comments · Fixed by #401, #422, #425, #427 or #429
Closed

Convert Ctrl-Q source code from CommonJS to ESM / ECMAScript #400

mountaindude opened this issue Feb 19, 2024 · 0 comments · Fixed by #401, #422, #425, #427 or #429

Comments

@mountaindude
Copy link
Contributor

mountaindude commented Feb 19, 2024

The future is ECMAScript... Especially when looking at the various libraries used in Ctrl-Q, they are more and more migrating to ESM/ECMAScript.

The plan is to convert the source code to ESM and use that going forward.
When creating Ctrl-Q binaries esbuild will be used to create a single source code file in CJS format, as that's still needed to create binaries on top of Node.JS. That is expected to change sooner or later, then the ESM code should be usable also for creating binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment