1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-11 04:20:05 +02:00
copilot/frontend/.babelrc

47 lines
907 B
Plaintext
Raw Normal View History

2016-10-20 04:14:26 +03:00
{
"sourceMaps": "both",
"presets": [
2016-12-12 12:56:48 +02:00
"react",
["env", {
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
2016-10-20 04:14:26 +03:00
],
"plugins": [
"styled-components",
2016-10-20 04:14:26 +03:00
"react-hot-loader/babel",
"transform-es2015-modules-commonjs",
"transform-exponentiation-operator",
"syntax-async-functions",
["transform-object-rest-spread", {
"useBuiltIns": true
}],
["fast-async", {
"runtimePatten": "directive",
"compiler": {
"promises": false,
"es7": true,
"lazyThenables": true
}
}]
],
"env": {
"test": {
"plugins": [
"transform-async-to-generator", [
"transform-runtime", {
"polyfill": false,
"regenerator": false
}
2016-10-24 14:23:05 +03:00
],
2016-12-14 00:09:04 +02:00
["babel-plugin-webpack-alias", {
"config": "${CONFIG}"
2016-10-24 14:23:05 +03:00
}]
2016-10-20 04:14:26 +03:00
]
}
}
}