chore: comments

This commit is contained in:
草鞋没号 committed 2022-08-24 20:07:08 +08:00
1 parent c84a4d8194
commit bf761fc687
1 file changed
+3 -2
+3 -2
View File
@@ -22,10 +22,11 @@ export default defineConfig({
entry: 'electron/main/index.ts',
vite: {
build: {
// For debug
// For Debug
sourcemap: true,
outDir: 'dist/electron/main',
},
// Will start Electron via VSCode Debug
plugins: [process.env.VSCODE_DEBUG ? onstart() : null],
},
},
@@ -36,7 +37,7 @@ export default defineConfig({
},
vite: {
build: {
// For debug
// For Debug
sourcemap: 'inline',
outDir: 'dist/electron/preload',
}