feat(babel): Strip prop types (#3122)
* feat(babel): Strip prop types * chore(babel): Indent * fix(babel): Move babel-plugin-transform-react-remove-prop-types to dependencies
This commit is contained in:
parent
25e5aa645d
commit
f18a6c2cf2
3 changed files with 17 additions and 0 deletions
10
.babelrc
10
.babelrc
|
@ -33,6 +33,16 @@
|
|||
"production": {
|
||||
"plugins": [
|
||||
"lodash",
|
||||
[
|
||||
"transform-react-remove-prop-types",
|
||||
{
|
||||
"mode": "remove",
|
||||
"removeImport": true,
|
||||
"additionalLibraries": [
|
||||
"react-immutable-proptypes"
|
||||
]
|
||||
}
|
||||
],
|
||||
[
|
||||
"transform-runtime",
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue