reejs icon indicating copy to clipboard operation
reejs copied to clipboard

Make reejs work on edge runtimes, Deno & Bun for real.

Open renhiyama opened this issue 1 year ago • 2 comments

Although reejs markets as fully compatible with edge runtimes, deno & bun, it actually fails to deliver so.

I want to see both reejs cli & code/apps generated from packit completely run on those runtimes.

renhiyama avatar Oct 02 '23 16:10 renhiyama

image It's working tho? Or is this not what you're thinking of?

goesbyabhi avatar Oct 03 '23 21:10 goesbyabhi

Bun has the least worries since it can continue with the nodejs polyfills. However I want packit to generate code that uses Bun specific API instead of node:fs , node:path and others if possible. And now considering how Bun has native transpilation, I want to see it being included by default in src/imports/specialFileImport.js. Code generation happens in src/cli/utils/Packit.js fyi.

Deno still doesnt work properly with reejs, I want to see it working too, and the edge runtimes such as cloudflare workers, netlify, vercel, fly.io, deno deploy & others, I want to see them succeed too!

renhiyama avatar Oct 04 '23 01:10 renhiyama