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

Load wasm files as inline base64 data urls #753

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

swissspidy
Copy link
Owner

Will make the vips.worker.js file quite big (~17MB) but reduces issues with hosts not serving wasm files with correct mime type.

Will make the `vips.worker.js` file quite big (~17MB)
@swissspidy swissspidy added the enhancement New feature or request label Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

Size Change: +1.34 MB (+18.36%) ⚠️

Total Size: 8.66 MB

Filename Size Change
build/vips-heif.********.wasm 0 B -1.27 MB (removed) 🏆
build/vips-jxl.********.wasm 0 B -800 kB (removed) 🏆
build/vips.********.wasm 0 B -2 MB (removed) 🏆
build/vips.worker.js 5.45 MB +5.42 MB (+14292.63%) 🆘
ℹ️ View Unchanged
Filename Size Change
build/100.js 91.8 kB 0 B
build/699.js 2.35 MB 0 B
build/ai.worker.js 178 kB 0 B
build/blurhash.worker.js 3.23 kB 0 B
build/canvas.worker.js 2.79 kB 0 B
build/chunk-ffmpeg.js 5.92 kB 0 B
build/chunk-selfie-segmentation.js 16.3 kB 0 B
build/dominant-color.worker.js 4.45 kB 0 B
build/ffmpeg.js 1.09 kB 0 B
build/heif.worker.js 455 kB 0 B
build/media-experiments-blocks-rtl.css 318 B 0 B
build/media-experiments-blocks.css 318 B 0 B
build/media-experiments-rtl.css 1.03 kB 0 B
build/media-experiments.css 1.03 kB 0 B
build/media-experiments.js 81.4 kB -10 B (-0.01%)
build/pdf.js 579 B 0 B
build/subtitles.js 850 B 0 B
build/view-upload-request-view-rtl.css 697 B 0 B
build/view-upload-request-view.css 699 B 0 B
build/view-upload-request.js 18.9 kB -12 B (-0.06%)

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant