diff --git a/.gitignore b/.gitignore index e09a007..032eeec 100644 --- a/.gitignore +++ b/.gitignore @@ -8,9 +8,10 @@ # npm node_modules -# Don't include the compiled main.js file in the repo. +# Don't include the build artifacts in the repo. # They should be uploaded to GitHub releases instead. main.js +dist/ # Exclude sourcemaps *.map diff --git a/package.json b/package.json index 3ada219..b564dd3 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "node esbuild.config.mjs", "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production", - "version": "node version-bump.mjs && git add manifest.json versions.json" + "version": "node version-bump.mjs && npm run build && git add manifest.json versions.json" }, "keywords": [], "author": "",