Skip to content

Instantly share code, notes, and snippets.

@FiberJW
Created January 18, 2018 22:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save FiberJW/5f79700b0e528071ae74acec3a36af59 to your computer and use it in GitHub Desktop.
Save FiberJW/5f79700b0e528071ae74acec3a36af59 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