Skip to content

Commit e194df3

Browse files
committed
docs(cn): fix conflicts
1 parent f45cbda commit e194df3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

config/index.md

+1-9
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,7 @@ export default defineConfig(async ({ command, mode }) => {
483483

484484
当需要再 Windows Subsystem for Linux (WSL) 2 上运行 Vite 时,如果项目文件夹位于 Windows 文件系统中,你需要将此选项设置为 `{ usePolling: true }`。这是由于 Windows 文件系统的 [WSL2 限制](https://github.com/microsoft/WSL/issues/4739) 造成的。
485485

486-
<<<<<<< HEAD
487-
Vite 服务器默认会忽略对 `.git/``node_modules/` 目录的监听。如果你需要对 `node_moduels/` 内的包进行监听,你可以为 `server.watch.ignored` 赋值一个取反的 glob 模式,例如:
488-
=======
489-
The Vite server watcher skips `.git/` and `node_modules/` directories by default. If you want to watch a package inside `node_modules/`, you can pass a negated glob pattern to `server.watch.ignored`. That is:
490-
>>>>>>> d5d2157ac752c867656b31c22a6d79715312cc7b
486+
Vite 服务器默认会忽略对 `.git/``node_modules/` 目录的监听。如果你需要对 `node_modules/` 内的包进行监听,你可以为 `server.watch.ignored` 赋值一个取反的 glob 模式,例如:
491487

492488
```js
493489
export default defineConfig({
@@ -760,11 +756,7 @@ export default defineConfig({
760756
- **类型:** `boolean`
761757
- **默认:**`outDir``root` 目录下,则为 `true`
762758

763-
<<<<<<< HEAD
764759
默认情况下,若 `outDir``root` 目录下,则 Vite 会在构建时清空该目录。若 `outDir` 在根目录之外则会抛出一个警告避免意外删除掉重要的文件。可以设置该选项来关闭这个警告。该功能也可以通过命令行参数 `--emptyOutDir` 来使用。
765-
=======
766-
By default, Vite will empty the `outDir` on build if it is inside project root. It will emit a warning if `outDir` is outside of root to avoid accidentally removing important files. You can explicitly set this option to suppress the warning. This is also available via command line as `--emptyOutDir`.
767-
>>>>>>> d5d2157ac752c867656b31c22a6d79715312cc7b
768760

769761
### build.brotliSize {#build-brotlisize}
770762

0 commit comments

Comments
 (0)