PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/metro/src

Просмотр файла: cli.js.flow

#!/usr/bin/env node
/**
 * 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
 * @format
 * @oncall react_native
 */

/* eslint-disable import/no-commonjs */

'use strict';

try {
  // $FlowFixMe[untyped-import]
  require('metro-babel-register').unstable_registerForMetroMonorepo();
} catch {}

const {attachMetroCli} = require('./index');
const yargs = require('yargs');

// $FlowFixMe[unused-promise]
attachMetroCli(yargs.demandCommand(1)).argv;

Выполнить команду


Для локальной разработки. Не используйте в интернете!