Skip to content

Commit

Permalink
Use dart sass (#538)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Nov 7, 2023
1 parent e715f64 commit de304ff
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion 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"
HUGO_VERSION = "0.120.3"
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/dart-sass:$PATH && \
make html \
"""

[[redirects]]
from = "/scipylib"
Expand Down

0 comments on commit de304ff

Please sign in to comment.