You can also do this natively with Node, since v18: https://nodejs.org/api/single-executable-applications.html#s...