Regarding an edge case in resolve.alias.
Seeing the issue in dev;
- Open up a terminal
vite dev- Open the page, open the console
- Observe that the second import fails
Seeing that the issue is not present in prod;
- Open up a terminal
vite build, thenvite preview- Open the page, open the console
- Observe that both imports succeed