From 9a36ce56d5b5728f820f62da1e0b44b79107f89a Mon Sep 17 00:00:00 2001 From: 5jiji Date: Wed, 10 Jul 2024 20:40:56 +0200 Subject: [PATCH] Adds sourcemaps to the minified output --- build.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.mjs b/build.mjs index 882584900..4e442504e 100644 --- a/build.mjs +++ b/build.mjs @@ -37,7 +37,8 @@ const result = await esbuild.build({ bundle: true, minify: true, outdir: "dist", - outbase: "src/client" + outbase: "src/client", + sourcemap: true }); console.log(result);