Skip to content

Commit ecd590b

Browse files
committed
Enable minification
1 parent af46dd3 commit ecd590b

File tree

1 file changed

+6
-0
lines changed
  • packages/@tailwindcss-standalone/scripts

1 file changed

+6
-0
lines changed

packages/@tailwindcss-standalone/scripts/build.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ for (let { target, name } of builds) {
3131
let result = await Bun.build({
3232
entrypoints: ['./src/index.ts'],
3333
target: 'node',
34+
minify: {
35+
whitespace: false,
36+
syntax: true,
37+
identifiers: false,
38+
keepNames: true,
39+
},
3440

3541
define: {
3642
// This ensures only necessary binaries are bundled for linux targets

0 commit comments

Comments
 (0)