25 lines
466 B
Plaintext
25 lines
466 B
Plaintext
{
|
|
"presets": [
|
|
["env", {
|
|
"targets": { "node": 6 },
|
|
"useBuiltIns": true
|
|
}],
|
|
"stage-0",
|
|
"react"
|
|
],
|
|
"plugins": ["transform-export-extensions"],
|
|
"env": {
|
|
"production": {
|
|
"presets": ["react-optimize"],
|
|
"plugins": ["babel-plugin-dev-expression"]
|
|
},
|
|
"development": {
|
|
"plugins": [
|
|
"transform-class-properties",
|
|
"transform-es2015-classes",
|
|
"react-hot-loader/babel"
|
|
]
|
|
}
|
|
}
|
|
}
|