packages feed

happstack-yui-7351.0.0: src/Happstack/Server/YUI/Bundle.hs

{-# LANGUAGE TemplateHaskell #-}

module Happstack.Server.YUI.Bundle where

import Data.ByteString (ByteString)
import Data.FileEmbed  (embedDir)
import Data.Map        (Map, fromList)

-- | Maps the filenames of the bundled YUI build to their contents.
bundle :: Map FilePath ByteString
bundle = fromList $(embedDir "bundle")