Skip to content

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

@arthurpeixotomelo

Description

@arthurpeixotomelo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions