Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgao365 committed Dec 10, 2023
1 parent 5fb7185 commit 2dba245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export default defineConfig({

| Property | Type | Default | Description |
| --- | --- | --- | --- |
| recommended | `boolean` | `true` | If set to true, it will change the main/preload/renderer outDir to be parallel outDir. For example, if vite build.outDir is 'dist', it will change main/preload/render to 'dist/main', 'dist/preload', and 'dist/renderer'. |
| recommended | `boolean` | `true` | This option is intended to provide recommended default parameters and behavior. |
| external | `string[]` | | List of modules that should not be bundled. |
| main | [MainOptions](#MainOptions) | | Configuration options for the electron main process. |
| preload | [PreloadOptions](#PreloadOptions) | | Configuration options for the electron preload process. |
Expand Down
2 changes: 1 addition & 1 deletion README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default defineConfig({

| 参数名 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| recommended | `boolean` | `true` | 推荐开关,如果为true,将具有以下默认行为:将main/preload/renderer的outDir更改为并行的outDir;例如,如果vite build.outDir为'dist',将main/preload/render更改为'dist/main'、'dist/preload'和'dist/renderer' |
| recommended | `boolean` | `true` | 这个选项是为了提供推荐的默认参数和行为 |
| external | `string[]` | | 不打包这些模块 |
| main | [MainOptions](#MainOptions) | | electron main 进程选项 |
| preload | [PreloadOptions](#PreloadOptions) | | electron preload 进程选项 |
Expand Down

0 comments on commit 2dba245

Please sign in to comment.