Fixed broken feature flag import for DT inline package (#21237)
Brian Vaughn committed
Apr 11, 2021 at 14:59 UTC
9d48779b362ef773da50fef95af6998b560c75c0
3 files changed
+10
-2
packages/react-devtools-inline/package.json
+1
-1
@@ -1,6 +1,6 @@
1
{
2
"name": "react-devtools-inline",
3
- "version": "4.11.0",
3
+ "version": "4.11.1",
4
"description": "Embed react-devtools within a website",
5
"license": "MIT",
6
"main": "./dist/backend.js",
packages/react-devtools-inline/webpack.config.js
+5
-1
@@ -33,11 +33,15 @@ module.exports = {
33
react: 'react',
34
// TODO: Once this package is published, remove the external
35
// 'react-debug-tools': 'react-debug-tools',
36
- 'react-devtools-feature-flags': resolveFeatureFlags('inline'),
36
'react-dom': 'react-dom',
37
'react-is': 'react-is',
38
scheduler: 'scheduler',
39
},
40
+ resolve: {
41
+ alias: {
42
+ 'react-devtools-feature-flags': resolveFeatureFlags('inline'),
43
+ },
44
+ },
45
optimization: {
46
minimize: false,
47
},
packages/react-devtools/CHANGELOG.md
+4
@@ -9,6 +9,10 @@
9
<!-- Upcoming changes go here -->
10
</details>
11
12
+## 4.11.1 (April 11, 2021)
13
+#### Bugfix
14
+* Fixed broken import in `react-devtools-inline` for feature flags file ([bvaughn](https://github.com/bvaughn) in [#21235](https://github.com/facebook/react/issues/21235))
15
+
16
## 4.11.0 (April 9, 2021)
17
#### Bugfix
18
* `$r` should contain hooks property when it is `forwardRef` or `memo` component ([meowtec](https://github.com/meowtec) in [#20626](https://github.com/facebook/react/pull/20626))