use minified in viewer