Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

bun build --compile could produce a single executable #2

Open

Description

@chrsgrrtt

This would be nice - but there are issues with dynamic import of config, controllers and workers when compiling

Activity

  1. chrsgrrtt commented on Dec 17, 2024

    @chrsgrrtt
    MemberAuthor

    It seems to stem from compiling when the worker is not in the same directory as the file being compiled. Possible quick fix is to have create-h4-app generate the queue and schedule workers into the project root - and split their handlers out into functions to be imported from the module.

  2. chrsgrrtt commented on Dec 18, 2024

    @chrsgrrtt
    MemberAuthor

    Going to park this one for now - it's a nice to have

  3. added
    enhancementNew feature or request
    and removed
    bugSomething isn't working
    on Dec 18, 2024
  4. changed the title [-]`build` doesn't produce working executable[/-] [+]`bun build --compile` could produce a single executable[/+] on Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions