Skip to content

Instantly share code, notes, and snippets.

@micahnz
Created March 8, 2017 16:34
Show Gist options
  • Save micahnz/9af2bbf295ceeab35c8b25304e5ae1c3 to your computer and use it in GitHub Desktop.
Save micahnz/9af2bbf295ceeab35c8b25304e5ae1c3 to your computer and use it in GitHub Desktop.
{
"presets": [
"latest",
"react",
"stage-3"
],
"plugins": [
[
"transform-runtime",
{
"polyfill": true,
"regenerator": true
}
],
[
"module-resolver",
{
"root": ["./src", "./app_modules"],
}
],
[
"extensible-destructuring",
{
"mode": "optout",
"impl": "immutable"
}
],
[
"lodash",
{
"id": ["lodash", "recompose"]
}
],
"transform-class-properties",
"transform-decorators-legacy",
"transform-export-extensions",
"transform-object-rest-spread",
"transform-promise-to-bluebird",
"transform-async-to-bluebird",
"pipe-composition"
],
"env": {
"library": {
"plugins": [
[
"babel-plugin-webpack-loaders",
{
"config": "./webpack.library.config.js",
"verbose": false
}
]
]
},
"production": {
"plugins": [
       "transform-react-constant-elements",
"transform-react-inline-elements",
       "transform-react-remove-prop-types"
     ]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment