brisa-build / brisa

The Web Platform Framework.
https://brisa.build
MIT License
429 stars 11 forks source link

output to `deno` to be more runtime-agnostic #196

Open aralroca opened 6 months ago

aralroca commented 6 months ago

Brisa was initially built with Bun, and there are Bun APIs that must continue to be used in runtime to go faster, like Bun.serve, but it is necessary to adapt it to be more runtime-agnostic and if the developers want the build can be generated and executed with Deno. To do this it is necessary to indicate the type of output because different module resolution rules and optimizations will be made. We did the same with Node.js in the past (now Node.js is a viable output), before version 1.0 it would be nice to do the same with Deno.

aralroca commented 4 weeks ago

Maybe we can use this: https://srvx.unjs.io/