Skip to content

Conversation

@yuxi-ovo
Copy link
Contributor

@yuxi-ovo yuxi-ovo commented Dec 2, 2024

fixes #18835

@sapphi-red sapphi-red changed the title chore(node/constants): add jxl support feat: add support for .jxl Dec 2, 2024
@sapphi-red sapphi-red added the p2-nice-to-have Not breaking anything but nice to have (priority) label Dec 2, 2024
@yuxi-ovo yuxi-ovo requested a review from sapphi-red December 2, 2024 12:07
bluwy
bluwy previously approved these changes Dec 2, 2024
@bluwy bluwy added this to the 6.1 milestone Dec 2, 2024
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM👍

@patak-dev patak-dev merged commit 57b397c into vitejs:main Jan 23, 2025
15 checks passed
@lukeed
Copy link
Contributor

lukeed commented Feb 17, 2025

mrmime@2.0.1 was released which includes jxl by default, among others.

The update also includes mts -> video/mp2t so i ran the checked the Vite tests & setup a playground.. everything still seems to work ok. There always was a ts -> video/mp2t mime, so it looks like the existing overrides in place are catching mts too 👍

edit 1: nvm. imports work, but when served from static/assets dir, it doesnt. sending PR

edit 2: actually, static mts files didn't work beforehand anyway. they were always sent w/ blank Content-Type

moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Co-authored-by: 翠 / green <green@sapphi.red>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-nice-to-have Not breaking anything but nice to have (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Jpeg XL images in static handling

5 participants