watch: enable sourcemaps and disable minify

This commit is contained in:
Vendicated 2022-10-16 17:21:23 +02:00
parent 01ae0983b3
commit 20237f5664
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
3 changed files with 5 additions and 9 deletions

View file

@ -10,6 +10,7 @@ const nodeCommonOpts = {
format: "cjs",
platform: "node",
target: ["esnext"],
minify: true,
sourcemap: "linked",
plugins: [makeAllPackagesExternalPlugin],
};
@ -38,8 +39,6 @@ await Promise.all([
globPlugins,
gitHashPlugin
],
sourcemap: "inline",
minify: true,
define: {
IS_WEB: "false"
}