servant/servant-static/servant-static.cabal
John Lenz 977a8b0aaa RFC for embedded static resource support
This code allows to embed static content such as javascript and CSS into the executable at compile time
so that it does not need to be distributed along with the server.  In addition, this module
supports processing of these resources before they are embedded, such as javascript or CSS
minification.  Finally, there is a development mode which will recompute each resource on every
request, so allow a simple browser refresh to reload potentially changed javascript or CSS.

Documentation is in the haddock comment in Servant.Server.Embedded.hs
2016-01-23 17:45:37 -06:00

50 lines
1.4 KiB
Plaintext

name: servant-static
version: 0.1.0
build-type: Simple
cabal-version: >=1.10
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
exposed-modules: Servant.Server.Embedded.TH,
Servant.Server.Embedded.Types,
Servant.Server.Embedded.Files,
Servant.Server.Embedded.CSS,
Servant.Server.Embedded.Ghcjs,
Servant.Server.Embedded
default-extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
TupleSections
TypeFamilies
MagicHash
FlexibleContexts
DataKinds
ScopedTypeVariables
FlexibleInstances
MultiParamTypeClasses
build-depends: base
, async
, base64-bytestring
, blaze-builder
, byteable
, bytestring
, conduit
, conduit-extra
, cryptohash
, directory
, filepath
, http-types
, mime-types
, process
, servant
, servant-server
, template-haskell
, text
, wai
, zlib