mirror of
https://github.com/yldio/copilot.git
synced 2024-11-10 21:30:06 +02:00
48 lines
830 B
Plaintext
48 lines
830 B
Plaintext
{
|
|
"sourceMaps": "both",
|
|
"presets": [
|
|
"react",
|
|
["env", {
|
|
"modules": false,
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions"
|
|
]
|
|
}
|
|
}]
|
|
],
|
|
"plugins": [
|
|
"inline-react-svg",
|
|
"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"
|
|
}
|
|
}]
|
|
]
|
|
},
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-constant-elements"
|
|
]
|
|
}
|
|
}
|
|
}
|