3102899f69
Starting in Node.js 18, the `fetch` global was made available and that caused the squoosh implementation to assume it was on a web browser and try to fetch the wasm file instead of reading it from the filesystem. This PR deletes the code trying to fetch since we know that squoosh only runs in the Image Optimization API, not the browser. - Fixes #38020 - Enables a test that was disabled in #38460 |
||
---|---|---|
.. | ||
avif | ||
mozjpeg | ||
png | ||
resize | ||
rotate | ||
webp | ||
codecs.ts | ||
emscripten-types.d.ts | ||
emscripten-utils.ts | ||
image_data.ts | ||
impl.ts | ||
LICENSE | ||
main.ts |