There's currently an aptly named environment variable, ENVIRONMENT, that needs to be set to 'production' for JS minification to occur.
Having the env variable seems a bit overkill and easy to miss (I just did), it would be much better to explicitly call the uglify() task in the build steps.
There's currently an aptly named environment variable,
ENVIRONMENT
, that needs to be set to'production'
for JS minification to occur.Having the env variable seems a bit overkill and easy to miss (I just did), it would be much better to explicitly call the
uglify()
task in the build steps.