Skip to content

Commit

Permalink
docs: remove viteNext (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
qeleb authored Jan 15, 2024
1 parent 4c5f042 commit b0282ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ export default defineConfig({
},
],
},
/**
* If you are using vite that version higher than 5.0.0-beta.13, you can set viteNext to true to align vite's config
*/
viteNext: false,
}),
],
})
Expand Down Expand Up @@ -161,7 +157,6 @@ export default defineConfig({
| inject | `InjectOptions` | - | Data injected into HTML |
| minify | `boolean|MinifyOptions` | - | whether to compress html |
| pages | `PageOption` | - | Multi-page configuration |
| viteNext | `boolean` | false | set to true to support the latest version of vite |

### InjectOptions

Expand Down
5 changes: 0 additions & 5 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ export default defineConfig({
},
],
},
/**
* 如果你使用的 vite 版本高于 5.0.0-beta.13,可以将 viteNext 设置为 true 来进行兼容
*/
viteNext: false,
}),
],
})
Expand Down Expand Up @@ -163,7 +159,6 @@ export default defineConfig({
| inject | `InjectOptions` | - | 注入 HTML 的数据 |
| minify | `boolean|MinifyOptions` | - | 是否压缩 html |
| pages | `PageOption` | - | 多页配置 |
| viteNext | `boolean` | false | 用于开启是否兼容最新版本的 vite |

### InjectOptions

Expand Down

0 comments on commit b0282ed

Please sign in to comment.