Skip to content

Commit e4ec548

Browse files
committed
leave propTypes in the build, the consumer can remove if required
1 parent fd01dc2 commit e4ec548

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"presets": ["@babel/preset-env", "@babel/preset-react"],
33
"plugins": [
44
[
5-
"babel-plugin-transform-react-remove-prop-types",
65
{
76
"mode": "unsafe-wrap",
87
"ignoreFilenames": ["node_modules"]

package-lock.json

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
"sideEffects": false,
5555
"peerDependencies": {
5656
"react": "^16.0",
57-
"react-dom": "^16.0",
5857
"prop-types": "^15.0",
5958
"gl-matrix": "^3.0.0"
6059
},
@@ -72,7 +71,6 @@
7271
"@babel/preset-env": "^7.4.4",
7372
"@babel/preset-react": "^7.0.0",
7473
"babel-eslint": "^10.0.1",
75-
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
7674
"cross-env": "^5.2.0",
7775
"enzyme": "^3.9.0",
7876
"enzyme-adapter-react-16": "^1.13.0",

0 commit comments

Comments
 (0)