Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions desktop/electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export default defineConfig({
plugins: [externalizeDepsPlugin()]
},
renderer: {
build: {
rollupOptions: {
input: resolve('src/renderer/index.html')
}
},
resolve: {
alias: {
'@common': resolve('src/common'),
Expand Down
34 changes: 18 additions & 16 deletions desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"lint": "eslint --cache .",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
"start": "electron-vite preview",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"build:unpack": "npm run build && electron-builder --dir",
"build:win": "npm run build && electron-builder --win",
"build": "pnpm run typecheck && electron-vite build",
"build:unpack": "pnpm run build && electron-builder --dir",
"build:win": "pnpm run build && electron-builder --win",
"build:mac": "electron-vite build && electron-builder --mac",
"build:linux": "electron-vite build && electron-builder --linux",
"build:win-full": "npm run build && electron-builder --win --x64 --arm64",
"build:win-full": "pnpm run build && electron-builder --win --x64 --arm64",
"build:mac-full": "electron-vite build && electron-builder --mac --x64 --arm64",
"build:linux-full": "electron-vite build && electron-builder --linux --x64 --arm64"
},
Expand Down Expand Up @@ -65,7 +65,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.7.3",
"vite": "^6.1.0"
"vite": "6.4.3"
},
"pnpm": {
"onlyBuiltDependencies": [
Expand All @@ -74,21 +74,23 @@
"overrides": {
"js-yaml": "^4.1.1",
"esbuild@<=0.24.2": ">=0.25.0",
"vite@>=6.1.0 <6.1.2": ">=6.1.2",
"vite@>=6.1.0 <6.1.3": ">=6.1.3",
"vite@>=6.1.0 <6.1.5": ">=6.1.5",
"@babel/runtime@<7.26.10": ">=7.26.10",
"@babel/helpers@<7.26.10": ">=7.26.10",
"vite@>=6.0.0 <=6.1.5": ">=6.1.6",
"vite@>=6.1.0 <6.1.4": ">=6.1.4",
"vite@>=6.1.0 <6.1.2": "6.4.3",
"vite@>=6.1.0 <6.1.3": "6.4.3",
"vite@>=6.1.0 <6.1.5": "6.4.3",
"@babel/runtime": "7.29.7",
"@babel/runtime@<7.26.10": "7.29.7",
"@babel/helpers": "7.29.7",
"@babel/helpers@<7.26.10": "7.29.7",
"vite@>=6.0.0 <=6.1.5": "6.4.3",
"vite@>=6.1.0 <6.1.4": "6.4.3",
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
"@eslint/plugin-kit@<0.3.4": ">=0.3.4",
"tmp@<=0.2.3": ">=0.2.4",
"electron@<35.7.5": ">=35.7.5",
"vite@>=6.0.0 <=6.3.5": ">=6.3.6",
"vite@>=6.0.0 <=6.4.0": ">=6.4.1",
"vite@>=6.0.0 <=6.3.5": "6.4.3",
"vite@>=6.0.0 <=6.4.0": "6.4.3",
"minimatch@<9.0.6": ">=9.0.6",
"minimatch@>=10.0.0 <10.2.1": ">=10.2.1",
"tar@<7.5.8": ">=7.5.8",
Expand All @@ -97,4 +99,4 @@
"@isaacs/brace-expansion@<=5.0.0": ">=5.0.1"
}
}
}
}
Loading