Standalone package of bsrefmt
/usr/local/lib/node_modules/bs-platform takes 138 megabytes of space. Would it be hard to ship the code formatter, bsrefmt, as a separate package? I'm making a Docker container with many formatters in it, in which case >100M is a lot for one formatter.
@lassik so your docker image is to support the Reason syntax(legacy) or the new ReScript syntax?
Ideally both.
If I'm not mistaken, this is the current situation:
- Reason is formatted using
bsrefmt. - ReScript is formatted using
bsc -format.
And both commands come from the npm bs-platform package.
The rescript-lang/syntax repo is obsolete and will be archived soon. If this issue is still relevant, please reopen in the compiler repo (https://github.com/rescript-lang/rescript-compiler) or comment here to ask for it to be moved. Thank you for your contributions.