Skip to content

Instantly share code, notes, and snippets.

@AgtLucas
Forked from FiberJW/bsconfig.json
Created January 23, 2018 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AgtLucas/e3c3e17203b5e094a0e2c099215b17ba to your computer and use it in GitHub Desktop.
Save AgtLucas/e3c3e17203b5e094a0e2c099215b17ba to your computer and use it in GitHub Desktop.
Example ReasonReact BuckleScript Configuration
{
"name": "<Your App Name Here />",
"reason": {
"react-jsx": 2
},
"bsc-flags": ["-bs-super-errors"],
"bs-dependencies": ["reason-react"],
"sources": [
{
"dir": "./src",
"subdirs": true
}
],
"refmt": 3,
"package-specs": {
"module": "commonjs",
"in-source": true
},
"js-post-build": {
"cmd": "prettier --write"
},
"suffix": ".bs.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment