From 1a113ae0aa86377ce56b16caebd576e1712384b9 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Thu, 8 Aug 2024 10:46:57 +0100 Subject: [PATCH] fix: Internal source maps can cause warnings in hosting packages Signed-off-by: Gordon Smith --- esbuild.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbuild.mjs b/esbuild.mjs index 6512c36a..f4d7784e 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -83,7 +83,7 @@ function build(config) { isDevelopment && console.log("Start: ", config.entryPoints[0], config.outfile); return esbuild.build({ ...config, - sourcemap: "linked", + sourcemap: "external", plugins: [ ...(config.plugins ?? []), ]