mirror of
https://github.com/primer/css.git
synced 2024-11-23 03:10:10 +03:00
dist: bring back dist/*.js
This commit is contained in:
parent
705f760693
commit
481d796d06
@ -21,7 +21,8 @@ for index in $indexes; do
|
||||
pushd $dir > /dev/null
|
||||
echo "[dist] $index -> $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.stats.json"
|
||||
echo "module.exports = {cssstats: require('./$name.stats.json')}" > "$root/$outdir/$name.js"
|
||||
popd > /dev/null
|
||||
done
|
||||
popd > /dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user