Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docusaurus/docs/cms/admin-panel-customization/bundlers.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ export default (config) => {
</TabItem>
</Tabs>

:::tip
Strapi also supports the `.mts` file extension for Vite config files (`vite.config.mts`), for projects that use explicit ESM module resolution in their `package.json`. This is useful as Vite's CJS Node API is [deprecated since Vite 6](https://v6.vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated) and will be removed in a future version.
:::

## Webpack

In Strapi 5, the default bundler is Vite. To use <ExternalLink to="https://webpack.js.org/" text="webpack"/> as a bundler you will need to pass it as an option to the `strapi develop` command:
Expand Down
Loading