bs-source-files

Fetches the list of source files from a bucklescript project

Usage no npm install needed!

<script type="module">
  import bsSourceFiles from 'https://cdn.skypack.dev/bs-source-files';
</script>

README

bs-source-files

Build Status Latest release License

Fetches the list of source files from a bucklescript project

Installation

npm install --save bs-source-files

Usage

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)

License

See LICENSE