1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 01:04:04 +03:00

dist: skip <index>.js (just do .json)

This commit is contained in:
Shawn Allen 2019-02-07 16:12:08 -08:00
parent 9db6eb88c9
commit 4290be965e

View File

@ -22,7 +22,6 @@ for index in $indexes; do
echo "[dist] $index -> $file"
npx node-sass --include-path=$root index.scss > "$root/$file"
npx cssstats "$root/$file" > "$root/$outdir/$name.json"
echo "module.exports = {cssstats: require('./$name.json')}" > "$root/$outdir/$name.js"
popd > /dev/null
done
popd > /dev/null