Generate propTypes in all build types
This commit is contained in:
parent
daf36c9750
commit
4d8e084a35
23
app/.babelrc
23
app/.babelrc
@ -1,14 +1,13 @@
|
|||||||
{
|
{
|
||||||
"env": {
|
"plugins": [
|
||||||
"development": {
|
"@babel/plugin-syntax-jsx",
|
||||||
"plugins": [
|
"@babel/plugin-syntax-typescript",
|
||||||
"@babel/plugin-syntax-jsx",
|
[
|
||||||
"@babel/plugin-syntax-typescript",
|
"babel-plugin-typescript-to-proptypes",
|
||||||
["babel-plugin-typescript-to-proptypes", {
|
{
|
||||||
"implicitChildren": true,
|
"implicitChildren": true,
|
||||||
"typeCheck": true
|
"typeCheck": true
|
||||||
}]
|
}
|
||||||
]
|
]
|
||||||
}
|
]
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user