WASM file not included in dependencies
Open
- Dominant language
- Rust
- Stars
- 1.3k
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
I'm using a Deno module that has some WASM code included (https://github.com/unyt-org/typescript-transpiler) and after running dnt, `transpiler_bg.wasm` is missing in the `deps` folder.
Working around this issue with
```ts
async postBuild() {
const res = await fetch(
"https://deno.land/x/ts_transpiler@v0.0.2/js/transpiler_bg.wasm",
);
await Deno.writeFile(
"npm/esm/deps/deno.land/x/ts_transpiler@v0.0.2/js/transpiler_bg.wasm",
new Uint8Array(await res.arrayBuffer()),
);
}
```
works just fine, so I'm assuming that this could be a bug in dnt 😅
Contributor guide
Assessment
This issue has not been assessed yet.