Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use different compression/mangle settings in dev vs prod? #10

Open
dwickern opened this issue Apr 3, 2015 · 0 comments
Open

Comments

@dwickern
Copy link

dwickern commented Apr 3, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant