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

bunfig: preload does not resolve parent-relative paths #16289

Open
DonIsaac opened this issue Jan 9, 2025 · 1 comment
Open

bunfig: preload does not resolve parent-relative paths #16289

DonIsaac opened this issue Jan 9, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DonIsaac
Copy link
Contributor

DonIsaac commented Jan 9, 2025

What version of Bun is running?

1.1.43-debug+caa6a7c5a

What platform is your computer?

Darwin 24.1.0 arm64 arm

What steps can reproduce the bug?

Paths to preload files in parent directories are not resolved from bunfig.toml's directory (if at all).

[test]
preload = "../preload.ts"

This tarball contains a repo with a minimal reproduction.
bunfig-preload.tar.gz

What is the expected behavior?

All files are preloaded

What do you see instead?

Image

Additional information

No response

@DonIsaac
Copy link
Contributor Author

DonIsaac commented Jan 9, 2025

When fixed, please move bunfig.node-test.toml back to test/js/node/bunfig.toml and update runner.node.mjs to point to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants