We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e84ba3 commit cffa250Copy full SHA for cffa250
1 file changed
script/stores_build.sh
@@ -8,17 +8,18 @@ stores_build() {
8
export INLINE_RUNTIME_CHUNK=false
9
export GENERATE_SOURCEMAP=false
10
11
+ rm -f source_code.zip
12
+ rm -f extension.zip
13
+
14
react-scripts build
15
16
mkdir -p dist
17
cp -r build/* dist
- cd dist
18
echo 'zipping the dist'
- zip -r extension.zip * -x "*.DS_Store"
- cd ..
19
- rm source_code.zip
+ zip -r extension.zip dist/* -x "*.DS_Store"
20
21
echo 'zipping the source code for Firefox'
- zip -r source_code.zip 'public/' 'src' 'LICENCE' 'package.json' 'yarn.lock' 'README.md'
22
+ zip -r source_code.zip 'public/' 'script/' 'src' 'LICENCE' 'package.json' 'yarn.lock' 'README.md' -x "*.DS_Store"
23
}
24
25
stores_build
0 commit comments