-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Embed preprocessed web assets in your executable with Template Haskell. -- -- Embed preprocessed web assets in your executable with Template -- Haskell. @package herringbone-embed @version 0.1.0 module Web.Herringbone.Precompile -- | Precompiles all assets. precompile :: Herringbone -> IO [(LogicalPath, AssetError)] -- | Precompile and embed all assets into your source code. Call this -- function in a Template Haskell splice. -- -- Returns: (Errors, Files) where: -- --
-- type Errors = [(LogicalPath, AssetError)] -- type Files = [(LogicalPath, ByteString)] ---- -- The second component is a mapping of filenames to file contents. embedAssets :: IO Herringbone -> Q Exp