diff options
-rw-r--r-- | src/Text/Hakyll/Render.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Hakyll/Render.hs b/src/Text/Hakyll/Render.hs index 7e9d55c..d9dc7f5 100644 --- a/src/Text/Hakyll/Render.hs +++ b/src/Text/Hakyll/Render.hs @@ -75,4 +75,5 @@ css source = depends destination [source] css' where destination = toDestination source css' = do h <- openFile source ReadMode contents <- hGetContents h + makeDirectories destination writeFile destination (compressCSS contents) |