rsnext/packages
Steven 9e1d04dd93
Add pretty error when image import is invalid format (#41267)
This PR improves the error message when an invalid image is imported. It
also ensures the page that imported the image is displayed.

### Before

<img width="1062" alt="image"
src="https://user-images.githubusercontent.com/229881/194674177-70f4ae73-64c9-497f-8e20-098f949a4219.png">


### After

<img width="1002" alt="image"
src="https://user-images.githubusercontent.com/229881/194716285-27dd3455-60a9-440f-a50e-eff8d49e764b.png">

Co-authored-by: Balázs Orbán <info@balazsorban.com>
2022-10-11 18:22:13 +02:00
..
create-next-app v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
eslint-config-next v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
eslint-plugin-next v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
font v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next Add pretty error when image import is invalid format (#41267) 2022-10-11 18:22:13 +02:00
next-bundle-analyzer v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-codemod v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-env v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-mdx v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-plugin-storybook v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-polyfill-module v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-polyfill-nomodule v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
next-swc v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
react-dev-overlay v12.3.2-canary.24 2022-10-10 17:05:15 -07:00
react-refresh-utils v12.3.2-canary.24 2022-10-10 17:05:15 -07:00