tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Lesson 273 - Use 'deno compile' for better parity between bun and deno

Open arthurpeixotomelo opened this issue 1 month ago • 1 comments

Deno has the same compile feature as bun has, so to achieve reliable test parity with Bun, the Deno application should be compiled. Additionally deno has deno bundle feature that bundles and minifies with esbuild, even though compile has its own minification, bundle could be used and tested to see if it could provide additional perfomance improvements or parity with the bun compile feature.

The build compile task:

deno compile --allow-env --allow-net --allow-read --allow-sys app.js

arthurpeixotomelo avatar Dec 04 '25 23:12 arthurpeixotomelo

THank you!

antonputra avatar Dec 05 '25 00:12 antonputra