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

babel.config.js — react Source File

Architecture documentation for babel.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 = {
  presets: ['@babel/preset-env', '@babel/preset-typescript'],
  plugins: [
    ['@babel/plugin-transform-private-property-in-object', {loose: true}],
    ['@babel/plugin-transform-class-properties', {loose: true}],
  ],
};

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free