-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add WebVTT (.vtt) format to build-in assets type list #15514
Labels
Comments
Feel free to contribute this feature. The changes are similar to this: #15189 |
@bluwy Can I try it? |
Sure. Go ahead! |
Thanks for the quick contributions y'all 😅 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
WebVTT is the official subtitles and captions format for media, it's very useful to support it to import as a resolved URL. And it's widely used in all browsers.
Suggested solution
Add "vtt" type in
vite/packages/vite/src/node/constants.ts
Lines 98 to 133 in b44c493
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: