mirror of
https://github.com/yldio/copilot.git
synced 2024-12-01 07:30:07 +02:00
52 lines
918 B
Plaintext
52 lines
918 B
Plaintext
{
|
|
"sourceMaps": "both",
|
|
"presets": [
|
|
"react",
|
|
["env", {
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions"
|
|
]
|
|
}
|
|
}]
|
|
],
|
|
"plugins": [
|
|
"transform-class-properties",
|
|
["transform-object-rest-spread", {
|
|
"useBuiltIns": true
|
|
}],
|
|
["transform-react-jsx", {
|
|
"useBuiltIns": true
|
|
}],
|
|
"transform-exponentiation-operator"
|
|
],
|
|
"env": {
|
|
"development": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
},
|
|
"test": {
|
|
"presets": [
|
|
["env", {
|
|
"targets": {
|
|
"node": "current"
|
|
}
|
|
}]
|
|
],
|
|
"plugins": [
|
|
["babel-plugin-webpack-alias", {
|
|
"config": "${CONFIG}"
|
|
}]
|
|
]
|
|
},
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-constant-elements"
|
|
]
|
|
}
|
|
}
|
|
}
|