Commit 44a11cb
fix: enable MDX component imports in Quick Mode (#83)
Quick Mode symlinks the docs directory into .barodoc/src/content/docs/.
Without preserveSymlinks, Vite resolves symlinks to their real paths,
causing module resolution to fail since node_modules lives in .barodoc/.
Adding preserveSymlinks: true to the generated Astro config ensures
imports like `@barodoc/theme-docs` resolve from the symlink location.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent c19f1a8 commit 44a11cb
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
285 | 290 | | |
286 | 291 | | |
287 | 292 | | |
| |||
0 commit comments