1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/frontend/.babelrc
2016-12-12 10:56:48 +00:00

48 lines
938 B
Plaintext

{
"sourceMaps": "both",
"presets": [
"react",
["env", {
"targets": {
"browsers": [
"last 2 versions"
]
}
}]
],
"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
}
],
["babel-plugin-webpack-loaders", {
"config": "${CONFIG}",
"verbose": false
}]
]
}
}
}