diff --git a/scripts/rollup/shims/facebook-www/ReactFiberErrorLogger.js b/scripts/rollup/shims/facebook-www/ReactFiberErrorLogger.js index f6a78cbc83..4658bc9fe2 100644 --- a/scripts/rollup/shims/facebook-www/ReactFiberErrorLogger.js +++ b/scripts/rollup/shims/facebook-www/ReactFiberErrorLogger.js @@ -15,13 +15,5 @@ const { __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, } = require('ReactDOM-fb'); -// TODO: remove this when we delete Stack -const ReactFiberErrorLoggerStackShim = { - injection: { - injectDialog() {}, - }, -}; - module.exports = - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactFiberErrorLogger || - ReactFiberErrorLoggerStackShim; + __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactFiberErrorLogger; diff --git a/scripts/rollup/shims/facebook-www/ReactPerf.js b/scripts/rollup/shims/facebook-www/ReactPerf.js deleted file mode 100644 index 699d6a35b1..0000000000 --- a/scripts/rollup/shims/facebook-www/ReactPerf.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright 2013-present, Facebook, Inc. - * All rights reserved. - * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. - * - * @providesModule ReactPerf - */ - -'use strict'; - -const emptyFunction = require('fbjs/lib/emptyFunction'); -const { - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, -} = require('ReactDOM-fb'); - -// TODO: remove this whole module when we delete Stack -const ReactPerfFiberShim = { - getLastMeasurements: emptyFunction, - getExclusive: emptyFunction, - getInclusive: emptyFunction, - getWasted: emptyFunction, - getOperations: emptyFunction, - printExclusive: emptyFunction, - printInclusive: emptyFunction, - printWasted: emptyFunction, - printOperations: emptyFunction, - start: emptyFunction, - stop: emptyFunction, - isRunning: emptyFunction, - printDOM: emptyFunction, - getMeasurementsSummaryMap: emptyFunction, -}; - -module.exports = - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactPerf || - ReactPerfFiberShim;