IlyaSemenov/nuxt-vite-legacy

why there is <link as="script" href="/nuxt/other.legacy"/>

Closed this issue · 1 comments

Following your steps, the entry.legacy.js can be removed successfully, but I don’t know why there is

entry-legacy.js contains the legacy build of the Vue app core (Nuxt, Vue and other deps such as oftech or ufo) for legacy browsers. It can only be "successfully removed" on modern browsers.

If you don't need legacy chunks, you can disable them with legacy: { renderLegacyChunks: false }.