First, thanks for creating such a great language.
I notice that including the rescript
node module as a dependency causes it to build an entire compiler, with native executables, under node_modules/rescript
. It also creates runtime dependencies under node_modules/rescript/lib
.
That works fine for development.
However, I am using Google Cloud Functions, and I do not want the build server to download and build the entire native rescript compiler (I’m not even sure what it would do). But I do need to tell it about the runtime dependencies.
What I’ve been doing is using webpack so there are no runtime dependencies. This works fine, and I haven’t run into any problems. But I wonder for tidiness sake if it might make sense to separate the compiler, which could be included under "devDependencies"
, from the runtime library, which could be included under "dependencies"
?