mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: fixing main thread lock
This commit is contained in:
parent
1eb963679e
commit
e1955e11f5
8 changed files with 1132 additions and 1107 deletions
|
@ -4,7 +4,6 @@ import {
|
|||
loadEnv,
|
||||
swcPlugin,
|
||||
externalizeDepsPlugin,
|
||||
bytecodePlugin,
|
||||
} from "electron-vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
|
||||
|
@ -34,12 +33,7 @@ export default defineConfig(({ mode }) => {
|
|||
"@resources": resolve("resources"),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
externalizeDepsPlugin(),
|
||||
swcPlugin(),
|
||||
bytecodePlugin(),
|
||||
sentryPlugin,
|
||||
],
|
||||
plugins: [externalizeDepsPlugin(), swcPlugin(), sentryPlugin],
|
||||
},
|
||||
preload: {
|
||||
plugins: [externalizeDepsPlugin()],
|
||||
|
@ -54,13 +48,7 @@ export default defineConfig(({ mode }) => {
|
|||
"@locales": resolve("src/locales"),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
svgr(),
|
||||
react(),
|
||||
vanillaExtractPlugin(),
|
||||
bytecodePlugin(),
|
||||
sentryPlugin,
|
||||
],
|
||||
plugins: [svgr(), react(), vanillaExtractPlugin(), sentryPlugin],
|
||||
},
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue