Skip to content

Commit d291b46

Browse files
author
tangmengyu.amber
committed
docs(cn): translated.
1 parent daed5af commit d291b46

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

config/index.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,21 +206,15 @@ export default defineConfig(async ({ command, mode }) => {
206206

207207
导入时想要省略的扩展名列表。注意,**** 建议忽略自定义导入类型的扩展名(例如:`.vue`),因为它会影响 IDE 和类型支持。
208208

209-
<<<<<<< HEAD
210-
### css.modules {#css-modules}
211-
=======
212-
### resolve.preserveSymlinks
213-
214-
- **Type:** `boolean`
215-
- **Default:** `false`
209+
### resolve.preserveSymlinks {#resolve-preservesymlinks}
216210

217-
Enabling this setting causes vite to determine file identity by the original file path (i.e. the path without following symlinks) instead of the real file path (i.e. the path after following symlinks).
211+
- **类型:** `boolean`
212+
- **默认:** `false`
218213

219-
- **Related:** [esbuild#preserve-symlinks](https://esbuild.github.io/api/#preserve-symlinks), [webpack#resolve.symlinks
220-
](https://webpack.js.org/configuration/resolve/#resolvesymlinks)
214+
启用此选项会使 Vite 通过原始文件路径(即不跟随符号链接的路径)而不是真正的文件路径(即跟随符号链接后的路径)确定文件身份。
221215

222-
### css.modules
223-
>>>>>>> 5e2dee8ba7a75b0cbdcffb1988f013c4261abc1a
216+
- **相关:** [esbuild#preserve-symlinks](https://esbuild.github.io/api/#preserve-symlinks)[webpack#resolve.symlinks](https://webpack.js.org/configuration/resolve/#resolvesymlinks)
217+
### css.modules {#css-modules}
224218

225219
- **类型:**
226220

0 commit comments

Comments
 (0)