Skip to content

Commit

Permalink
Update electron.vite.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cs1m0n committed Oct 11, 2024
1 parent 2c84989 commit c558dfd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions electron.vite.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { join } from 'path'
const path = require('path')
import { resolve } from 'path'

export default {
main: {
Expand Down Expand Up @@ -28,7 +27,7 @@ export default {
build: {
emptyOutDir: false,
rollupOptions: {
input: path.resolve(__dirname, 'src/index.html'),
input: resolve(__dirname, 'src/index.html'),
},
outDir: '.vite/build',
minify: true,
Expand Down

0 comments on commit c558dfd

Please sign in to comment.