Skip to content

Commit

Permalink
fix: could not resolve entry module
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed May 5, 2024
1 parent 0dd1542 commit f3463ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default defineConfig(({ mode }) => {
startup();
},
vite: {
root: resolve('.'),
build: {
assetsDir: '.',
outDir: 'dist/main',
Expand All @@ -46,6 +47,7 @@ export default defineConfig(({ mode }) => {
reload();
},
vite: {
root: resolve('.'),
build: {
outDir: 'dist/preload',
},
Expand All @@ -57,6 +59,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 f3463ed

Please sign in to comment.