Skip to content

Instantly share code, notes, and snippets.

@richsilv
Last active February 21, 2018 13:12
Show Gist options
  • Save richsilv/9e9630ff18e983eb6c22c7bc57b93d5b to your computer and use it in GitHub Desktop.
Save richsilv/9e9630ff18e983eb6c22c7bc57b93d5b to your computer and use it in GitHub Desktop.
Example bsconfig.json
{
"name": "reason-react-example",
"bsc-flags": ["-bs-no-version-header", "-bs-super-errors"],
"reason": {"react-jsx" : 2},
"bs-dependencies": [
"reason-react",
"bs-fetch",
"@glennsl/bs-json"
],
"sources": [
{
"dir": "src",
"subdirs": true
}
],
// here's a config to make the JS artifacts output alongside your Reason files:
// "package-specs": {
// "module": "commonjs",
// "in-source": true,
// },
"suffix": ".bs.js",
"refmt": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment