Switch to scss to reduce css bundle size, switch to cyan colour theme
All checks were successful
release / Publish to Cloudflare Pages (push) Successful in 1m28s

This commit is contained in:
2025-02-20 16:28:00 +10:30
parent 639be72f4b
commit 18f7736faf
9 changed files with 579 additions and 38 deletions

View File

@@ -1,6 +1,3 @@
mkdir -p build/@picocss/pico/css/
cp -r *.png *.xml *.svg *.css *.webmanifest *.ico robots.txt _headers functions contact build
# https://github.com/cloudflare/workers-sdk/issues/3615
sed 's/node_modules\///' index.html > build/index.html
sed 's/node_modules\///' contact/index.html > build/contact/index.html
cp node_modules/@picocss/pico/css/pico.min.css build/@picocss/pico/css/
mkdir -p build/
cp -r *.png *.xml *.html *.svg *.webmanifest *.ico robots.txt _headers functions contact build
npx sass --quiet --style=compressed --no-source-map site.scss build/site.css