jsx-if-else
Version:
A very lightweight and small react component that will let you write simple if and else statement with JSX syntax.
31 lines • 421 B
Plain Text
{
"presets": [
["env", {
"modules": false
}],
"react",
"stage-3"
],
"plugins": ["transform-object-rest-spread"],
"ignore": [
"lib/**/*"
],
"env": {
"test": {
"presets": [
"env",
"react",
"stage-3",
"jest"
],
"ignore": [
"lib/**/*"
]
},
"build": {
"ignore": [
"**/*.test.js"
]
}
}
}