PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/metro/src/integration_tests/basic_bundle/require-context
Просмотр файла: conflict.js.flow
/**
* 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.
*
* @format
* @flow strict-local
*/
import type {RequireWithContext} from './utils';
import {copyContextToObject} from './utils';
const normalModule = require('./subdir-conflict');
declare var require: RequireWithContext;
const contextModule = require.context<$FlowFixMe>('./subdir-conflict');
function main() {
return {
normalModule,
contextModule: copyContextToObject(contextModule),
};
}
module.exports = (main(): mixed);
Выполнить команду
Для локальной разработки. Не используйте в интернете!