I use the concatenation feature in both development (sbt run) and production (sbt dist). I want to disable compression and mangling in development and enable them in production.
I expected this to work:
pipelineStages in Assets := Seq(uglify)
UglifyKeys.compress in Assets := false
UglifyKeys.mangle in Assets := false
UglifyKeys.compress := true
UglifyKeys.mangle := true
But the plugin doesn't scope compress and mangle so they are always true.