Skip to content

Commit

Permalink
Remove loose-envify dep and browserify configs (facebook#28480)
Browse files Browse the repository at this point in the history
Browserify isn't widely used, and at this point I don't think it makes
sense to have a special config just for the sake of it. Let's remove it?
  • Loading branch information
gaearon authored and AndyPengc12 committed Apr 15, 2024
1 parent ea7804e commit d0605bb
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 74 deletions.
8 changes: 1 addition & 7 deletions packages/react-art/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"dependencies": {
"art": "^0.10.1",
"create-react-class": "^15.6.2",
"loose-envify": "^1.1.0",
"scheduler": "^0.23.0"
},
"peerDependencies": {
Expand All @@ -39,10 +38,5 @@
"Circle.js",
"Rectangle.js",
"Wedge.js"
],
"browserify": {
"transform": [
"loose-envify"
]
}
]
}
8 changes: 0 additions & 8 deletions packages/react-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,5 @@
},
"peerDependencies": {
"react": "^17.0.0"
},
"dependencies": {
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
6 changes: 0 additions & 6 deletions packages/react-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"homepage": "https://react.dev/",
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "^0.23.0"
},
"peerDependencies": {
Expand Down Expand Up @@ -89,10 +88,5 @@
"browser": {
"./server.js": "./server.browser.js",
"./static.js": "./static.browser.js"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
8 changes: 0 additions & 8 deletions packages/react-interactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,7 @@
"engines": {
"node": ">=0.10.0"
},
"dependencies": {
"loose-envify": "^1.1.0"
},
"peerDependencies": {
"react": "^17.0.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
6 changes: 0 additions & 6 deletions packages/react-reconciler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@
"react": "^18.2.0"
},
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "^0.23.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
8 changes: 1 addition & 7 deletions packages/react-server-dom-turbopack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@
},
"dependencies": {
"acorn-loose": "^8.3.0",
"neo-async": "^2.6.1",
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"loose-envify"
]
"neo-async": "^2.6.1"
}
}
8 changes: 1 addition & 7 deletions packages/react-server-dom-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,6 @@
},
"dependencies": {
"acorn-loose": "^8.3.0",
"neo-async": "^2.6.1",
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"loose-envify"
]
"neo-async": "^2.6.1"
}
}
8 changes: 0 additions & 8 deletions packages/react-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,5 @@
},
"peerDependencies": {
"react": "^17.0.0"
},
"dependencies": {
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
8 changes: 0 additions & 8 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,5 @@
},
"engines": {
"node": ">=0.10.0"
},
"dependencies": {
"loose-envify": "^1.1.0"
},
"browserify": {
"transform": [
"loose-envify"
]
}
}
10 changes: 1 addition & 9 deletions packages/scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
"url": "https://github.com/facebook/react/issues"
},
"homepage": "https://react.dev/",
"dependencies": {
"loose-envify": "^1.1.0"
},
"files": [
"LICENSE",
"README.md",
Expand All @@ -27,10 +24,5 @@
"unstable_post_task.js",
"cjs/",
"umd/"
],
"browserify": {
"transform": [
"loose-envify"
]
}
]
}

0 comments on commit d0605bb

Please sign in to comment.