TypeScript (.ts) and ESM (.mjs) config file support #2795
halvardssm
started this conversation in
Proposals
Replies: 2 comments
-
The remix.config file only supports JS and CommonJS right now, it’s directly required by the CLI I believe. There was a few discussions before about adding TS support, but team decided to don’t go that way (I don’t remember the reason but you could search in the closed issues and PRs),. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can always create a pre-build step to compile the .ts/.mjs file to .js file. It's such a small file and once you set the config, you rarely touch it again. So I'm not sure it's worth the effort. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I am adopting Remix into my new app, but I was wondering if it would be possible to support the remix config file written in TypeScript or ESM?
Beta Was this translation helpful? Give feedback.
All reactions