Skip to content

Commit

Permalink
feat: add '*.mov' to client.d.ts (#15189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorge-ui authored Dec 4, 2023
1 parent 5f2cdec commit d93a211
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vite/client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,14 @@ declare module '*.aac' {
const src: string
export default src
}

declare module '*.opus' {
const src: string
export default src
}
declare module '*.mov' {
const src: string
export default src
}

// fonts
declare module '*.woff' {
Expand Down
1 change: 1 addition & 0 deletions packages/vite/src/node/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export const KNOWN_ASSET_TYPES = [
'flac',
'aac',
'opus',
'mov',

// fonts
'woff2?',
Expand Down

0 comments on commit d93a211

Please sign in to comment.