duplo-1.6.19: Frontend development build tool

Safe HaskellNone
LanguageHaskell2010

Development.Duplo.Markups

Synopsis

Documentation

rewriteIncludes :: FilePath -> [File] -> File -> File Source

Rewrite paths to external files (i.e. include statements) because Jade doesn't accept more than one path to look up includes. It is passed all the files to be compiled and a file whose include statements are to be rewritten. The current working directory

rewriteInclude :: ComponentId -> String -> String Source

Given a component ID and a content line, rewrite if it is an include statement to be relative to project root