From df7718d19b55945c3927943794c16483476d6aa8 Mon Sep 17 00:00:00 2001 From: alexkoren-dev Date: Sat, 5 Aug 2023 23:23:17 +0900 Subject: [PATCH] =?UTF-8?q?build:=20=E3=81=AA=E3=82=8B=E3=81=B9=E3=81=8F?= =?UTF-8?q?=E4=BD=99=E8=A8=88=E3=81=AA=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=8C=E5=85=A5=E3=82=8A=E3=81=AB=E3=81=8F=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E3=81=97=E3=81=BE=E3=81=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 対処療法がすぎると思うので、 素直に、 [自動デプロイ · Issue #40 · ncaq/goodbye-rfc-2822-date-time](https://github.com/ncaq/goodbye-rfc-2822-date-time/issues/40) を行ったほうが良いと思います。 --- package.json | 2 +- web-ext-config.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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",