-
Notifications
You must be signed in to change notification settings - Fork 37
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
feat(experimental): sew 33 implement a bun http server #381
Draft
Tzal3x
wants to merge
74
commits into
main
Choose a base branch
from
alextzimas/sew-33-experimental-replace-nextjs-with-bun-http-server
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat(experimental): sew 33 implement a bun http server #381
Tzal3x
wants to merge
74
commits into
main
from
alextzimas/sew-33-experimental-replace-nextjs-with-bun-http-server
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is better than a non-exhaustive switch statement. Plus it follows the Open/Closed Principle - extend by adding to map, not modifying code. The main tradeoff is that it's slightly more abstract than a switch statement. It becomes more valuable as we add more variants.
asserts in typescript only log the errors, they don't throw an exception as in other languages.
Separates the configuration/setup files and middleware code from the source files.
…ker (#379) There is no need to include all those static files in the common lib, as they are highly dependent to the landing page implementation. Changelog: - Move the static files to the service worker - temporarily keep the 404 and hash mishmatch html templates in a `common/html_templates/` dir.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Base automatically changed from
alextzimas/sew-25-replace-node-runtime-with-bun
to
main
February 3, 2025 09:18
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Nextjs only supports a webpack bundler.
I wanted to create a small experiment and create a bun-http server portal that can benefit from the ultra fast bundling speed of bun.
Current issue: Not able to run a bundled js file.
To reproduce:
cd portal/bun-server && bun run build && bun run out/index.js
. 🐛Seems to be a bun issue. I reported it here: oven-sh/bun#16941