tsup.config.ts — tailwindcss Source File
Architecture documentation for tsup.config.ts, a typescript file in the tailwindcss codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 7cfcacf3_19ca_f94a_5025_8d46de8ef73a["tsup.config.ts"] 6ad14076_4211_31a3_1809_85b8f76bbed0["tsup"] 7cfcacf3_19ca_f94a_5025_8d46de8ef73a --> 6ad14076_4211_31a3_1809_85b8f76bbed0 style 7cfcacf3_19ca_f94a_5025_8d46de8ef73a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { defineConfig } from 'tsup'
export default defineConfig([
{
format: ['esm'],
minify: true,
dts: true,
entry: {
lib: 'src/index.ts',
plugin: 'src/plugin.ts',
colors: 'src/compat/colors.ts',
'default-theme': 'src/compat/default-theme.ts',
'flatten-color-palette': 'src/compat/flatten-color-palette.ts',
},
define: {
'process.env.FEATURES_ENV': JSON.stringify(process.env.FEATURES_ENV ?? 'insiders'),
},
},
{
format: ['cjs'],
minify: true,
dts: true,
entry: {
plugin: 'src/plugin.cts',
lib: 'src/index.cts',
colors: 'src/compat/colors.cts',
'default-theme': 'src/compat/default-theme.cts',
'flatten-color-palette': 'src/compat/flatten-color-palette.cts',
},
define: {
'process.env.FEATURES_ENV': JSON.stringify(process.env.FEATURES_ENV ?? 'insiders'),
},
},
])
Dependencies
- tsup
Source
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/tsup.config.ts (directory: packages/tailwindcss).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free