PHP 7.4.33
Preview: index.js Size: 933 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/@react-native/debugger-frontend/index.js
/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 * @flow strict-local
 * @noformat
 */

const path = require('path');

let frontEndPath = path.join(__dirname, 'dist', 'third-party', 'front_end');

if (process.env.REACT_NATIVE_DEBUGGER_FRONTEND_PATH != null) {
  frontEndPath = process.env.REACT_NATIVE_DEBUGGER_FRONTEND_PATH;
  const ANSI_YELLOW = '\x1b[33m';
  const ANSI_GREY = '\x1b[90m';
  const ANSI_WHITE = '\x1b[37m';
  const ANSI_RESET = '\x1b[0m';
  console.warn(
    '\n' +
      ANSI_YELLOW +
      'Using custom debugger frontend path from ' +
      ANSI_WHITE +
      'process.env.REACT_NATIVE_DEBUGGER_FRONTEND_PATH' +
      ANSI_YELLOW +
      ': ' +
      ANSI_GREY +
      frontEndPath +
      ANSI_RESET +
      '\n',
  );
}

module.exports = (frontEndPath /*: string */);

Directory Contents

Dirs: 1 × Files: 4
Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2025-03-28 11:04:33
Edit Download
367 B lrw-r--r-- 2025-03-28 11:04:33
Edit Download
933 B lrw-r--r-- 2025-03-28 11:04:33
Edit Download
649 B lrw-r--r-- 2025-03-28 11:04:33
Edit Download
1.44 KB lrw-r--r-- 2025-03-28 11:04:33
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).