Hey, thanks for this project, it looks like a great way to bring nice Deno code to the browser!
Is your feature request related to a problem? Please describe.
I'd like to use denopack to bundle any deno std library not using the Deno APIs.
I tried bundling a project but it fails with Uncaught Error: Terser is not supposed to return nothing!.
I narrowed down the problem to having export { createHash } from 'https://deno.land/std@0.65.0/hash/mod.ts' in my deps.ts file and my assumption, comparing with other imports from std that can get compiled correctly, is that it's because the std/hash module uses WASM imports.
Describe the solution you'd like
Rollup has a WASM plugin that would be great to support in denopack, either as a plugin or in core.
Alternatively, if there is an easy way to convert/wrap existing Rollup plugins to denopack ones it could be a good option.
Describe alternatives you've considered
Using deno bundle + minifier
Thanks!