-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Closed
Description
Description
I want to getting smaller inline code of Web Worker, uses another than Base64 encoding, or using compression API. I want to have API to code transform control.
Suggested solution
import WorkerCode from "./Worker.ts?worker&inline-compressed"- Vite API for control JS/TS encoding.
Alternative
No response
Additional context
In general, I currently getting big code of library (for example, 64kB (now 40kB) minified in base case). But just base64 encoding isn't always best solution, I want to reduce library size even more (at least 20kB or lower).
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.