Skip to content

Commit

Permalink
Use npx instead of lessc
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffo99 committed Feb 21, 2025
1 parent 81f0996 commit f16a15d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ echo "@import (less) \"$rule\";" >> "$base.less"
echo >> "$base.less"

echo "Compiling $base.css..."
lessc "$base.less" "$base.css"
npx --package=less lessc "$base.less" "$base.css"
echo "Compiling $base.min.css..."
lessc "$base.less" --clean-css "$base.min.css"
npx --package=less lessc "$base.less" --clean-css "$base.min.css"

done
done

cd "$origin"
cd "$origin"

0 comments on commit f16a15d

Please sign in to comment.