Why admin panel customizations need their own upgrade step
A team with a customized Strapi 4 admin panel, carrying a client logo, a custom theme, injected widgets and a webpack configuration, should treat the admin work as a separate step from the back-end upgrade. The admin build changes with the major version, so the upgrade tool and codemods alone will not bring custom admin code across. The supported path is to run the upgrade tool first, then rework the admin customizations against Strapi 5 and test them as their own workstream. Strapi v4 reached end of life on April 30, 2026, so most teams are now planning this move rather than deferring it.
Strapi 5 minor releases ship roughly weekly. Version v5.56.0 was published on September 30, v5.57.0 on October 7 and v5.58.0 on October 14, 2026, all in the same year. Admin code that works against one minor can shift against the next, so pin the exact target version in the lockfile and in the project's package manifest before the admin work starts, and record that version in the upgrade ticket. Ask the team doing the work to confirm which minor they are targeting and whether the same version will be used in staging and production. If the target moves during the project, rerun the admin checks rather than assuming the earlier results still hold.
Plan for the admin rebuild to be a distinct piece of work with its own test list: logos and favicons in the login and navigation screens, theme colors, any injected components, and any custom bundler settings. Check the Strapi Vite breaking change notes early, because they decide whether the webpack configuration is converted or kept. Ask your engineers to name each customization in writing and to record who signs off on it, so that a theme or widget that silently breaks is caught before editors see it.
Which admin changes affect custom code in Strapi 5
This table compares each admin-side change in Strapi 5 with the custom code it can break and the action your team needs to take. Read each row against your own admin folder, webpack config and plugin list to find the work that applies to your project. The main takeaway is that bundler, design system and injection points need separate checks, and a build passing does not prove that logos, themes and injected components still render.
| Change | Impact | Action needed |
|---|---|---|
| Vite as default bundler | Strapi 5 builds the admin panel with Vite instead of webpack, so a webpack config is no longer applied by default | Confirm which bundler your project uses after upgrade and check the Vite breaking change notes in the migration docs |
| Custom webpack config | Custom webpack settings, loaders and aliases do not carry over automatically under the default bundler | Convert the config to Vite equivalents, or keep webpack by running the build with --bundler=webpack and plan its removal |
| Design System v2 components | Admin code that imports older component APIs or styles may fail to compile or render differently | Inventory admin imports, replace changed components and retest every custom screen in a local build |
| Admin injection points and plugin admin code | Components injected into existing admin pages may move, change props or stop rendering after the upgrade | Review each injection and confirm its target still exists in Strapi 5 before deploying to staging |
| Logos and theme assets | Custom logos, favicons, theme colors and style overrides can revert or display incorrectly in light and dark modes | Test branding on every admin layout and theme, and confirm asset paths work with the new build output |
| Plugin admin compatibility | Third-party admin plugins may not yet support Strapi 5 or may depend on removed helpers | Check each plugin's Strapi 5 support before upgrading and confirm replacements with its maintainer |
What to inventory and back up before touching admin code
Admin customizations break in quiet ways, so the work starts with a restorable state and a written list of what exists. The cards below cover the backup, the code inventory, the injected components and a staging copy that matches production.
Back up the database first
Take a full database backup before any upgrade step, because Strapi's documentation says downgrading is not supported. Strapi 5 runs data migration scripts on first start, so a backup taken after the codemods run is not a rollback point. Confirm that the backup restores into a scratch database and that someone has tested the restore, not only the backup job. Record the Strapi version and the commit hash alongside it.
Strapi migration FAQInventory custom admin source files
List everything under src/admin, the admin entry files, and any config/admin settings that change the panel. Include theme overrides, translation files and custom React components. Note which files were written by your team and which were copied from a plugin or tutorial, because the second group is where version drift usually hides.
Record the bundler configuration
Capture every custom webpack or vite configuration file, aliases, plugins and environment variables used by the admin build. Strapi 5 makes Vite the default bundler, so any webpack config is the first thing to convert or deliberately keep with --bundler=webpack. Write down which option you choose and why, since the choice affects build scripts in CI.
List injected components and extensions
Document each place your admin code injects content, such as widgets on the homepage, custom fields, menu items, logos, and components added through admin extension hooks. For each one, note the file, the owning team and the screen where editors see it. This list becomes your re-test checklist after the upgrade, since injected components are the most likely to fail silently.
Provision a matching staging copy
Build a staging environment that uses the production database engine and version, and a Node.js version on the Active or Maintenance LTS list that Strapi 5 supports. Copy a recent production database and media set, then run the full admin build there first. Confirm the Node.js and database versions in the installation requirements before you start, because a mismatch can hide build errors until production.
Strapi CLI requirementsHow the admin conversion runs after the upgrade tool
This sequence moves custom admin code through the Strapi 5 upgrade in a fixed order, so each change is verified before the next one starts and a clear rollback point exists at every stage.
Run the upgrade tool on a copy
Take a full database backup and a copy of the code, then run the Strapi upgrade tool and its codemods against the copy, not the live project. Review every change the codemods make to files under src/admin, plugin admin folders and configuration, and keep the diff under version control. The step is done when the copy starts and the reviewer can explain each admin-related change. Rollback point: the untouched production code and the pre-upgrade database backup, which Strapi does not support downgrading without.
Decide the bundler strategy
Strapi 5 uses Vite as its default bundler, replacing webpack. Inventory any custom webpack configuration, such as aliases, loaders or plugins, and decide whether to convert it to Vite or keep webpack by running the build with the --bundler=webpack option. Record the decision and the reason in the project's upgrade notes. Confirm with your own team whether the custom webpack setup depends on packages that have Vite equivalents. Rollback point: if the decision is not settled, keep the copy on webpack until a conversion is planned.
Convert webpack config to Vite
If you chose Vite, move each custom webpack setting into the admin Vite configuration file. Typical items include path aliases, environment variables exposed to the admin, and plugins that transform imports or assets. Run the admin in development mode and load every custom page, widget and injected component once to catch missing imports. The step is done when the admin dev server starts without errors and the custom code loads in a browser. Rollback point: the webpack configuration kept in version control, which can be restored if the conversion cannot be finished.
Move customizations to Design System v2
Search custom admin code for components and helpers from the previous design system and replace them with Design System v2 equivalents. Check props, slots and event handlers, since the component APIs can differ between versions. Replace any helper or styling imports that the upgrade no longer provides. The step is done when a search for old component imports returns no results in custom admin code, and a TypeScript or lint check reports no unresolved imports. Rollback point: the branch state before this step, saved as a commit.
Build the admin
Run the production admin build on the copy and fix every error before continuing. Build errors commonly come from missing dependencies, removed exports or config keys that the new bundler does not read. Record each fix and confirm the build output is generated without warnings you cannot explain. The step is done when the production build completes and the admin serves from the built assets. Rollback point: if the admin build cannot be fixed within the agreed scope, restore the pre-upgrade database and code from the backup and keep production on the current version.
Retest logos, themes and injected components
Open the built admin as each role that uses it and check the custom logo and favicon, theme colors in light and dark modes, menu links, homepage widgets, and any components injected into existing content manager or media library screens. Compare each item against a list written before the upgrade. Confirm that content editing, publishing and media upload still work with the custom code loaded. The step is done when the checklist is signed off by the people who own the admin experience. Rollback point: the signed-off build stays on staging until the checklist passes, and production is not changed until then.
Converting webpack config or keeping webpack
Converting means moving the logic from your custom webpack configuration into a Vite configuration so the admin panel builds with the default bundler in Strapi 5. Strapi's breaking change notes state that Vite replaces webpack as the default, so this path keeps your project aligned with the bundler the core team uses for each release. The work is usually limited to the admin customization file, but it touches aliases, loaders, environment variables and any plugin that the old webpack setup relied on.
- Build speed: Vite serves the admin in development without bundling everything up front, so local feedback loops are typically faster. Measure your own project before and after, because results depend on the size of your admin code.
- Plugin compatibility: Confirm that each webpack plugin or loader you use has a Vite equivalent, or that your custom code no longer needs it.
- Aliases and imports: Re-create path aliases and import resolution in the Vite config, since a missing alias often shows up only as a runtime error in the browser.
- Future maintenance: One bundler path means future Strapi releases will change the admin build in ways you already test against.
- Environment variables: Check how your build reads environment values, because Vite exposes variables with its own naming and loading rules.
After conversion, run a production admin build, open every custom page and widget, and confirm that the logo, theme and injected components render. Ask your team to confirm the Vite plugin list before the code freeze.
Keeping webpack means your project continues to build the admin panel with webpack, which Strapi 5 supports through the --bundler=webpack option when you build or develop. This path avoids rewriting a working configuration during the upgrade, which can matter when the team needs the upgrade finished on a fixed schedule. The cost is that you carry the webpack configuration forward and must check it against each Strapi release, because the default path no longer uses it.
- Build time: Your build time stays close to what it was before the upgrade, which makes it easier to compare results during testing.
- Plugin compatibility: Keep the webpack plugins and loaders you already use, but confirm each one still works with the Strapi 5 admin code and its newer dependencies.
- Ongoing effort: Each Strapi minor release may change the admin build internals, so the custom webpack file needs regression testing on every upgrade.
- Command consistency: Every developer, script and CI job must pass the same bundler flag, or builds will differ between machines.
- Exit path: Record the webpack-specific settings so a later move to Vite is a planned task rather than an emergency.
Before choosing this path, confirm with your Strapi version's documentation that the flag is still supported in the release you plan to run. Then test the production build in CI and the admin in a staging environment that matches production.
The decision depends on how much custom webpack logic you have, how many plugins rely on it and how often your team expects to upgrade. A small configuration with a few aliases usually converts with little risk, while a configuration that depends on specialized loaders or build-time code generation needs more analysis before either path is chosen. Use this tab to organize the decision with the people who own the admin build.
- Inventory the configuration: List every alias, loader, plugin and environment variable in the webpack file.
- Check dependencies: Identify any package that exists only for webpack and decide whether it can be removed.
- Estimate upgrade cadence: Teams that upgrade often benefit more from the default path, because they test the admin build with every release.
- Assign ownership: Name who will maintain the admin build after launch, whether the in-house team or a partner under a retainer.
- Ask for a written scope: If a partner converts the configuration, the quote should name the files, the tests and the sign-off steps.
Write the decision and its reasons into the project record. This makes the choice easy to revisit when the next Strapi release changes the admin build.
What to retest after the admin build works
A clean Vite build only proves the bundle compiles. The admin panel still has to load, render and behave correctly for each role, so the cards below list what to test in a running Strapi 5 instance. Each one covers a customization that can compile without error and still fail in a browser.
Logos and favicons
Custom logos and favicons are often imported as static assets or referenced by path in the admin configuration. After the move to Vite, asset paths and public folder handling can differ from the webpack setup, so an image may build into the bundle yet return a 404 at runtime. Load the login page and the main navigation in a fresh browser session, check the browser tab icon, and confirm the logo appears at the sizes you set. Clear the cache first, because older favicons are easy to mistake for new ones.
Theme and color overrides
Theme overrides change tokens that the Design System v2 components read at render time. A value can be valid in code and still produce low contrast, unreadable disabled states or inconsistent colors in dark mode. Switch between light and dark themes, then review forms, tables, buttons and error messages. Check contrast on the screens editors use most, not only the login page.
Injected components and homepage widgets
Components injected into admin slots or homepage widgets depend on the slot names and props that Strapi 5 exposes. If a slot moved or a prop was renamed, the component may render nothing, throw an error in the console, or block the rest of the page. Open the homepage, each content manager view where you inject content, and the settings pages. Watch the browser console during these steps, since a silent failure often shows only there.
Custom language and translation files
Translation files are keyed by message IDs, and a changed or removed ID can leave raw keys visible in the interface. Custom labels added to plugins or injected components are especially exposed. Switch the admin locale to each language you ship, then check navigation, buttons, validation errors and empty states. Look for untranslated keys such as text that appears as a dotted identifier rather than a sentence.
Rich text editor extensions
Custom rich text editor extensions and toolbar actions depend on the editor integration in the admin code. After the upgrade, a toolbar button may stop appearing, or saved content may not round-trip when an editor edits an existing entry. Create a new entry and edit an old one that uses your custom blocks or formatting. Save, reload and compare the stored output with what you entered, and confirm that the preview on the front end still renders it.
Admin role visibility of custom pages
Custom admin pages and menu links must respect the permissions of each admin role. A page can be hidden from the menu yet still reachable by direct URL, or it can appear to a role that should not see it. Sign in as each admin role you use, including roles with restricted content types, and try both the menu and typed URLs. Confirm that a restricted user gets an access denied state rather than an empty or broken page.
How the admin build passes through the upgrade
The diagram starts with the v4 project and its custom admin code, which first goes through the upgrade tool and codemods. The key decision comes next: convert the webpack configuration to Vite, the Strapi 5 default bundler, or keep webpack for now. Admin components then move to Design System v2 before the admin build runs. Check that logos, themes and injected components render correctly on retest, and if a blocking failure appears, restore the pre-upgrade database and code backup, since downgrading is not supported.
Admin code path from the v4 project through codemods, bundler choice and retest.
What makes admin upgrades take longer
How much does the size of custom admin code affect upgrade effort?
The more admin code you have, and the deeper it reaches into Strapi's internals, the longer the port takes. Every custom page, field, hook and admin extension has to be read, rebuilt against the Strapi 5 admin APIs, and tested in the browser. Code that only uses documented extension points usually moves faster than code that imports internal modules or copies core components. Ask the implementer to inventory each admin file and tag it as simple, moderate or deep before agreeing a scope. The inventory is a one-time cost paid during planning, and it sets the size of the rest of the work.
Does custom webpack configuration make the Strapi 5 admin upgrade harder?
Yes, because Strapi 5 uses Vite as its default bundler, so any webpack configuration has to be converted or deliberately kept. Simple changes such as aliases or environment variables are usually quick to translate. Custom loaders, plugins or build steps that alter output need to be understood, replaced and then verified in a production build. You can keep webpack with --bundler=webpack as a temporary path, but that is a decision to record and revisit. The amount of webpack customization is the main factor in how much build work you should plan for.
How do third-party admin plugins change the upgrade workload?
Each third-party admin plugin needs to be checked for Strapi 5 compatibility, and any that are not updated must be ported or replaced. The work depends on whether the plugin already has a Strapi 5 release, whether its maintainers are active, and how much it touches the admin UI. Plugins that use the older helper-plugin package or the previous design components need the most attention. Before scoping, list every admin plugin, its version, its maintenance status and whether your team forked it. Plugin porting is often the largest unknown, so ask for it to be estimated separately.
What makes injected components and themes slow to verify?
Injected components, custom widgets and theme overrides change the layout and behavior of screens that editors use every day, so each one needs visual and functional checks. Logos, colors, dark mode and language settings can break in subtle ways after the Design System v2 components replace older ones. The effort rises with the number of injection points, the number of themes or brands, and the number of editor roles that see different screens. Build a test list that covers each injected area, each theme and each role before starting, because that list defines how much re-testing is needed.
Why does the number of environments change the admin testing effort?
Every environment that runs the admin panel needs its own build and its own test pass, including development, staging and production. Differences in environment variables, reverse proxy paths, split admin hosting or CDN settings can cause a build that works locally to fail after deployment. Teams with several environments usually spend more time on configuration checks and release coordination than on code changes. Confirm how many environments exist, who can access each one, and how builds are promoted between them.
Can our own team handle the admin upgrade without a partner?
Teams with strong frontend skills, a clear inventory of admin code and time for careful testing can often do the work in-house. The harder cases involve deep customizations, unmaintained plugins and tight release windows, where experience with the Strapi admin internals saves rework. Ask yourself whether your engineers have built admin extensions before, whether they can test each role and theme, and whether they can cover the work while keeping current delivery going. DeployOpen plans, implements and tests this work in your environment under a written, fixed scope.
What should a quote for admin customization work include?
A useful quote lists the admin inventory, the bundler decision, each plugin to port or replace, each injected component and theme, the test matrix across roles and environments, and the deliverables such as a build pipeline and test report. It should also state which items are one-time work and which recur, such as ongoing plugin maintenance or future minor upgrades. Ask how changes found during testing are handled and what triggers a change request. Compare quotes by the scope they cover rather than by headline totals.
What DeployOpen delivers for the admin conversion
The admin conversion starts with a written inventory of every piece of custom admin code in the project, agreed before any work begins. The inventory lists each custom plugin's admin entry point, custom logos and theme settings, injected components and widgets, admin language files, and any webpack configuration that customizes the build. For each item it records the Design System components used, the Strapi APIs called, and whether the item must be rebuilt, converted or removed. Because the scope is fixed and written, the client can see exactly what is covered, what is excluded, and what will be handed back for their own review.
The second deliverable is a bundler decision record that states whether the project moves to Vite, the default bundler in Strapi 5, or keeps webpack through the --bundler=webpack option. The record explains the reasoning for each custom webpack setting, notes which settings have no direct Vite equivalent, and names who approved the choice. Where the team converts the build config, DeployOpen delivers the converted configuration and a comparison showing which custom settings were carried across. Where webpack is retained, the record states how long that option is expected to be available for the planned upgrade path, which the client should confirm against the current Strapi release notes.
The third and fourth deliverables are the retest evidence and the rollback plan. Each inventoried customization gets its own test record covering logos, themes, injected components, and widgets on the admin home page, with screenshots or recorded checks from a staging copy running Strapi 5. A rollback plan states how to restore the pre-upgrade admin build and configuration if a customization fails in production, and it depends on the database and code backups described elsewhere on this page. Because Strapi does not support downgrading, the plan also names who signs off on each release. Ask the provider to confirm, in writing, what is delivered as a file, what is delivered as a verified state, and who keeps the evidence after handover.
How DeployOpen works on this
DeployOpen scopes admin panel customizations as a fixed piece of work before any code moves. We inventory the custom admin code, convert the build, rebuild affected components on Design System v2, and re-test the admin panel on a copy of your project before it reaches production.
How we scope
- The written scope lists each custom admin plugin, logo, theme, language and injected component that moves to Strapi 5.
- We record whether each webpack customization will be converted to Vite or kept on the --bundler=webpack option.
- Scope names the admin environments, browsers and test accounts used for re-testing before sign-off.
How we build
- We convert the admin build configuration to Vite and document every change to the admin config file.
- Custom components are moved to Design System v2 and checked against the admin pages where they appear.
- Logos, themes and injected components are rebuilt in a staging copy of the upgraded project and reviewed by your editors.
How we hand over
- You receive a list of admin changes, the rationale for each, and the commands used to build and run the admin panel.
- Re-test results record which admin pages, roles and injected components passed, with any open issues named.
- Your team gets a short runbook for rebuilding the admin panel after future Strapi 5 minor or patch upgrades.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing of the admin panel are available as a retainer.
- Confirm with us before signing which support window and retest scope apply after go-live.

