We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c75344b + d291b46 commit 57a9e7aCopy full SHA for 57a9e7a
config/index.md
@@ -206,6 +206,14 @@ export default defineConfig(async ({ command, mode }) => {
206
207
导入时想要省略的扩展名列表。注意,**不** 建议忽略自定义导入类型的扩展名(例如:`.vue`),因为它会影响 IDE 和类型支持。
208
209
+### resolve.preserveSymlinks {#resolve-preservesymlinks}
210
+
211
+- **类型:** `boolean`
212
+- **默认:** `false`
213
214
+ 启用此选项会使 Vite 通过原始文件路径(即不跟随符号链接的路径)而不是真正的文件路径(即跟随符号链接后的路径)确定文件身份。
215
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}
218
219
- **类型:**
0 commit comments