Skip to content

Commit

Permalink
fix(npmrc): remove props type import from code base
Browse files Browse the repository at this point in the history
  • Loading branch information
opensrc0 committed Mar 22, 2024
1 parent 3a2e3cf commit db939a4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@
"env": {
"minify": {
"presets": ["@babel/preset-env", ["babel-preset-minify"]],
"plugins": ["transform-react-remove-prop-types"]
"plugins": [["transform-react-remove-prop-types", {
"mode": "remove",
"removeImport": true,
"ignoreFilenames": ["node_modules"]
}]]
},
"production": {
"plugins": ["transform-react-remove-prop-types"]
"plugins": [["transform-react-remove-prop-types", {
"mode": "remove",
"removeImport": true,
"ignoreFilenames": ["node_modules"]
}]]
}
}
}

0 comments on commit db939a4

Please sign in to comment.