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

output to node (Node.js) to be more runtime-agnostic #195

Closed
15 tasks done
aralroca opened this issue May 13, 2024 · 0 comments · Fixed by #441 or #448
Closed
15 tasks done

output to node (Node.js) to be more runtime-agnostic #195

aralroca opened this issue May 13, 2024 · 0 comments · Fixed by #441 or #448
Assignees
Labels
enhancement New feature or request

Comments

@aralroca
Copy link
Collaborator

aralroca commented May 13, 2024

Brisa was initially built with Bun, and there are Bun APIs that must continue to be used in runtime to go faster, such as Bun.serve, but we must adapt it to be more runtime-agnostic and if developers want the build can be generated and executed with Node.js. To do this it is necessary to indicate the type of output as node to apply different module resolution rules and optimizations.

Bun runtime dependencies to change to be compatible with Node:

@aralroca aralroca self-assigned this May 13, 2024
@aralroca aralroca added the enhancement New feature or request label May 13, 2024
@aralroca aralroca mentioned this issue May 13, 2024
26 tasks
@aralroca aralroca changed the title Export to node to be more runtime-agnostic (by default bun) output to node (Node.js) to be more runtime-agnostic Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant