Skip to content

Commit b4319ad

Browse files
committed
refactor: update build configuration to disable minification and enable linked sourcemaps for improved debugging
1 parent 41747e3 commit b4319ad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

apps/backend/scripts/build.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ const result = await build({
1515
entrypoints: ['./src/main.ts'],
1616
outdir: './dist',
1717
target: 'bun',
18-
minify: {
19-
syntax: true,
20-
whitespace: true,
21-
},
18+
minify: false,
19+
sourcemap: 'linked',
2220
external: optionalRequirePackages.filter((pkg) => {
2321
try {
2422
require(pkg);

0 commit comments

Comments
 (0)