Commit 6511afe
fix: use resolveId plugin for @content alias across all Vite environments
resolve.alias doesn't propagate to Nitro's SSR worker fetchModule.
A custom Vite plugin with resolveId hook runs in all environments.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 51087f9 commit 6511afe
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
32 | 40 | | |
33 | 41 | | |
34 | 42 | | |
| |||
0 commit comments