rsnext/packages/next/build/webpack/plugins/wellknown-errors-plugin
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
..
index.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
parseBabel.ts Pre-compile more dependencies continued (#32679) 2021-12-21 16:13:45 +01:00
parseCss.ts Fix typos (#35683) 2022-03-28 22:53:51 -05:00
parseNotFoundError.ts Add pretty error when image import is invalid format (#41267) 2022-10-11 18:22:13 +02:00
parseRSC.ts Improve error messages of server compilation (#41136) 2022-10-03 20:19:25 +00:00
parseScss.ts Skip loading unused plugins in next dev (#37430) 2022-06-03 14:47:16 -04:00
simpleWebpackError.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
webpackModuleError.ts Add pretty error when image import is invalid format (#41267) 2022-10-11 18:22:13 +02:00