Skip to content

Commit

Permalink
Bug 1874363 - [devtools] Remove build-debugger react-redux mappings. …
Browse files Browse the repository at this point in the history
…r=devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D198415
  • Loading branch information
nchevobbe committed Jan 16, 2024
1 parent 09c6e8d commit bd4685b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

import React from "react";
import { Provider } from "react-redux";
import { Provider } from "devtools/client/shared/vendor/react-redux";
import configureStore from "redux-mock-store";
import { shallow, mount } from "enzyme";
import { getDisplayURL } from "../../utils/sources-tree/getURL";
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/debugger/src/utils/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
combineReducers,
} from "devtools/client/shared/vendor/redux";
import ReactDOM from "react-dom";
const { Provider } = require("react-redux");
const { Provider } = require("devtools/client/shared/vendor/react-redux");

import ToolboxProvider from "devtools/client/framework/store-provider";
import flags from "devtools/shared/flags";
Expand Down
2 changes: 1 addition & 1 deletion devtools/client/debugger/src/utils/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */

import { connect as reduxConnect } from "react-redux";
import { connect as reduxConnect } from "devtools/client/shared/vendor/react-redux";

export const connect = reduxConnect;
1 change: 0 additions & 1 deletion devtools/client/shared/build/build-debugger.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const mappings = {
react: "devtools/client/shared/vendor/react",
"react-dom": "devtools/client/shared/vendor/react-dom",
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
"react-redux": "devtools/client/shared/vendor/react-redux",
"prop-types": "devtools/client/shared/vendor/react-prop-types",
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",
Expand Down

0 comments on commit bd4685b

Please sign in to comment.