Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Possible fix for react-devtools-core break
Browse files Browse the repository at this point in the history
Some time ago, when updating Babel and Webpack (PR #1235) the 'libraryTarget' Webpack setting was accidentally changed from 'umd' to default (global) which, I believe, caused the subsequent 3.5.0 react-devtools/react-devtools-core releases to break. This change restores the 'libraryTarget' value to 'umd' for the backend.'
git status
  • Loading branch information
Brian Vaughn committed Jan 4, 2019
1 parent b2c1ae6 commit bcf6b1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-devtools-core",
"version": "3.5.0",
"version": "3.5.1",
"description": "Use react-devtools outside of the browser",
"main": "./build/backend.js",
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions packages/react-devtools-core/webpack.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ module.exports = {
output: {
path: __dirname + '/build',
filename: '[name].js',
library: '[name]',
libraryTarget: 'umd',
},
plugins: __DEV__ ? [] : [
// Ensure we get production React
Expand Down
4 changes: 2 additions & 2 deletions packages/react-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-devtools",
"version": "3.5.0",
"version": "3.5.1",
"description": "Use react-devtools outside of the browser",
"repository": {
"url": "https://github.com/facebook/react-devtools.git",
Expand All @@ -26,7 +26,7 @@
"electron": "^1.8.7",
"ip": "^1.1.4",
"minimist": "^1.2.0",
"react-devtools-core": "^3.5.0",
"react-devtools-core": "^3.5.1",
"update-notifier": "^2.1.0"
}
}

0 comments on commit bcf6b1a

Please sign in to comment.