mirror of https://github.com/VERT-sh/VERT.git
fix: revert support for AVIF, KXL, and HEIF
some weird issue with vite not bundling the dynamicLibraries
This commit is contained in:
parent
dbf5c2a481
commit
e9ea02198f
|
@ -34,8 +34,8 @@ export class VipsConverter extends Converter {
|
|||
".tiff",
|
||||
".jfif",
|
||||
//".heif", HEIF files that are encoded like HEIC files (and HEIC files in general) aren't supported due to https://github.com/kleisauke/wasm-vips/issues/3
|
||||
".avif",
|
||||
".jxl",
|
||||
//".avif", there is an issue with vite not bundling the wasm-vips' dynamicLibraries wasm files correctly
|
||||
//".jxl",
|
||||
];
|
||||
|
||||
public readonly reportsProgress = false;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Vips from "wasm-vips";
|
||||
|
||||
const vipsPromise = Vips({});
|
||||
const vipsPromise = Vips({ dynamicLibraries: [] });
|
||||
|
||||
vipsPromise
|
||||
.then(() => {
|
||||
|
|
Loading…
Reference in New Issue