Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit d6e0728

Browse files
committed
Release: bump up devtools-reps to 0.15.0
Add aliases and exclusion cases in the webpack config to use the standalone propTypes and React dom factories file.
1 parent 5c24826 commit d6e0728

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/devtools-reps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devtools-reps",
3-
"version": "0.14.2",
3+
"version": "0.15.0",
44
"description": "Devtools Reps",
55
"main": "src/index.js",
66
"scripts": {

packages/devtools-reps/webpack.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ webpackConfig.resolve = {
3333
alias: {
3434
"devtools/client/shared/vendor/react": "react",
3535
"devtools/client/shared/vendor/react-dom": "react-dom",
36+
"devtools/client/shared/vendor/react-dom-factories": "react-dom-factories",
37+
"devtools/client/shared/vendor/react-prop-types": "prop-types",
3638
"Services": path.join(__dirname,
3739
"node_modules/devtools-modules/client/shared/shim/Services"),
3840
}
@@ -46,6 +48,8 @@ if (!isDevelopment()) {
4648
extra.excludeMap = {
4749
react: "devtools/client/shared/vendor/react",
4850
"react-dom": "devtools/client/shared/vendor/react-dom",
51+
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
52+
"prop-types": "devtools/client/shared/vendor/react-prop-types",
4953
lodash: "devtools/client/shared/vendor/lodash",
5054
};
5155
}

0 commit comments

Comments
 (0)