Repository navigation
Commit fd616e3
committed
refactor(module): drop the native '@/' -> '/src/' alias expansion
Aliasing is resolution policy, and the boundary this branch drew puts
resolution policy on the dev server: Vite applies resolve.alias before a
module is ever served, so a specifier that still carries '@/' when it
reaches the runtime is one the server never rewrote. Guessing '/src/'
natively turned that configuration bug into a silent fallback; now it
fails through the normal not-found path where the import-map miss
logging makes the cause visible.1 parent 63ed317 commit fd616e3
1 file changed
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | 1824 | | |
1835 | 1825 | | |
1836 | 1826 | | |
| |||
2762 | 2752 | | |
2763 | 2753 | | |
2764 | 2754 | | |
2765 | | - | |
| 2755 | + | |
2766 | 2756 | | |
2767 | 2757 | | |
2768 | 2758 | | |
| |||
2775 | 2765 | | |
2776 | 2766 | | |
2777 | 2767 | | |
2778 | | - | |
2779 | | - | |
2780 | | - | |
2781 | | - | |
2782 | 2768 | | |
2783 | 2769 | | |
2784 | 2770 | | |
| |||
0 commit comments