#Unknown file extension ".jsx"
1 messages · Page 1 of 1 (latest)
But all my files are jsx and only my server was mjs so I had to use module type
It seems like it's something to do with you server, not remix since it built. Are you importing JSX into your server by accident somewhere?
Maybe you need "jsx": "react-jsx" in your tsconfig, because a .jsx file will be turned to .js on build
I don't have tsconfig
I don't use typescript
Also if you mention me I reply faster
Then I’m not sure why your code is trying to reference a jsx file, build should transpile that to js
Yeah I know, it used to work but when I turned the imports to relative imports this happened
Because now my project is too big and I cannot use it ../../ for imports so I use a relative import for example #app/ which accesses everything inside the app but after that it gives the error