How do I compile a html javascript package into a single, static binary? - eviltoast

Title. I’m trying to compile this but I can’t seem to do so with node.js.

Thanks in advance.

  • blackstampede@sh.itjust.works
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I think generally when a tool says that it’s compiling JavaScript into a binary, it’s just packaging it with a lightweight browser basically. Python has kind of the same thing - they have compilers that build executables, but really they’re just packaging a Python interpreter with your script.