Closed 53RG1005 closed 1 year ago
electron: {
build: [
{
// Main-Process entry file of the Electron App.
entry: 'electron/main.ts',
+ vite: {
+ build: {
+ outDir: 'you-directory',
+ },
+ },
},
{
onstart(options) {
// Notify the Renderer-Process to reload the page when the Preload-Scripts build is complete,
// instead of restarting the entire Electron App.
options.reload()
},
entry: 'electron/preload.ts',
},
],
outDir: 'test',
renderer: {},
},
When i set outDir it does not affect
What should i do ?