Skip to content

Instantly share code, notes, and snippets.

@danclien
Created December 30, 2015 22:18
Show Gist options
  • Save danclien/b86f7f78305b81bb8962 to your computer and use it in GitHub Desktop.
Save danclien/b86f7f78305b81bb8962 to your computer and use it in GitHub Desktop.
Example usage of `hakyll-sass`
{-# LANGUAGE OverloadedStrings #-}
import Data.Monoid (mappend)
import Hakyll
import Hakyll.Web.Sass (sassCompiler)
main :: IO ()
main = hakyll $ do
match "scss/*" $ do
route $ setExtension "css"
compile sassCompiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment