joyent-portal/frontend/.babelrc

46 lines
882 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",
"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
]
}
}
}