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

slashes are facing the wrong way (Bundler) #11181

Closed
levii-pires opened this issue May 19, 2024 · 3 comments · Fixed by #11315
Closed

slashes are facing the wrong way (Bundler) #11181

levii-pires opened this issue May 19, 2024 · 3 comments · Fixed by #11315
Assignees
Labels
bug Something isn't working

Comments

@levii-pires
Copy link

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:

naming: {
      asset: "[dir]/[name].[ext]",
},

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

@levii-pires levii-pires added the bug Something isn't working label May 19, 2024
@levii-pires
Copy link
Author

@paperdave

@levii-pires
Copy link
Author

image

@paperdave
Copy link
Collaborator

odd note, this only appears when enabling sourcemaps

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

Successfully merging a pull request may close this issue.

2 participants