aboutsummaryrefslogtreecommitdiff
path: root/build.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'build.mjs')
-rwxr-xr-xbuild.mjs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.mjs b/build.mjs
index 6459c63..0993eae 100755
--- a/build.mjs
+++ b/build.mjs
@@ -68,6 +68,7 @@ await Promise.all([
bundle: true,
platform: "node",
target: ["esnext"],
+ sourcemap: "linked",
plugins: [makeAllPackagesExternalPlugin],
watch
}),
@@ -79,6 +80,7 @@ await Promise.all([
target: ["esnext"],
external: ["electron"],
platform: "node",
+ sourcemap: "linked",
plugins: [makeAllPackagesExternalPlugin],
watch
}),
@@ -94,6 +96,7 @@ await Promise.all([
plugins: [
globPlugins
],
+ sourcemap: "inline",
watch
})
]).then(res => {