rsnext/packages/next/build/webpack
Steven d2c23bb5e8
Refactor image optimization util (#43868)
This PR doesn't change any behavior, its just refactoring.

- renamed `webpack/loaders/next-image-loader.js` to `.ts`
- moved duplicate code into shared function `optimizeImage()`
  - support `height` as optional param
  - convert `extension` to `contentType`
2022-12-12 05:02:52 +00:00
..
config Refactoring in @next/font (#43848) 2022-12-08 12:43:11 -08:00
loaders Refactor image optimization util (#43868) 2022-12-12 05:02:52 +00:00
plugins Support for named slots in type checking (#43906) 2022-12-09 23:29:57 +01:00
require-hook.ts Bundle ssr client layer excepts react externals (#41606) 2022-10-22 16:33:51 -07:00
stringify-request.ts Update loader-utils (#30743) 2021-11-02 16:13:15 +01:00
utils.ts Improve type checking (#41427) 2022-10-19 18:28:36 +02:00