chore: comments

This commit is contained in:
草鞋没号 2022-08-24 20:07:08 +08:00
parent c84a4d8194
commit bf761fc687
1 changed files with 3 additions and 2 deletions

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',
}