mirror of
https://github.com/yldio/copilot.git
synced 2024-12-25 03:10:06 +02:00
46 lines
882 B
Plaintext
46 lines
882 B
Plaintext
{
|
|
"sourceMaps": "both",
|
|
"presets": [
|
|
"react",
|
|
["env", {
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions"
|
|
]
|
|
}
|
|
}]
|
|
],
|
|
"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
|
|
}
|
|
],
|
|
["babel-plugin-webpack-alias", {
|
|
"config": "${CONFIG}"
|
|
}]
|
|
]
|
|
}
|
|
}
|
|
}
|