Skip to content

Commit 952decc

Browse files
committed
exclude unecessary files from chrome/firefox
1 parent 97f774b commit 952decc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

script/build-chrome.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ yarn build:ext
2222

2323
# Zip the distribution folder
2424
echo 'Zip the extension'
25-
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" && cd ..
25+
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..

script/build-firefox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ yarn build:ext
2727

2828
# Zip the distribution folder
2929
echo 'Zip the extension'
30-
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" && cd ..
30+
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..
3131

3232
#
3333
echo 'Zip the source code'

0 commit comments

Comments
 (0)