diff --git a/packages/@tailwindcss-node/tsup.config.ts b/packages/@tailwindcss-node/tsup.config.ts index 3f2d184d54be..a8f6b091f381 100644 --- a/packages/@tailwindcss-node/tsup.config.ts +++ b/packages/@tailwindcss-node/tsup.config.ts @@ -3,6 +3,7 @@ import { defineConfig } from 'tsup' export default defineConfig([ { format: ['cjs'], + clean: true, minify: true, dts: true, entry: ['src/index.cts'], @@ -12,6 +13,7 @@ export default defineConfig([ }, { format: ['esm'], + clean: true, minify: true, dts: true, entry: ['src/index.ts'], @@ -21,6 +23,7 @@ export default defineConfig([ }, { format: ['esm'], + clean: true, minify: true, dts: true, entry: ['src/esm-cache.loader.mts'], @@ -30,6 +33,7 @@ export default defineConfig([ }, { format: ['cjs'], + clean: true, minify: true, dts: true, entry: ['src/require-cache.cts'], diff --git a/packages/@tailwindcss-postcss/tsup.config.ts b/packages/@tailwindcss-postcss/tsup.config.ts index 684c072ac854..a1bf23c089a6 100644 --- a/packages/@tailwindcss-postcss/tsup.config.ts +++ b/packages/@tailwindcss-postcss/tsup.config.ts @@ -3,6 +3,7 @@ import { defineConfig } from 'tsup' export default defineConfig([ { format: ['esm'], + clean: true, minify: true, cjsInterop: true, dts: true, @@ -10,6 +11,7 @@ export default defineConfig([ }, { format: ['cjs'], + clean: true, minify: true, cjsInterop: true, dts: true, diff --git a/packages/tailwindcss/tsup.config.ts b/packages/tailwindcss/tsup.config.ts index 6bc831056de8..3571099e82c1 100644 --- a/packages/tailwindcss/tsup.config.ts +++ b/packages/tailwindcss/tsup.config.ts @@ -3,6 +3,7 @@ import { defineConfig } from 'tsup' export default defineConfig([ { format: ['esm'], + clean: true, minify: true, dts: true, entry: { @@ -18,6 +19,7 @@ export default defineConfig([ }, { format: ['cjs'], + clean: true, minify: true, dts: true, entry: {