Skip to content

Commit 3c0cc61

Browse files
feat: implement core file system management, project scaffolding, and Git integration for API documentation projects
1 parent 5fc1b75 commit 3c0cc61

25 files changed

Lines changed: 2337 additions & 18 deletions
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// electron.vite.config.ts
2+
import { resolve } from "path";
3+
import { defineConfig, externalizeDepsPlugin } from "electron-vite";
4+
import react from "@vitejs/plugin-react";
5+
import tailwindcss from "@tailwindcss/vite";
6+
var electron_vite_config_default = defineConfig({
7+
main: {
8+
plugins: [externalizeDepsPlugin({ exclude: ["electron-store"] })]
9+
},
10+
preload: {
11+
plugins: [externalizeDepsPlugin()]
12+
},
13+
renderer: {
14+
resolve: {
15+
alias: {
16+
"@": resolve("src/renderer/src")
17+
}
18+
},
19+
plugins: [react(), tailwindcss()]
20+
// server: {
21+
// port: 4174
22+
// }
23+
}
24+
});
25+
export {
26+
electron_vite_config_default as default
27+
};

electron.vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import tailwindcss from '@tailwindcss/vite'
55

66
export default defineConfig({
77
main: {
8-
plugins: [externalizeDepsPlugin()]
8+
plugins: [externalizeDepsPlugin({ exclude: ['electron-store'] })]
99
},
1010
preload: {
1111
plugins: [externalizeDepsPlugin()]

0 commit comments

Comments
 (0)