#Remix jsconfig.json Paths
1 messages · Page 1 of 1 (latest)
If you're using Vite, then you'll need to set up the correct plugin to handle paths from jsconfig.json
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?
Yes, but you can add additional config options to tsconfig.json to make it recognize and check JS(X) files
Wonderfull! What should I add? Is there a doc? I kind knew and its for a school project so I am still learning
https://www.typescriptlang.org/tsconfig#allowJs
- allowJs - Required
- checkJs - Optional
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
Well I just tested it and it still gives the same error!
Alas!