Skip to content

Commit 9d48779

Browse files
author
Brian Vaughn
authored
Fixed broken feature flag import for DT inline package (facebook#21237)
1 parent bb88ce9 commit 9d48779

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

packages/react-devtools-inline/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-devtools-inline",
3-
"version": "4.11.0",
3+
"version": "4.11.1",
44
"description": "Embed react-devtools within a website",
55
"license": "MIT",
66
"main": "./dist/backend.js",

packages/react-devtools-inline/webpack.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@ module.exports = {
3333
react: 'react',
3434
// TODO: Once this package is published, remove the external
3535
// 'react-debug-tools': 'react-debug-tools',
36-
'react-devtools-feature-flags': resolveFeatureFlags('inline'),
3736
'react-dom': 'react-dom',
3837
'react-is': 'react-is',
3938
scheduler: 'scheduler',
4039
},
40+
resolve: {
41+
alias: {
42+
'react-devtools-feature-flags': resolveFeatureFlags('inline'),
43+
},
44+
},
4145
optimization: {
4246
minimize: false,
4347
},

packages/react-devtools/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<!-- Upcoming changes go here -->
1010
</details>
1111

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+
1216
## 4.11.0 (April 9, 2021)
1317
#### Bugfix
1418
* `$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))

0 commit comments

Comments
 (0)