Home / File/ main.config.js — react Source File

main.config.js — react Source File

Architecture documentation for main.config.js, a javascript file in the react codebase.

Entity Profile

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

module.exports = {
  displayName: 'main',
  preset: 'ts-jest',
  rootDir: '../../src',
  testPathIgnorePatterns: ['e2e', 'TestDriver', 'test-utils', 'fixtures'],
  globals: {
    __DEV__: true,
  },
};

Frequently Asked Questions

What does main.config.js do?
main.config.js is a source file in the react codebase, written in javascript.
Where is main.config.js in the architecture?
main.config.js is located at compiler/packages/babel-plugin-react-compiler/scripts/jest/main.config.js (directory: compiler/packages/babel-plugin-react-compiler/scripts/jest).

Analyze Your Own Codebase

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

Try Supermodel Free