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
  25b7b10b_b16c_e942_5e0e_7d0469fa768b["tsup.config.ts"]
  802fc32b_3cd5_4ae2_dea5_16961c471c70["tsup"]
  25b7b10b_b16c_e942_5e0e_7d0469fa768b --> 802fc32b_3cd5_4ae2_dea5_16961c471c70
  style 25b7b10b_b16c_e942_5e0e_7d0469fa768b 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',
    '@babel/parser',
    'chalk',
    'fast-glob',
    'ora',
    'yargs',
    'zod',
    'zod/v4',
    'zod-validation-error',
    'zod-validation-error/v4',
  ],
  splitting: false,
  sourcemap: false,
  dts: false,
  bundle: true,
  format: 'cjs',
  platform: 'node',
  banner: {
    js: `#!/usr/bin/env node

/**
 * 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/react-compiler-healthcheck/tsup.config.ts (directory: compiler/packages/react-compiler-healthcheck).

Analyze Your Own Codebase

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

Try Supermodel Free