trying to deal with the build error

This commit is contained in:
itsamejms
2026-03-05 21:57:15 +00:00
parent bb71abe827
commit 84145de2cc
4 changed files with 8 additions and 3 deletions
+3
View File
@@ -1 +1,4 @@
node_modules/
dist/
release/
.DS_Store
+1 -1
View File
@@ -2,7 +2,7 @@ import { app, BrowserWindow } from 'electron';
import path from 'path';
import { fileURLToPath } from 'url';
const isDev = process.env.NODE_ENV !== 'production';
const isDev = !app.isPackaged;
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
+2 -1
View File
@@ -41,7 +41,8 @@
"package.json"
],
"directories": {
"buildResources": "build"
"buildResources": "build",
"output": "release"
}
}
}
+1
View File
@@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
base: './',
plugins: [react(), tailwindcss()],
server: {
port: 5173,