d2 icon indicating copy to clipboard operation
d2 copied to clipboard

d2js: Create build that splits WASM file

Open alixander opened this issue 1 year ago • 0 comments

Currently it's bundled as base64 encode. This is more convenient for developers (don't have to configure their bundler for WASM files) but results in a larger file size. We should offer a build that splits it so users can make the tradeoff themselves.

alixander avatar Jan 14 '25 06:01 alixander