rsnext/test/integration/next-image-new
Steven 9cf2a3273d
fix(next/image): improve warning when fill and sizes="100vw" (#61949)
Previously, this error was confusing because it made it sound like the
`sizes` prop was missing. This was because the default value of `sizes`
is `100vw` so the previous code couldn't tell the different between
implicit vs explicit `100vw`.

This PR changes the code to read the input value from the `sizes` prop
and prints a better warning.


Fixes NEXT-2441
2024-02-12 17:32:39 +00:00
..
app-dir fix(next/image): improve warning when fill and sizes="100vw" (#61949) 2024-02-12 17:32:39 +00:00
asset-prefix Fix next-image-new/asset-prefix for Turbopack (#61224) 2024-01-26 21:58:17 +01:00
base-path Revert "feat(next/image)!: remove squoosh in favor of sharp as optional dep" (#61810) 2024-02-08 11:00:34 +00:00
both-basepath-trailingslash Update next-image-new/both-basepath-trailingslash for Turbopack (#61097) 2024-01-24 22:10:01 +01:00
default fix(next/image): improve warning when fill and sizes="100vw" (#61949) 2024-02-12 17:32:39 +00:00
export-config Add hasRedbox fix (#60522) 2024-01-15 09:36:44 +01:00
image-from-node-modules Fix image-from-node-modules tests in Turbopack (#61078) 2024-01-24 14:27:18 +01:00
invalid-image-import Update invalid-image-import test for Turbopack (#61079) 2024-01-24 14:27:35 +01:00
loader-config feat: stabilize unstable_getImgProps() => getImageProps() (#60739) 2024-01-17 18:28:49 -05:00
loader-config-default-loader-with-file feat: stabilize unstable_getImgProps() => getImageProps() (#60739) 2024-01-17 18:28:49 -05:00
loader-config-edge-runtime Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
middleware Logging improvements (#55298) 2023-09-13 15:27:02 +02:00
react-virtualized More Turbopack test fixes (#56248) 2023-10-01 17:50:03 +02:00
svgo-webpack Enable build worker by default (#59405) 2023-12-13 13:36:56 +00:00
trailing-slash Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
typescript More Turbopack fixes (#56299) 2023-10-02 13:55:23 +00:00
unicode Skip production tests for Turbopack (#56089) 2023-09-27 15:19:42 +02:00
unoptimized feat: stabilize unstable_getImgProps() => getImageProps() (#60739) 2024-01-17 18:28:49 -05:00