subbedS
Denoβ€’8mo agoβ€’
1 reply
subbed

deno compile tree-shaking

hey. when using deno compile to produce a single binary, is there any tree-shaking performed?

specifically, if i perform an import such as import * as yaml from "@std/yaml"; and then only use yaml.parse and yaml.stringify from the module, will the end bundle include the rest of the module, or only those two plus any dependencies?
Was this page helpful?