Skip to content

Instantly share code, notes, and snippets.

@pojntfx
Created June 20, 2024 03:27
Show Gist options
  • Save pojntfx/ee959155083dba936a8f698d0c10f121 to your computer and use it in GitHub Desktop.
Save pojntfx/ee959155083dba936a8f698d0c10f121 to your computer and use it in GitHub Desktop.
Use `dart-sass` on Vercel with Hugo
  • In environment variables, set: HUGO_VERSION=0.121.2
  • Use curl -L https://git.io/vQhTU | bash -s -- --version 1.22.4 && curl -L https://shorturl.at/cwSIl | tar -xzvf - -C /tmp && export PATH=$PATH:/tmp/dart-sass && source ~/.bashrc && make depend && make build-pwa/ps-pwa as the build command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment