source
Adding aliases in vite with typescript needs the same alias in tsconfig