Closed zploskey closed 6 years ago
Adding "namespace": true,
to bs-node's bsconfig.json seems to allow a peaceful coexistence. The library can then be used BsNode.Node.Buffer
etc. Does this seem reasonable as at least part of the API is currently incompatible with bs-platform?
That seems reasonable. Mind sending a PR this way?
Calling Node.Path.resolve() breaks the build when using bs-platform 2.2.2.
I think this is because the type signatures differ between bucklescript's
resolve
and the one included here. BS has it asstring -> string -> string
, whereas the one here takes an array of strings using[@@bs.splice]
.Not sure what the best way to deal with this is. We actually only really wanted to use the Buffer module.