DenoDDeno
Powered by
kingbriK
Denoβ€’16mo agoβ€’
1 reply
kingbri

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
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
nexe.js
allows users to add static files under
resources
resources
https://github.com/nexe/nexe?tab=readme-ov-file#resources

Can this be replicated in Deno?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno compile with --include
carragomCcarragom / help
5mo ago
deno compile --include argument
DNADDNA / help
3y ago
deno compile --include whatev.wasm
bennypBbennyp / help
10mo ago
Can Deno compile javascript into a dll?
GitGGit / help
13mo ago