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

Create SEA (Single executable applications) #25

Open
felipemarts opened this issue Jun 22, 2024 · 0 comments
Open

Create SEA (Single executable applications) #25

felipemarts opened this issue Jun 22, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@felipemarts
Copy link
Contributor

Bywise used pkg to encapsulate the code into an executable application, but the pkg library has been deprecated. NodeJS has a "Single Executable Applications" feature described here: https://nodejs.org/api/single-executable-applications.html

To use this feature, we first need to compile Typescript to Javascript, then compile the javascript project into a single file including all the resources and libraries.

Look at the libraries: esbuild, ncc or other similar libraries. Finally, transform this file into an exe using nodejs SEA.

@felipemarts felipemarts added the good first issue Good for newcomers label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant