Skip to content

Commit 73277d7

Browse files
committed
build(esbuild): disable minification for readable dist output
Disables minification in production builds to improve readability and debuggability of the bundled output. This makes it easier to inspect the dist code without sacrificing functionality.
1 parent cf52c72 commit 73277d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.config/esbuild.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const buildConfig = {
5757
// Minimum Node version from package.json
5858
target: 'node18',
5959
sourcemap: false,
60-
minify: true,
60+
minify: false,
6161
treeShaking: true,
6262
// For bundle analysis
6363
metafile: true,

0 commit comments

Comments
 (0)