Skip to content

Commit

Permalink
fix: could not resolve entry module (fixes #190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed May 5, 2024
1 parent 850c076 commit 5f78e99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export default defineConfig(({ mode }) => {
startup()
},
vite: {
root: resolve('.'),
build: {
assetsDir: '.',
outDir: 'dist/main',
Expand All @@ -47,6 +48,7 @@ export default defineConfig(({ mode }) => {
reload()
},
vite: {
root: resolve('.'),
build: {
outDir: 'dist/preload'
}
Expand All @@ -58,6 +60,7 @@ export default defineConfig(({ mode }) => {
electronPluginConfigs.push({
entry: 'src/main/index.dev.ts',
vite: {
root: resolve('.'),
build: {
outDir: 'dist/main'
}
Expand Down

0 comments on commit 5f78e99

Please sign in to comment.