Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d2js: Create build that splits WASM file [help wanted] #2285

Open
alixander opened this issue Jan 14, 2025 · 0 comments
Open

d2js: Create build that splits WASM file [help wanted] #2285

alixander opened this issue Jan 14, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@alixander
Copy link
Collaborator

alixander commented Jan 14, 2025

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.

help wanted if you're familiar with JS ecosystem and builds

@cyborg-ts cyborg-ts added this to D2 Jan 14, 2025
@alixander alixander added the good first issue Good for newcomers label Jan 14, 2025
@alixander alixander changed the title d2js: Create build that splits WASM file d2js: Create build that splits WASM file [help wanted] Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: No status
Development

No branches or pull requests

1 participant