File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,10 @@ declare module '*.avif' {
102
102
const src : string
103
103
export default src
104
104
}
105
+ declare module '*.cur' {
106
+ const src : string
107
+ export default src
108
+ }
105
109
106
110
// media
107
111
declare module '*.mp4' {
Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ export const KNOWN_ASSET_TYPES = [
132
132
'ico' ,
133
133
'webp' ,
134
134
'avif' ,
135
+ 'cur' ,
135
136
136
137
// media
137
138
'mp4' ,
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ export function registerCustomMime(): void {
51
51
// instead of `image/vnd.microsoft.icon` which is registered on IANA Media Types DB
52
52
// image/x-icon should be used instead for better compatibility (https://github.com/h5bp/html5-boilerplate/issues/219)
53
53
mrmime . mimes [ 'ico' ] = 'image/x-icon'
54
+ // https://mimesniff.spec.whatwg.org/#matching-an-image-type-pattern
55
+ mrmime . mimes [ 'cur' ] = 'image/x-icon'
54
56
// https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Containers#flac
55
57
mrmime . mimes [ 'flac' ] = 'audio/flac'
56
58
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
You can’t perform that action at this time.
0 commit comments