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 c1f864ca_8fd8_6518_c179_91f666f6d536["tsup.config.ts"] 36ffa6ff_ae83_3199_d519_e3ec27f201c3["tsup"] c1f864ca_8fd8_6518_c179_91f666f6d536 --> 36ffa6ff_ae83_3199_d519_e3ec27f201c3 style c1f864ca_8fd8_6518_c179_91f666f6d536 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
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-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