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

precompress static .wasm assets #2360

Open
abhay-agarwal opened this issue Apr 11, 2024 · 0 comments
Open

precompress static .wasm assets #2360

abhay-agarwal opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request p2-nice-to-have

Comments

@abhay-agarwal
Copy link

abhay-agarwal commented Apr 11, 2024

The list of mime types in your handler compressPublicAssets is missing application/wasm. The link provided near this list includes that type. It seems like Nitro should, too.

https://github.com/unjs/nitro/blob/9e2cd8af32b2ea803b52ca0df282c588356161a2/src/compress.ts#L83C1-L131C4

@pi0 pi0 changed the title Compressed WASM Support precompress static .wasm assets May 16, 2024
@pi0 pi0 added enhancement New feature or request p2-nice-to-have labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p2-nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants