Sets the config to compile and minify js.