webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
This commit is contained in:
parent
e87e97fce4
commit
e7d9221a71
4 changed files with 10 additions and 9 deletions
|
@ -16,7 +16,6 @@ export const uploads = ref<Uploading[]>([]);
|
|||
const compressTypeMap = {
|
||||
'image/jpeg': { quality: 0.85 },
|
||||
'image/webp': { quality: 0.85, mimeType: 'image/jpeg'},
|
||||
'image/png': { quality: 1 },
|
||||
'image/svg+xml': { quality: 1, mimeType: 'image/png'},
|
||||
} as const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue