#Remix jsconfig.json Paths

1 messages · Page 1 of 1 (latest)

violet bramble
#

Are you using Vite? It's possible that the non-Vite Remix compiler doesn't recognize jsconfig.json, so you might need to change it to tsconfig.json to get those paths working properly.

#

If you're using Vite, then you'll need to set up the correct plugin to handle paths from jsconfig.json

green igloo
#

I don't use Vite! I will test changing the file to tsconfig.json

#

will there be a problem if I am using jsx and not tsx?

violet bramble
#

Yes, but you can add additional config options to tsconfig.json to make it recognize and check JS(X) files

green igloo
#

Wonderfull! What should I add? Is there a doc? I kind knew and its for a school project so I am still learning

violet bramble
green igloo
#

Well I just tested it and it still gives the same error!

violet bramble
#

Alas!