Bug 1874363 - [devtools] Remove build-debugger redux mappings. r=devtools-reviewers,ochameau.

Differential Revision: https://phabricator.services.mozilla.com/D198414
This commit is contained in:
Nicolas Chevobbe 2024-01-16 08:31:01 +00:00
Родитель ccad545aeb
Коммит c1d232e118
5 изменённых файлов: 10 добавлений и 5 удалений

Просмотреть файл

@ -9,7 +9,10 @@
* @module utils/create-store * @module utils/create-store
*/ */
import { createStore, applyMiddleware } from "redux"; import {
createStore,
applyMiddleware,
} from "devtools/client/shared/vendor/redux";
import { waitUntilService } from "./middleware/wait-service"; import { waitUntilService } from "./middleware/wait-service";
import { log } from "./middleware/log"; import { log } from "./middleware/log";
import { promise } from "./middleware/promise"; import { promise } from "./middleware/promise";

Просмотреть файл

@ -5,7 +5,7 @@
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import React, { PureComponent } from "react"; import React, { PureComponent } from "react";
import { div } from "react-dom-factories"; import { div } from "react-dom-factories";
import { bindActionCreators } from "redux"; import { bindActionCreators } from "devtools/client/shared/vendor/redux";
import ReactDOM from "react-dom"; import ReactDOM from "react-dom";
import { connect } from "../../utils/connect"; import { connect } from "../../utils/connect";

Просмотреть файл

@ -3,7 +3,10 @@
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
import React from "react"; import React from "react";
import { bindActionCreators, combineReducers } from "redux"; import {
bindActionCreators,
combineReducers,
} from "devtools/client/shared/vendor/redux";
import ReactDOM from "react-dom"; import ReactDOM from "react-dom";
const { Provider } = require("react-redux"); const { Provider } = require("react-redux");

Просмотреть файл

@ -7,7 +7,7 @@
* @module utils/test-head * @module utils/test-head
*/ */
import { combineReducers } from "redux"; import { combineReducers } from "devtools/client/shared/vendor/redux";
import reducers from "../reducers"; import reducers from "../reducers";
import actions from "../actions"; import actions from "../actions";
import * as selectors from "../selectors"; import * as selectors from "../selectors";

Просмотреть файл

@ -13,7 +13,6 @@ const mappings = {
"react-dom": "devtools/client/shared/vendor/react-dom", "react-dom": "devtools/client/shared/vendor/react-dom",
"react-dom-factories": "devtools/client/shared/vendor/react-dom-factories", "react-dom-factories": "devtools/client/shared/vendor/react-dom-factories",
"react-redux": "devtools/client/shared/vendor/react-redux", "react-redux": "devtools/client/shared/vendor/react-redux",
redux: "devtools/client/shared/vendor/redux",
"prop-types": "devtools/client/shared/vendor/react-prop-types", "prop-types": "devtools/client/shared/vendor/react-prop-types",
"wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser", "wasmparser/dist/cjs/WasmParser": "devtools/client/shared/vendor/WasmParser",
"wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis", "wasmparser/dist/cjs/WasmDis": "devtools/client/shared/vendor/WasmDis",