Fix vite configuration issues for hybrid mode

What does this MR do and why?

Fix vite configuration issues for hybrid mode

  • make sure pinia is excluded from deps to be ready for hybrid
  • remove undefined VERSION variable
  • put relative import in translate.js

Screenshots or screen recordings

N/A

In order to reproduce this - put ?vue3 to any import in vite mode and observe it is not failing

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading