diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs index dd37fe4..40ed81e 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -14,14 +14,14 @@ main = hakyllWith configuration $ do route idRoute compile copyFileCompiler - match "design/*" $ do + match "design/**" $ do route $ customRoute $ const "main.css" compile $ do filePath <- getResourceFilePath unsafeCompiler (readProcess "runghc" [ filePath ] "") >>= makeItem - match "js/*" $ do + match "js/src/**" $ do route $ customRoute $ const "main.js" compile $ unsafeCompiler (readProcess "pulp" [ "build", "--optimise", "--src-path", "js" ] "") |