UNPKG

479 BJavaScriptView Raw
1/**
2 * Copyright (c) 2016-present, Facebook, Inc.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 *
8 */
9
10'use strict';
11
12// Trust the developer to only use ReactInstrumentation with a __DEV__ check
13
14var debugTool = null;
15
16if (process.env.NODE_ENV !== 'production') {
17 var ReactDebugTool = require('./ReactDebugTool');
18 debugTool = ReactDebugTool;
19}
20
21module.exports = { debugTool: debugTool };
\No newline at end of file