Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SYNC] feat: add resolve.preserveSymlinks option (#4708) #62

Closed
github-actions bot opened this issue Sep 14, 2021 · 0 comments · Fixed by #76
Closed

[SYNC] feat: add resolve.preserveSymlinks option (#4708) #62

github-actions bot opened this issue Sep 14, 2021 · 0 comments · Fixed by #76
Labels

Comments

@github-actions
Copy link
Contributor

feat: add resolve.preserveSymlinks option (#4708) (b61b044)


+++ b/docs/config/index.md
@@ -206,6 +206,16 @@ export default defineConfig(async ({ command, mode }) => {
List of file extensions to try for imports that omit extensions. Note it is **NOT** recommended to omit extensions for custom import types (e.g. `.vue`) since it can interfere with IDE and type support.
+### resolve.preserveSymlinks
+
+- **Type:** `boolean`
+- **Default:** `false`
+
+  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).
+
+- **Related:** [esbuild#preserve-symlinks](https://esbuild.github.io/api/#preserve-symlinks), [webpack#resolve.symlinks
+  ](https://webpack.js.org/configuration/resolve/#resolvesymlinks)
+
### css.modules
- **Type:**
@github-actions github-actions bot added the sync label Sep 14, 2021
@Gumball12 Gumball12 mentioned this issue Sep 26, 2021
Gumball12 added a commit that referenced this issue Jan 6, 2022
Gumball12 added a commit that referenced this issue Feb 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants