mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-19 06:06:54 +00:00
build: improve the JS build for PWA (#1923)
This commit is contained in:
@@ -17,7 +17,6 @@ CONFIG="_config.yml"
|
||||
|
||||
CSS_DIST="_sass/dist"
|
||||
JS_DIST="assets/js/dist"
|
||||
PWA_DIST="_app"
|
||||
|
||||
FILES=(
|
||||
"$GEM_SPEC"
|
||||
@@ -118,7 +117,7 @@ build_gem() {
|
||||
|
||||
npm run build
|
||||
# add CSS/JS distribution files to gem package
|
||||
git add "$CSS_DIST" "$JS_DIST" "$PWA_DIST" -f
|
||||
git add "$CSS_DIST" "$JS_DIST" -f
|
||||
|
||||
echo -e "\n> gem build $GEM_SPEC\n"
|
||||
gem build "$GEM_SPEC"
|
||||
|
||||
Reference in New Issue
Block a user