Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
chrsgrrtt opened this issue Dec 11, 2024 · 2 comments
Open

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

chrsgrrtt opened this issue Dec 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@chrsgrrtt
Copy link
Member

chrsgrrtt commented Dec 11, 2024

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

@chrsgrrtt chrsgrrtt added the bug Something isn't working label Dec 11, 2024
@chrsgrrtt
Copy link
Member Author

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.

@chrsgrrtt
Copy link
Member Author

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

@chrsgrrtt chrsgrrtt added enhancement New feature or request and removed bug Something isn't working labels Dec 18, 2024
@chrsgrrtt chrsgrrtt changed the title build doesn't produce working executable bun build --compile could produce a single executable Dec 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant