use minified file based on config