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
  54ea11f2_9a96_bfdb_d278_79a0183a95f7["tsup.config.ts"]
  802fc32b_3cd5_4ae2_dea5_16961c471c70["tsup"]
  54ea11f2_9a96_bfdb_d278_79a0183a95f7 --> 802fc32b_3cd5_4ae2_dea5_16961c471c70
  style 54ea11f2_9a96_bfdb_d278_79a0183a95f7 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: ['react'],
  splitting: false,
  sourcemap: true,
  dts: false,
  bundle: true,
  format: 'cjs',
  platform: 'node',
  target: 'es2015',
  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/react-compiler-runtime/tsup.config.ts (directory: compiler/packages/react-compiler-runtime).

Analyze Your Own Codebase

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

Try Supermodel Free