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.0
Linux 5.10.102.1-microsoft-standard-WSL2 x86_64 and Microsoft Windows NT 10.0.22631.0 x64
main.tsx
import { App } from './app' import React from 'react' export const Main = () => { return ( <div> <h1>Main</h1> <App /> </div> ) }
app.tsx
import React from 'react' export const App = () => { return ( <div> <h1>Main</h1> </div> ) }
bun build --no-bundle ./src/main.tsx --outdir=dist
bun build --no-bundle ./src/main.tsx --outdir=dist [5ms] transpile
The dist directory is created, but no file is included, dist is found empty.
The problem occurs in WSL, Windows and Linux.
If I try to place this
jsx="preserve"
in the bunfig.toml I also get an error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.0
What platform is your computer?
Linux 5.10.102.1-microsoft-standard-WSL2 x86_64 and Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
main.tsx
app.tsx
What is the expected behavior?
What do you see instead?
The dist directory is created, but no file is included, dist is found empty.
Additional information
The problem occurs in WSL, Windows and Linux.
If I try to place this
in the bunfig.toml I also get an error
name: --no-bundle doesn't work with multiple files
labels: bug, build, --no-bundle
The text was updated successfully, but these errors were encountered: