Skip to content

Conversation

@fansenze
Copy link
Contributor

@fansenze fansenze commented Jan 26, 2026

Summary

  • Add gzip compression for rslint.wasm during build process, reducing file size from 32MB to 6.4MB (~80% reduction)
  • Add decompressGzip function in worker using browser's native DecompressionStream API to handle .gz files
  • Update Playground to use the compressed .wasm.gz file
  • Add scripts/gzip-wasm.mjs for cross-platform gzip compression
  • Fix Windows CI disk space issue by reducing test parallelism (-parallel 4 -p 1)
image

Checklist

[x] Tests updated (or not required).
[x] Documentation updated (or not required).

- Add gzip compression step in build process (32MB -> 6.4MB)
- Add decompressGzip function in worker to handle .gz files
- Update Playground to use compressed wasm file
- Add gzip-wasm.mjs script for cross-platform compression
@netlify
Copy link

netlify bot commented Jan 26, 2026

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit 5f0a984
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/69771ebd036ea70008752a7e
😎 Deploy Preview https://deploy-preview-445--rslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jan 26, 2026

Deploying rslint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5f0a984
Status: ✅  Deploy successful!
Preview URL: https://f481be24.rslint.pages.dev
Branch Preview URL: https://feat-zip-wasm-20260126.rslint.pages.dev

View logs

Use -parallel 4 -p 1 on Windows to limit concurrent tests and reduce
disk usage. Other platforms use -parallel 8 for faster execution.
@chenjiahan chenjiahan merged commit c208b5c into main Jan 26, 2026
19 checks passed
@chenjiahan chenjiahan deleted the feat/zip-wasm-20260126 branch January 26, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants