diff --git a/packages/react-devtools-inline/package.json b/packages/react-devtools-inline/package.json index 6ad9bf82976..a7a4525ccbc 100644 --- a/packages/react-devtools-inline/package.json +++ b/packages/react-devtools-inline/package.json @@ -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", diff --git a/packages/react-devtools-inline/webpack.config.js b/packages/react-devtools-inline/webpack.config.js index 98920b3508c..6be627a6262 100644 --- a/packages/react-devtools-inline/webpack.config.js +++ b/packages/react-devtools-inline/webpack.config.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, }, diff --git a/packages/react-devtools/CHANGELOG.md b/packages/react-devtools/CHANGELOG.md index d32bff0dec2..1e9df0db7c0 100644 --- a/packages/react-devtools/CHANGELOG.md +++ b/packages/react-devtools/CHANGELOG.md @@ -9,6 +9,10 @@ +## 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))