Home / File/ tsup.config.ts — react Source File

tsup.config.ts — react Source File

Architecture documentation for tsup.config.ts, a typescript file in the react codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  a459e8f2_987d_54ca_0cae_b66e47c66f0a["tsup.config.ts"]
  802fc32b_3cd5_4ae2_dea5_16961c471c70["tsup"]
  a459e8f2_987d_54ca_0cae_b66e47c66f0a --> 802fc32b_3cd5_4ae2_dea5_16961c471c70
  style a459e8f2_987d_54ca_0cae_b66e47c66f0a 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 {defineConfig} from 'tsup';

export default defineConfig({
  entry: ['./src/index.ts'],
  outDir: './dist',
  external: [
    '@babel/core',
    'hermes-parser',
    'zod',
    'zod/v4',
    'zod-validation-error',
    'zod-validation-error/v4',
  ],
  splitting: false,
  sourcemap: false,
  dts: false,
  bundle: true,
  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
 */

"use no memo";`,
  },
});

Dependencies

  • tsup

Frequently Asked Questions

What does tsup.config.ts do?
tsup.config.ts is a source file in the react codebase, written in typescript.
What does tsup.config.ts depend on?
tsup.config.ts imports 1 module(s): tsup.
Where is tsup.config.ts in the architecture?
tsup.config.ts is located at compiler/packages/eslint-plugin-react-compiler/tsup.config.ts (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