Created
December 30, 2015 22:18
-
-
Save danclien/b86f7f78305b81bb8962 to your computer and use it in GitHub Desktop.
Example usage of `hakyll-sass`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# 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