d2
d2 copied to clipboard
d2js: Create build that splits WASM file
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.