Skip to content

Commit

Permalink
Use dart sass (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Oct 24, 2023
1 parent 7337e1a commit 615eacf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
[build.environment]
PYTHON_VERSION = "3.8" # netlify currently only support 2.7 and 3.8
HUGO_VERSION = "0.119.0"
DART_SASS_VERSION = "1.69.4"
DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/"

[build]
base = "/"
publish = "public"
command = """\
export DART_SASS_TARBALL="dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" && \
curl -LJO ${DART_SASS_URL}/${DART_SASS_VERSION}/${DART_SASS_TARBALL} && \
tar -xf ${DART_SASS_TARBALL} && \
rm ${DART_SASS_TARBALL} && \
export PATH=/opt/build/repo/doc/dart-sass:$PATH && \
make html-all \
"""

[[plugins]]
package = "netlify-plugin-checklinks"

0 comments on commit 615eacf

Please sign in to comment.