Skip to content

Investigate Bun single-file executable #1

@snorremd

Description

@snorremd

See the documentation. Bun supports bundling the Bun app as a single executable. Imported filed (ts, js, etc) as well as the Bun runtime gets bundled into a compiled executable file. This makes the Bun app more portable.

The only issue for now is getting the htmx.min.js and responseFormat.js files from the node_module folder into the executable. Currently it does not seem like Bun support overriding loaders per import. For now providing a Docker image should be enough to make the app easily runnable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions