vite
Type
External
Status
Published
Created
Mar 5, 2026
Updated
Mar 5, 2026

import Intro from '/docs/snippets/breaking-change-page-intro.md'
import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md'

Vite is the default bundler in Strapi 5#

In Strapi 5, Vite is the default bundler.

Breaking change description#

In Strapi v4

Webpack is the default bundler.

In Strapi 5

is the default bundler.

Migration#

Manual procedure#

Users with custom webpack configurations need to convert to configurations, or alternatively set --bundler=webpack when starting the development server to keep the Strapi v4 behaviour; in the latter case, the terminal will issue a warning. Please refer to the bundlers documentation for additional details.