Created
May 20, 2015 14:21
-
-
Save rtfpessoa/a4206395f9e03efde147 to your computer and use it in GitHub Desktop.
PlayFramework UI Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val uiSettings: Seq[Def.Setting[_]] = Seq( | |
JsEngineKeys.engineType := JsEngineKeys.EngineType.Node, | |
includeFilter in gzip := "*.html" || "*.css" || "*.js", | |
DigestKeys.algorithms += "sha1", | |
includeFilter in digest := "*.html" || "*.css" || "*.js", | |
UglifyKeys.mangle := false, | |
pipelineStages := Seq(uglify, digest, gzip), | |
LessKeys.compress in Assets := true, | |
includeFilter in(Assets, LessKeys.less) := "*.less", | |
excludeFilter in(Assets, LessKeys.less) := "_*.less" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment