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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,9 @@ Give [`vite`] the ability to resolve imports using TypeScript's path mapping.
19
19
20
20
1. Install as dev dependency
21
21
22
-
2. Inject `vite-tsconfig-paths` using the `vite.config.ts` module
22
+
2. Ensure the project either has `"type": "module"` set or that the Vite config is renamed to `vite.config.mjs` / `vite.config.mts` depending on whether TypeScript is used
23
+
24
+
3. Inject `vite-tsconfig-paths` in the Vite config
0 commit comments