Open lydell opened 2 years ago
Hi, thanks for that question. Rescript comes with Runtime libaries, that is why it is nessary.
I do not know of a way to compile rescript without these runtime libaries. My goal is to move to Elm at some point.
So yeah, your comment is noted. I will be leaving this issue open until I know for sure if I will stick with reasonML or not.
I've also switched prepublish
to prepublishOnly
. Thanks.
The package.json has
rescript
as a dependency:https://github.com/Orasund/elm-pen/blob/a470dc2f693979b89473dcea087cc1711cc0b332/package.json#L32
It’s 190 MB to download: https://packagephobia.com/result?p=rescript
Is it really needed? Should it be in devDependencies instead? Also, maybe one can exclude the .res files from the npm package?
(Also note that "prepublish" is deprecated: https://docs.npmjs.com/cli/v8/using-npm/scripts#prepare-and-prepublish)