Skip to content

Instantly share code, notes, and snippets.

@bsalex
Forked from joshq00/.babelrc
Created October 30, 2015 19:14
Show Gist options
  • Save bsalex/eac0d2d718eb4e0f892e to your computer and use it in GitHub Desktop.
Save bsalex/eac0d2d718eb4e0f892e to your computer and use it in GitHub Desktop.
Babel 6 : React / stage 0
{
"presets": [ "react", "es2015" ],
"plugins": [
"transform-es2015-modules-commonjs",
"transform-react-constant-elements"
]
}
{
"name": "babel-6-project",
"version": "1.0.0",
"dependencies": {
"babel-plugin-transform-es2015-modules-commonjs": "^6.0.2",
"babel-plugin-transform-react-constant-elements": "^6.0.2",
"babel-preset-es2015": "^6.0.8",
"babel-preset-react": "^6.0.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment