Skip to content

Commit

Permalink
fix(bundle): create and deliver scss copy of zel.css for zeppelin.com…
Browse files Browse the repository at this point in the history
… use case
  • Loading branch information
byjs-dev committed Mar 5, 2021
1 parent 18af95e commit 4f8d583
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bundlehandler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo -e "\nCopy build css file from react app build to bundle folder"
find build/static/css -name \*.css -exec cp {} $TARGET_FILE \;

# copy guidelines.json file from src to project root
echo -e "\nCopy zel.css file from bundle to project root"
echo -e "\nCopy guidelines.json file from src to project root"
cp -r src/themes/*.json .

# copy fonts into assets folder
Expand Down Expand Up @@ -91,6 +91,10 @@ fi
) >tmpfile
mv tmpfile $TARGET_FILE

# create a scss copy of zel.css (zeppelin.com use case)
echo -e "\nCreated .scss copy of zel.css"
cp -r bundle/zel.css bundle/zel.scss

# gzip files
echo -e "\ngzip bundled minified js files"
for file in bundle/*.min.js; do gzip -k -f $file; done

0 comments on commit 4f8d583

Please sign in to comment.