mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-26 15:01:18 +08:00
fix: ensure process.cwd() correct.
This commit is contained in:
@@ -25,8 +25,10 @@ export default (env = 'production') => {
|
||||
}),
|
||||
alias({
|
||||
entries: [
|
||||
{ find: '@main', replacement: join(__dirname, '../src/main'), },
|
||||
{ find: '@root', replacement: join(__dirname, '..'), },
|
||||
{ find: '@render', replacement: join(__dirname, '../src/render') },
|
||||
{ find: '@main', replacement: join(__dirname, '../src/main') },
|
||||
{ find: '@src', replacement: join(__dirname, '../src') },
|
||||
{ find: '@root', replacement: join(__dirname, '..') },
|
||||
]
|
||||
}),
|
||||
],
|
||||
|
Reference in New Issue
Block a user