Fetches the list of source files from a bucklescript project
npm install --save bs-source-files
Assuming process.cwd()
points to the root directory of your bucklescript project:
const bsFiles = require('bs-source-files')
const bsconfig = require('./bsconfig.json')
bsFiles(bsconfig).then(console.log)
See LICENSE