Skip to content

Commit

Permalink
Do not minify esbuild debug builds (#1941)
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz authored Oct 12, 2023
1 parent 3a44bcc commit a5b689f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ fun Project.configureEsbuild() {
addAll(esbuildCmd)
//add("--watch",)
add("--bundle")
add("--minify")
add("--sourcemap=external")
if (!debug) {
add("--minify")
add("--sourcemap=external")
}
add(jsPath)
add("--outfile=$output")
// @TODO: Close this command on CTRL+C
Expand Down

0 comments on commit a5b689f

Please sign in to comment.