You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the nuxt-bridge project, i have just installed and enabled vite. After i run build command, and run the server, i see duplicate javascript files on browser network tab. One is added with link tag with prefect attr to html and Other one is imported via entry-legacy javascript file. Is it expected behaviour? If not, how can i disable the one imported from entry-legacy javacript file?
Project uses SSR but feels like entry-legacy file is acting like SPA page and loads scripts again.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the nuxt-bridge project, i have just installed and enabled vite. After i run build command, and run the server, i see duplicate javascript files on browser network tab. One is added with link tag with prefect attr to html and Other one is imported via entry-legacy javascript file. Is it expected behaviour? If not, how can i disable the one imported from entry-legacy javacript file?
Project uses SSR but feels like entry-legacy file is acting like SPA page and loads scripts again.
My vite config looks like this:
nuxt config:
Beta Was this translation helpful? Give feedback.
All reactions