1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 22:20:06 +02:00
copilot/frontend/.babelrc

48 lines
938 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": [
"react-hot-loader/babel",
"transform-es2015-modules-commonjs",
"add-module-exports",
"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
],
["babel-plugin-webpack-loaders", {
"config": "${CONFIG}",
"verbose": false
2016-10-24 14:23:05 +03:00
}]
2016-10-20 04:14:26 +03:00
]
}
}
}