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