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

tsup.config.ts — tailwindcss Source File

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

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  429f98c5_09f6_f5ce_b480_4b083bdcc30b["tsup.config.ts"]
  6ad14076_4211_31a3_1809_85b8f76bbed0["tsup"]
  429f98c5_09f6_f5ce_b480_4b083bdcc30b --> 6ad14076_4211_31a3_1809_85b8f76bbed0
  style 429f98c5_09f6_f5ce_b480_4b083bdcc30b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { defineConfig } from 'tsup'

export default defineConfig({
  format: ['iife'],
  clean: true,
  minify: true,
  entry: ['src/index.ts'],
  noExternal: [/.*/],
  loader: {
    '.css': 'text',
  },
  define: {
    'process.env.NODE_ENV': '"production"',
    'process.env.FEATURES_ENV': '"stable"',
  },
  esbuildPlugins: [
    {
      name: 'patch-intellisense-apis',
      setup(build) {
        build.onLoad({ filter: /intellisense.ts$/ }, () => {
          return {
            contents: `
              export function getClassList() { return [] }
              export function getVariants() { return [] }
              export function canonicalizeCandidates() { return [] }
            `,
          }
        })
      },
    },
  ],
})

Dependencies

  • tsup

Frequently Asked Questions

What does tsup.config.ts do?
tsup.config.ts is a source file in the tailwindcss 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 packages/@tailwindcss-browser/tsup.config.ts (directory: packages/@tailwindcss-browser).

Analyze Your Own Codebase

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

Try Supermodel Free