Custom Aliases don't work after migrating from 0.15 to 0.16
I recently upgraded to Wasp v0.16 because I wanted to take advantage of the custom aliases. I installed shadcn using this guide, and got it working after swapping out the import paths and such as suggested. The problem is every time I add a new shadcn component the paths get written incorrectly and I have to go fix it.
So I tried switching back to using aliases and Wasp just fails to compile with errors like
main.wasp
tsconfig.json
components.json
So I tried switching back to using aliases and Wasp just fails to compile with errors like
Cannot find module '@/lib/utils' or its corresponding type declarations. The aliases are recognized by VSCode without any problems so I'm not sure why wasp is failing on this. Below are my settingsmain.wasp
tsconfig.json
components.json
Gist
Using ShadCN with Wasp 0.12+. GitHub Gist: instantly share code, notes, and snippets.
