Skip to content

Commit

Permalink
feat(esbuild): disable minify for all (#5000)
Browse files Browse the repository at this point in the history
This makes the build/index.js size increases from 2.1M to 3.9M, but benefits with clear traces lines infos for debugging
  • Loading branch information
fannheyward committed Apr 29, 2024
1 parent 784ce14 commit 82ca3c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ async function start() {
await require('esbuild').build({
entryPoints: ['index.js'],
bundle: true,
minify: process.env.NODE_ENV === 'production',
sourcemap: process.env.NODE_ENV === 'development',
define: {
REVISION: '"' + revision + '"',
Expand Down

0 comments on commit 82ca3c9

Please sign in to comment.