Last active
February 21, 2018 13:12
-
-
Save richsilv/9e9630ff18e983eb6c22c7bc57b93d5b to your computer and use it in GitHub Desktop.
Example bsconfig.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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