Closed SuperFluffy closed 6 years ago
There’s an option in bsconfig to in-line the generated is called “in-source”, see https://bucklescript.github.io/docs/en/build-configuration#package-specs
Do you have that option turned on?
Thanks for the reply! Yes, indeed, that was it. It's a bsb -init .
default, and I guessed that the behaviour should be the same between your more bare bsconfig.json
and the generated one.
I have managed to get the examples running using both the
native
and thejs
backends. I am surprised, however, thatbsb -make-world -native js
places the resultingindex.js
not inlib/js/src/
, as is expected by theindex.html
file, but puts it insrc/
.In fact, I don't have
lib/js/src
, only alib/bs/js/src
, with the following contents:Why the discrepancy?