As it shown in the image, after enabling vite in the project i started to see two the same file in network tab.
Project consists Nuxt, nuxt-bidge (vite), SSR. This happend after i build (npm run build) then i run preview (npm run preview) on my local machine.
I have tried to change legacy plugin but it is not it. It looks like this now:
export default defineConfig({
plugins: [
legacy({
targets: ['defaults', 'not IE 11'],
renderLegacyChunks: false,
}),
],
});
Any idea why?