diff --git a/package.json b/package.json index a13df00..f9df94c 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint:prettier": "prettier --ignore-unknown --check '**/*.{js,jsx,ts,tsx,json,html,css,less,sass,scss,yml,yaml}'", "lint:tsc": "tsc --noEmit", "lint:web-ext": "web-ext lint", - "package": "yarn build --no-source-maps && web-ext build && yarn archive", + "package": "rm -rf dist/ && yarn build --no-source-maps && web-ext build && yarn archive", "start": "web-ext run", "watch": "parcel watch src/main.ts" }, diff --git a/web-ext-config.js b/web-ext-config.js index 3549162..c1444f3 100644 --- a/web-ext-config.js +++ b/web-ext-config.js @@ -4,7 +4,10 @@ module.exports = { filename: "goodbye-rfc-2822-date-time.zip", }, ignoreFiles: [ + "**/*.map", + "*.tar.gz", "README.md", + "build", "package.json", "src", "tsconfig.json",