2015-12-28 23:34:32 +00:00
|
|
|
{
|
|
|
|
"presets": ["react", "es2015", "stage-0"],
|
|
|
|
"plugins": ["transform-decorators-legacy"],
|
|
|
|
"env": {
|
|
|
|
"development": {
|
|
|
|
"plugins": [
|
|
|
|
["react-transform", {
|
|
|
|
"transforms": [{
|
|
|
|
"transform": "react-transform-hmr",
|
|
|
|
"imports": ["react"],
|
|
|
|
"locals": ["module"]
|
|
|
|
}, {
|
|
|
|
"transform": "react-transform-catch-errors",
|
|
|
|
"imports": ["react", "redbox-react"]
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
]
|
2016-02-06 23:03:11 +00:00
|
|
|
},
|
|
|
|
"production": {
|
|
|
|
"plugins": [
|
|
|
|
"transform-react-inline-elements",
|
|
|
|
"transform-react-constant-elements"
|
|
|
|
]
|
2015-12-28 23:34:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|