Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Ability to use relative paths when "bun build --compile" #16010

Open
DanielZ1337 opened this issue Dec 27, 2024 · 0 comments
Open

Ability to use relative paths when "bun build --compile" #16010

DanielZ1337 opened this issue Dec 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@DanielZ1337
Copy link

DanielZ1337 commented Dec 27, 2024

What is the problem this feature would solve?

When using import.meta.url, __dirname or whatever it might be to use relative paths inside the compiled executable, all paths will start with "B:\\~BUN\\root\\"

Note: I am on Windows 10. Don't know if this helps anything, but added for more context.

What is the feature you are proposing to solve the problem?

If I have a compiled executable and run it at "c:\users\<username>\Documents\compiled_executable.exe", the path should be "c:\users\<username>\Documents"

What alternatives have you considered?

No response

@DanielZ1337 DanielZ1337 added the enhancement New feature or request label Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant