diff --git a/build-min b/build-min index f28b6cb..1aef87b 100755 --- a/build-min +++ b/build-min @@ -12,7 +12,7 @@ if git diff --quiet --cached style/base/reset.css; then fi # get reset.css, and remove all spaces, linebreaks, and comments -reset_min=$(perl -0pe 's|/\*.*?\*/||gs' style/base/reset.css | tr -d ' \n') +reset_min=$(npx --yes esbuild --minify style/base/reset.css) # get the contents of min.css, except for the first line # (which is the 1-line reset)