feat: 项目结构调整|新增依赖
This commit is contained in:
@@ -25,12 +25,12 @@ const config: ForgeConfig = {
|
||||
build: [
|
||||
{
|
||||
// `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`.
|
||||
entry: 'src/main.ts',
|
||||
entry: 'src/electron/main/main.ts',
|
||||
config: 'vite.main.config.ts',
|
||||
target: 'main',
|
||||
},
|
||||
{
|
||||
entry: 'src/preload.ts',
|
||||
entry: 'src/electron/preload/preload.ts',
|
||||
config: 'vite.preload.config.ts',
|
||||
target: 'preload',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user