You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/config/index.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ vite --config my-config.js
28
28
```
29
29
30
30
::: tip NOTE
31
-
Vite will replace `__filename`, `__dirname`, and `import.meta.url` in **CommonJS**and **TypeScript** config files. Using these as variable names will result in an error:
31
+
Vite will replace `__filename`, `__dirname`, and `import.meta.url` in config files and its deps. Using these as variable names will result in an error:
0 commit comments