We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.8+89d25807f
Microsoft Windows NT 10.0.22631.0 x64
Just have an asset. Import it. Bun.build it with this config:
Bun.build
naming: { asset: "[dir]/[name].[ext]", },
Lets say that the asset is at src/assets/asset.png And the entrypoint is at: src/foo.ts
src/assets/asset.png
src/foo.ts
The asset path should be ./assets/asset.png
./assets/asset.png
./assets\asset.png
No response
The text was updated successfully, but these errors were encountered:
@paperdave
Sorry, something went wrong.
odd note, this only appears when enabling sourcemaps
paperdave
Successfully merging a pull request may close this issue.
What version of Bun is running?
1.1.8+89d25807f
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
Just have an asset. Import it.
Bun.build
it with this config:What is the expected behavior?
Lets say that the asset is at
src/assets/asset.png
And the entrypoint is at:
src/foo.ts
The asset path should be
./assets/asset.png
What do you see instead?
./assets\asset.png
Additional information
No response
The text was updated successfully, but these errors were encountered: