Skip to content

Correct JavaScript load order when using Vite

What does this MR do and why?

This MR fixes GitLab search results page when using Vite during local development.

The fix ensures we preserve the same loading order in Vite as in Webpack.

How to set up and validate locally

  1. Search for anything
  2. Once the search page opens everything should work and no console errors should be printed out

Merge request reports