fix: Fixed cross platform errors and emulatorjs not opening on linux
This commit is contained in:
parent
f33c928633
commit
df20979afa
6 changed files with 39 additions and 18 deletions
|
|
@ -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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue