Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

How to generate all compiled code in a single folder?

$
0
0

I’m not sure if you thought I had but I never asked or expected anyone to invest the time to fix bs-platform v9.

Upgrading is pretty much my only option it seems. I’ve been spending the past week or so trying to update. It’s not easy at all, unfortunately. After I went through and compiled various dependencies to rescript, I thought it would be as simple as setting uncurried: false in my bsconfig, but that breaks the dependencies which are uncurried-compatible. I don’t know why uncurried is a global setting and not per-bsconfig.json (now rescript.json!).

Anyway upgrading is a huge hurdle, there’s a ton of work to do to get everything working again. We have about 200k lines of rescript code in our codebase, not to mention in dependencies (funny that @fham mentioned relude, I had to completely rewrite one of our libraries to get rid of that one because I figured there’d be no way I could get it to work uncurried…).

We kind of slept through the whole discussion about curried/uncurried that happened a few years ago on this forum, it’s funny, practically no one mentioned in that discussion how this change would break thousands of modules… but what’s done is done. Slowly but surely we’ll get our code where it needs to be to upgrade.


Viewing all articles
Browse latest Browse all 2592

Trending Articles