NUXTB5004
En esta página
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 thevitekeywebpack.config: use thewebpackkeynitro.config: use thenitrokeypostcss.config: use thepostcsskey
export default defineNuxtConfig({
vite: {
// your Vite config here
},
})
::read-more{to="/docs/getting-started/configuration"} ::