Convert remix.config.js into remix.config.ts #2934
Replies: 3 comments 12 replies
-
You can add code to remix.config, not just configuration properties (like the routes config). There's a rejected PR to support remix.config.ts #438 But the comments include a patch to add it if you want. |
Beta Was this translation helpful? Give feedback.
-
It's not like JSON is any more type-safe. What's the big deal with having a JavaScript file? |
Beta Was this translation helpful? Give feedback.
-
My feeling is that the official Remix team doesn't care about the feelings of the developers who use their framework. In addition to the "obsessive compulsive disorder" needs you said, I have also asked the official other questions and needs, such as: As you can see, even a lot of developers feel the same about issues and requirements, and until this year the Remix official team hasn't made any changes. I hope the official Remix team is aware of this:We love the Remix framework, and we ask questions or requests in the hope that it will get better and better, that it will become more comfortable to use, and that more developers will like and use Remix. |
Beta Was this translation helpful? Give feedback.
-
For a project that's supposed to be Typescript focused, it's a little odd that when creating a base project it still uses a server.js file and remix.config.js file. I was able to convert my server.js to server.ts with some work but I can't seem to convert remix.config.js to remixconfig.json (or remixconfigrc like eslint and prettier) in order to make the project purely Typescript. Can you please provide a way to use remixconfig.json for making the project completely Typescript?
Beta Was this translation helpful? Give feedback.
All reactions