Skip to content

Commit

Permalink
Fixed broken feature flag import for DT inline package (#21237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Apr 11, 2021
1 parent bb88ce9 commit 9d48779
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-inline/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 5 additions & 1 deletion packages/react-devtools-inline/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
4 changes: 4 additions & 0 deletions packages/react-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9d48779

Please sign in to comment.