Fixed broken feature flag import for DT inline package (#21237)

This commit is contained in:
Brian Vaughn
2021-04-11 14:59:52 -04:00
committed by GitHub
parent bb88ce95a8
commit 9d48779b36
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-devtools-inline",
"version": "4.11.0",
"version": "4.11.1",
"description": "Embed react-devtools within a website",
"license": "MIT",
"main": "./dist/backend.js",
@@ -33,11 +33,15 @@ module.exports = {
react: 'react',
// TODO: Once this package is published, remove the external
// 'react-debug-tools': 'react-debug-tools',
'react-devtools-feature-flags': resolveFeatureFlags('inline'),
'react-dom': 'react-dom',
'react-is': 'react-is',
scheduler: 'scheduler',
},
resolve: {
alias: {
'react-devtools-feature-flags': resolveFeatureFlags('inline'),
},
},
optimization: {
minimize: false,
},
+4
View File
@@ -9,6 +9,10 @@
<!-- Upcoming changes go here -->
</details>
## 4.11.1 (April 11, 2021)
#### Bugfix
* 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))
## 4.11.0 (April 9, 2021)
#### Bugfix
* `$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))