diff --git a/scripts/make-release.mjs b/scripts/make-release.mjs index 99ab235a3..b3f0eea4d 100644 --- a/scripts/make-release.mjs +++ b/scripts/make-release.mjs @@ -12,7 +12,7 @@ const changelogPath = `${root}/changelog.yml`; const releasesPath = `${root}/../AugmentedSteam_releases/`; const options = (new Command()) - .option("--rewrite", "Rewrite existing release", false) + .option("--force", "Overwrite existing release", false) .parse() .opts(); @@ -39,7 +39,7 @@ if (fs.existsSync(releaseDir)) { function copySource() { const toCopy = [ "badges", - "config", + "scripts", "tsconfig.json", "src", ".eslintrc.json", diff --git a/scripts/tools/builder.mjs b/scripts/tools/builder.mjs index 1c6f49e4d..aef873604 100644 --- a/scripts/tools/builder.mjs +++ b/scripts/tools/builder.mjs @@ -141,7 +141,7 @@ export default async function(options) { assetNames: "[dir]/[name]", bundle: true, minify: !options.dev, - sourcemap: options.dev, + sourcemap: true, splitting: false, mainFields: ["svelte", "browser", "module", "main"], conditions: ["svelte", "browser"],