mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-08-17 02:14:01 +02:00
47 lines
866 B
Plaintext
47 lines
866 B
Plaintext
{
|
|
"presets": [
|
|
["env", {
|
|
"targets": {
|
|
"browsers": [
|
|
"last 3 Chrome versions",
|
|
"last 3 Firefox versions",
|
|
"last 3 Safari versions",
|
|
"last 3 Edge versions",
|
|
"IE 11"
|
|
]
|
|
},
|
|
"useBuiltIns": true
|
|
}],
|
|
"react"
|
|
],
|
|
"plugins": [
|
|
"transform-class-properties",
|
|
["transform-object-rest-spread", {
|
|
// use built-in `Object.assign`
|
|
"useBuiltIns": true
|
|
}]
|
|
],
|
|
"env": {
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-constant-elements"
|
|
]
|
|
},
|
|
"development": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
},
|
|
"test": {
|
|
"plugins": [
|
|
"transform-react-jsx-source",
|
|
"transform-react-jsx-self"
|
|
]
|
|
}
|
|
},
|
|
"ignore": [
|
|
"**/libs/**"
|
|
]
|
|
}
|