Admin Area > extensions
Webpack Config
Learn how to modify webpack config of the Admin app.
Can I use this?
This feature is available since Webiny v5.39.0.
What you’ll learn
- how to modify Webpack config of the Admin app
Overview
Admin app is built using a Webpack config derived from a very popular create-react-app
boilerplate for React apps. Most of what you need is already covered by the config. However, if you need to modify our default config, there’s a simple way to access and modify the default config.
Modify Webpack Config
apps/admin/webiny.config.ts
import { createAdminAppConfig } from "@webiny/serverless-cms-aws";
export default createAdminAppConfig(({ config }) => {
config.webpack(config => {
// Add your modifications here, and return the config object.
return config;
});
});