[Ionic, Vue] Base URL in Vite breaks build

Hello, please tell me when I add the base: /baseURL/ line to the vite.config.ts file.
Знімок екрана 2023-04-10 о 16.51.20

Then after the build the application does not start. without this line everything works fine. I need this line for the build on server!