fix: Fixed cross platform errors and emulatorjs not opening on linux

This commit is contained in:
Simeon Radivoev 2026-03-15 16:43:07 +02:00
parent f33c928633
commit df20979afa
Signed by: simeonradivoev
GPG key ID: C16C2132A7660C8E
6 changed files with 39 additions and 18 deletions

View file

@ -49,6 +49,7 @@ export default defineConfig(({ command }) =>
minify: production,
sourcemap: production ? false : 'inline',
rollupOptions: {
preserveEntrySignatures: 'strict',
input: {
main: 'src/mainview/index.html',
login: 'src/mainview/auth/qr/index.html',
@ -58,6 +59,10 @@ export default defineConfig(({ command }) =>
manualChunks: (id
) =>
{
if (id.includes('@emulatorjs'))
{
return 'emulatorjs';
}
if (id
.includes
('node_modules'))