Open dolbyzerr opened 3 weeks ago
Interestingly enough it's working with deno bundle -> deno compile
deno bundle main.ts
deno compile --allow-env --allow-read --allow-write --allow-net --output bin/main-bundled main.js
./bin/main-bundled # hello world
I've created a simple repo to demonstrate https://github.com/dolbyzerr/deno-dax-compile-test
I suspect that it's related to wasm module but not really sure.
FWIW, this is working for me:
> deno --version
deno 1.44.2 (release, aarch64-apple-darwin)
v8 12.6.228.9
typescript 5.4.5
> bin/main-bundled
hello world
> bin/main
hello world
I am trying to use
dax
to build an internal cli.Minimal example is
It compiles just fine but when I try to execute
./dax_test
it just hangs without any error.Is it something that I am doing wrong?