`deno vendor` + `/// <reference types=...>` ?

In Deno 1.46.3, it seems that
deno vendor
doesn't like to see
<reference types=''>
entries in source code. Concretely, I can't seem to call
deno vendor
in any project that eventually sees https://deno.land/std@0.224.0/crypto/_wasm/lib/deno_std_wasm_crypto.generated.mjs?source=#L5, since that causes the following error:

error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.
  Specifier: https://deno.land/std@0.224.0/crypto/_wasm/lib/deno_std_wasm_crypto.generated.d.mts
    at https://deno.land/std@0.224.0/crypto/_wasm/lib/deno_std_wasm_crypto.generated.mjs:5:22


Is that a bug?
Was this page helpful?