Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PlayFramework UI Settings
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