Payload has a Webpack (v5) bundler that you can build the Admin panel with. For now, we recommended using it because it is stable. If you are feeling a bit more adventurous you can give the Vite bundler a shot.
Out of the box, the Webpack bundler supports common functionalities such as SCSS and Typescript, but there are many cases where you may need to add support for additional functionalities.
If you need to extend the Webpack config, you can do so by passing a function to the admin.webpack
property on your Payload config.
The function will receive the Webpack config as an argument and should return the modified config.