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:
parent
9db6eb88c9
commit
4290be965e
@ -22,7 +22,6 @@ for index in $indexes; do
|
|||||||
echo "[dist] $index -> $file"
|
echo "[dist] $index -> $file"
|
||||||
npx node-sass --include-path=$root index.scss > "$root/$file"
|
npx node-sass --include-path=$root index.scss > "$root/$file"
|
||||||
npx cssstats "$root/$file" > "$root/$outdir/$name.json"
|
npx cssstats "$root/$file" > "$root/$outdir/$name.json"
|
||||||
echo "module.exports = {cssstats: require('./$name.json')}" > "$root/$outdir/$name.js"
|
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
done
|
done
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user