---
title: "NUXT_B5004"
description: "External config file not supported"
canonical_url: "https://nuxt.com/docs/4.x/errors/b5004"
---
# B5004

Nuxt found a standalone `vite.config` or `webpack.config` file next to your `nuxt.config`. Nuxt manages the bundler internally and ignores these files, so they are usually leftovers from a migration or a copied non-Nuxt project.

## Resolution

Move the configuration into `nuxt.config` under the matching key, then delete the external file:

- `vite.config`: use the `vite` key
- `webpack.config`: use the `webpack` key
- `nitro.config`: use the `nitro` key
- `postcss.config`: use the `postcss` key

```ts
export default defineNuxtConfig({
  vite: {
    // your Vite config here
  },
})
```

<read-more to="https://nuxt.com/docs/4.x/getting-started/configuration">



</read-more>


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
