Uglification would likely count as code obfuscation as it makes it not really human readable. Minification though which just remove things like whitespace, comments, and redundant/optional tokens would likely be perfectly fine though as anyone reading the code would still be able to understand its function.