kingbri
kingbri3mo ago

Include DLL files in deno compile

I'm currently building a CLI application with Deno that I want to compile into a standalone executable which uses FFI. I learned about deno compile, but I'm also stuck on how to include the DLLs that are used via FFI in my output binary. I don't want to include the DLLs separately after the binary is built, but I want to be able to ship a single binary. For example, nexe.js allows users to add static files under resources https://github.com/nexe/nexe?tab=readme-ov-file#resources Can this be replicated in Deno?
1 Reply
Leokuma
Leokuma5w ago
Deno Blog
Deno 2.1: Wasm Imports and other enhancements
Deno 2.1 introduces first-class Wasm imports, built-in tracing with OpenTelemetry, faster deno compile, and improved package management.

Did you find this page helpful?