@javascript javascript annotation how to obfuscate

i use @javascript annotation to include some js files i wrote in my application.

Is there a way (some vaadin parameter or options to specified in the annotation) to obfuscate the js before it is include.
And the best, if it could obfuscate in production mode, and let the original js in dev mode ?