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
Documentation is confusing, Example code is not working
Hello,
While reading the “Quick Start” document, I noticed that the "build" command is defined in the “Manual Installation” chapter.
{ "scripts": { "dev": "bun --watch src/index.ts", "build": "bun build src/index.ts", "start": "NODE_ENV=production bun src/index.ts", "test": "bun test" } }
However, when running the command in bun 1.1.10, the transpiled JavaScript source code is output to the standard output.
While using the --outdir flag allows exporting js files, it raises the question of whether these JS files are actually necessary.
--outdir
Isn’t bun build intended for frontend solutions like React?
bun build
Running js files instead of ts files in production doesn’t seem to provide any benefits.
Therefore, to avoid confusion, how about removing the build script from the documentation?
Thank you.
https://elysiajs.com/quick-start.html#manual-installation
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What is the type of issue?
Documentation is confusing, Example code is not working
What is the issue?
Hello,
While reading the “Quick Start” document, I noticed that the "build" command is defined in the “Manual Installation” chapter.
However, when running the command in bun 1.1.10, the transpiled JavaScript source code is output to the standard output.
While using the
--outdir
flag allows exporting js files, it raises the question of whether these JS files are actually necessary.Isn’t
bun build
intended for frontend solutions like React?Running js files instead of ts files in production doesn’t seem to provide any benefits.
Therefore, to avoid confusion, how about removing the build script from the documentation?
Thank you.
Where did you find it?
https://elysiajs.com/quick-start.html#manual-installation
The text was updated successfully, but these errors were encountered: