rsnext/packages/next/server/lib/squoosh
Steven c3ceeb03ab
Update next/future/image to use svg blur placeholder during next dev (#39992)
This PR updates the `next/future/image` component so that CSS `filter` is never needed. Previously, we used SVG to blur for prod and CSS to blur for dev, but now we use SVG for both.

This required a shared function `getImageBlurSvg()` used between both client and server because `next dev` doesn't create Data URIs and instead defers blur generation until request time. So we also need to defer svg generation to request time (on the server) during next dev.

This is the first step to removing `<noscript>` completely (see #39736).
2022-08-29 17:19:39 -05:00
..
avif Fix squoosh image optimization for Node.js 18 (#38833) 2022-07-20 12:24:50 -04:00
mozjpeg Fix squoosh image optimization for Node.js 18 (#38833) 2022-07-20 12:24:50 -04:00
png Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
resize Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
rotate Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
webp Fix squoosh image optimization for Node.js 18 (#38833) 2022-07-20 12:24:50 -04:00
codecs.ts Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
emscripten-types.d.ts Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
emscripten-utils.ts Bump squoosh to the latest version (#29506) 2021-10-06 14:47:48 +00:00
image_data.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
impl.ts Fix next/future/image blur-up placeholder (#39785) 2022-08-23 18:56:52 -05:00
LICENSE Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
main.ts Update next/future/image to use svg blur placeholder during next dev (#39992) 2022-08-29 17:19:39 -05:00