Skip to content

Commit 6ac2aaa

Browse files
committed
chore: update tsup configuration to disable minification
- Changed the minify option from true to false to address memory issues during build.
1 parent 1ac869c commit 6ac2aaa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tsup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cpSync } from 'node:fs';
1+
import { cpSync } from 'fs';
22

33
import { defineConfig } from 'tsup';
44

@@ -8,7 +8,7 @@ export default defineConfig({
88
splitting: false,
99
sourcemap: true,
1010
clean: true,
11-
minify: true,
11+
minify: false, // Desabilitar minify pode ajudar com problemas de memória
1212
format: ['cjs', 'esm'],
1313
onSuccess: async () => {
1414
cpSync('src/utils/translations', 'dist/translations', { recursive: true });

0 commit comments

Comments
 (0)