added minification when not in debug mode

this makes the client bundle a lot smaller in production setups.