module Settings.StaticFiles where import Settings (appStaticDir, compileTimeAppSettings) import Yesod.EmbeddedStatic (mkEmbeddedStatic, embedDir) import Prelude (Bool(..), ($)) #ifdef DEVELOPMENT #define DEV_BOOL True #else #define DEV_BOOL False #endif mkEmbeddedStatic DEV_BOOL "eStatic" [embedDir $ appStaticDir compileTimeAppSettings]