i think including one in deps and one in devDeps should be the recommended approach for any real-world scenario.
- if you deploy with node-externals there’s no reason to include the compiler
- you shouldn’t be depending on implicitly included packages
- the compiler should only include dependencies that it actually needs, not include subdeps just because it’s convenient for the user of the lib
- semantically, it’s more correct to have rescript (tooling) under devDeps and runtime under deps.
i honestly think this is just a bad over-simplification, although it’s not even a big issue - now that i know about this, as a more experience rescript user, i’ll just have both installed. but i still feel the recommendation to only have rescript under deps is not just bad, it’s also incorrect