Remove manual `env === 'production'` checks.

We already have a `enabled` flag for each, why not use it?

Also, folks may need to minify other environemnts.

Closes #1444