Home / File/ server.mjs — react Source File

server.mjs — react Source File

Architecture documentation for server.mjs, a javascript file in the react codebase. 2 imports, 1 dependents.

File javascript BabelCompiler 2 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  5484aafd_f24c_2baf_6ad6_48c3d4e418a9["server.mjs"]
  b402a0fc_00db_e86d_b1ea_ad4f8e9faaca["path"]
  5484aafd_f24c_2baf_6ad6_48c3d4e418a9 --> b402a0fc_00db_e86d_b1ea_ad4f8e9faaca
  f1eacfc5_abd5_28ac_35ad_cf5f65bdf7b7["url"]
  5484aafd_f24c_2baf_6ad6_48c3d4e418a9 --> f1eacfc5_abd5_28ac_35ad_cf5f65bdf7b7
  cb6f354e_2376_05bf_7c22_9b78bef9a9fc["build.mjs"]
  cb6f354e_2376_05bf_7c22_9b78bef9a9fc --> 5484aafd_f24c_2baf_6ad6_48c3d4e418a9
  style 5484aafd_f24c_2baf_6ad6_48c3d4e418a9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * 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.
 */

import path from 'path';
import {fileURLToPath} from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

export const entryPoint = path.join(__dirname, '../server/src/index.ts');
export const outfile = path.join(__dirname, '../dist/server.js');
export const config = {
  entryPoints: [entryPoint],
  outfile,
  bundle: true,
  external: ['vscode'],
  format: 'cjs',
  platform: 'node',
  banner: {
    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.
 *
 * @lightSyntaxTransform
 * @noflow
 * @nolint
 * @preventMunge
 * @preserve-invariant-messages
 */

`,
  },
};

Domain

Dependencies

  • path
  • url

Frequently Asked Questions

What does server.mjs do?
server.mjs is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does server.mjs depend on?
server.mjs imports 2 module(s): path, url.
What files import server.mjs?
server.mjs is imported by 1 file(s): build.mjs.
Where is server.mjs in the architecture?
server.mjs is located at compiler/packages/react-forgive/scripts/server.mjs (domain: BabelCompiler, directory: compiler/packages/react-forgive/scripts).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free