I setup a project using CRA. Now VS code inserts inputs that have ~ to point to a root folder. CRA fails to compile this... How do I fix it?
I tried setting up ~ in the paths section in tsconfig.json in the root folder (actually, I am not sure if CRA build uses it, I think I might've copied it from elsewhere and forgot :) ):
"baseUrl": "./src",
"paths": { "~/*": "./src/*" },